Linux commands: Difference between revisions

Jump to navigation Jump to search
No change in size ,  12 January 2018
m
Line 14: Line 14:
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'' ({{Linux}})
* [http://en.wikipedia.org/wiki/Tail_(Unix) tail] <nowiki>[options]</nowiki> ''filename'' ({{Linux}})
* [http://unix.stackexchange.com/questions/47407/cat-line-x-to-line-y-on-a-huge-file tail - cat line X to line Y on a huge file - Unix & Linux Stack Exchange]
* [http://en.wikipedia.org/wiki/Vi vi] <nowiki>[options]</nowiki> ''filename'' (and press G) ({{Linux}})
* [http://en.wikipedia.org/wiki/Vi vi] <nowiki>[options]</nowiki> ''filename'' (and press G) ({{Linux}})
* [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <nowiki>[options]</nowiki> ''filename'' (and press G) ({{Linux}}); Open file and press G for [http://www.vim.org/ gVim] ({{Win}})
* [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <nowiki>[options]</nowiki> ''filename'' (and press G) ({{Linux}}); Open file and press G for [http://www.vim.org/ gVim] ({{Win}})
Line 22: Line 23:
* {{kbd | key=<nowiki>cat <filename></nowiki>}}  ({{Linux}})
* {{kbd | key=<nowiki>cat <filename></nowiki>}}  ({{Linux}})
* {{kbd | key=<nowiki>type <filename></nowiki>}}  ({{Win}})
* {{kbd | key=<nowiki>type <filename></nowiki>}}  ({{Win}})
* [http://unix.stackexchange.com/questions/47407/cat-line-x-to-line-y-on-a-huge-file tail - cat line X to line Y on a huge file - Unix & Linux Stack Exchange]


Display the partial content of large text file
Display the partial content of large text file

Navigation menu