more - look at the content of a text file page by page, by only moving forward in a file. Press q to quit.
less
less - look at the content of a text file, with more options than the more command, like line by line, up and down navigation, moving, searching, jumping.
Search is possible by using the slash - /word_to_search
Press q to quit.
# Some "less" Commands and ActionsDownarrow,Enter,e,orj-Moveforwardoneline.Uparrow,york-Movebackwardoneline.Spacebarorf-MoveForwardonepage.b-MoveBackwardonepage./pattern-Searchforwardformatchingpatterns.?pattern - Search backward for matching patterns.n-Repeatprevioussearch.N-Repeatprevioussearchinreversedirection.g-Gotothefirstlineinthefile.Ng-GototheN-thlineinthefile.G-Gotothelastlineinthefile.p-Gotothebeginningofftheile.Np-GotoNpercentintofile.h-Displayhelp.q-Exitless.
cat
cat - Concatenate or link the content of different files to standard output.
Useful when combined with redirection of the output.
cat--helpUsage:cat [OPTION]... [FILE]...ConcatenateFILE(s) tostandardoutput.WithnoFILE,orwhenFILEis-,readstandardinput.-A,--show-allequivalentto-vET-b,--number-nonblanknumbernonemptyoutputlines,overrides-n-eequivalentto-vE-E,--show-endsdisplay $ atendofeachline-n,--numbernumberalloutputlines-s,--squeeze-blanksuppressrepeatedemptyoutputlines-tequivalentto-vT-T,--show-tabsdisplayTABcharactersas^I-u (ignored)-v,--show-nonprintinguse^andM-notation,exceptforLFDandTAB--helpdisplaythishelpandexit--versionoutputversioninformationandexitExamples:catf-gOutputf's contents, then standard input, then g'scontents.catCopystandardinputtostandardoutput.# Send the content of more files to a new filecatfile1.txtfile2.txtfile3.txt>combined.txtcatcombined.txt