Linux commands: Difference between revisions

Jump to navigation Jump to search
55 bytes added ,  7 September 2012
m
Line 4: Line 4:
== text file manipulation ==
== text file manipulation ==
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''
* [http://en.wikipedia.org/wiki/Head_(Unix) head] <nowiki>[options]</nowiki> ''filename'' ({{OS}}: {{Linux}})
* [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <nowiki>[options]</nowiki> ''filename'' (and press gg)
* [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <nowiki>[options]</nowiki> ''filename'' (and press gg) ({{Linux}})


display the last few lines of text file
display the last few lines of text file
* [http://en.wikipedia.org/wiki/Tail_(Unix) tail] <nowiki>[options]</nowiki> ''filename''
* [http://en.wikipedia.org/wiki/Tail_(Unix) tail] <nowiki>[options]</nowiki> ''filename'' ({{Linux}})
* [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <nowiki>[options]</nowiki> ''filename'' (and press G)
* [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <nowiki>[options]</nowiki> ''filename'' (and press G) ({{Linux}})
* [http://tailforwin32.sourceforge.net/ Tail for Win32] GUI interface ({{Win}})
* [http://tailforwin32.sourceforge.net/ Tail for Win32] GUI interface ({{Win}})


== file operation ==
== file operation ==

Navigation menu