Linux commands: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
m (新頁面: display the first lines of text file * [http://en.wikipedia.org/wiki/Head_(Unix) head] <nowiki>[options]</nowiki> ''filename'' * [http://www.tuxfiles.org/linuxhelp/vimcheat.html vim] <now...)
 
(add show ip)
Line 7: Line 7:
* [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)


show ip
* ipconfig/all (OS: MS Windows)
* ifocnig (OS: Linux)[http://linux.vbird.org/linux_server/0140networkcommand.php#ifconfig]


[[Category:Linux]]
[[Category:Linux]]

Revision as of 17:55, 14 June 2009

display the first lines of text file

  • head [options] filename
  • vim [options] filename (and press gg)

display the last few lines of text file

  • tail [options] filename
  • vim [options] filename (and press G)

show ip

  • ipconfig/all (OS: MS Windows)
  • ifocnig (OS: Linux)[1]