Linux commands: Difference between revisions

Jump to navigation Jump to search
42 bytes added ,  22 January 2018
m
Line 9: Line 9:
=== Display the first lines of text file ===
=== Display the first lines of text file ===
* [http://en.wikipedia.org/wiki/Head_(Unix) head] <nowiki>[options]</nowiki> ''filename'' ({{OS}}: {{Linux}})
* [http://en.wikipedia.org/wiki/Head_(Unix) head] <nowiki>[options]</nowiki> ''filename'' ({{OS}}: {{Linux}})
* [http://en.wikipedia.org/wiki/Vi vi] <nowiki>[options]</nowiki> ''filename'' (and press gg) ({{Linux}})
* [http://en.wikipedia.org/wiki/Vi vi] <nowiki>[options]</nowiki> ''filename'' (and press {{kbd | key=gg}}) ({{Linux}})
* [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <nowiki>[options]</nowiki> ''filename'' (and press gg) ({{Linux}}); Open file and press gg for [http://www.vim.org/ gVim] ({{Win}})
* [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <nowiki>[options]</nowiki> ''filename'' (and press {{kbd | key=gg}}) ({{Linux}}); Open file and press {{kbd | key=gg}} for [http://www.vim.org/ gVim] ({{Win}})


=== Display the last few lines of text file ===
=== Display the last few lines of text file ===

Navigation menu