Linux commands: Difference between revisions

Jump to navigation Jump to search
3 bytes removed ,  7 June 2021
m
Line 15: Line 15:
* [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}})
* [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 first xxx characters of text file ====
==== Display the first xxx bytes of text file ====
* On {{Linux}}, To display the first 100 characters of text file<ref>[https://unix.stackexchange.com/questions/167814/get-first-x-characters-from-the-cat-command cut - get first X characters from the cat command? - Unix & Linux Stack Exchange]</ref>
* On {{Linux}}, To display the first bytes characters of text file<ref>[https://unix.stackexchange.com/questions/167814/get-first-x-characters-from-the-cat-command cut - get first X characters from the cat command? - Unix & Linux Stack Exchange]</ref>


<pre>
<pre>
Anonymous user

Navigation menu