Linux commands

From LemonWiki共筆
Revision as of 14:11, 21 June 2009 by WikiSysop (talk | contribs) (2個修訂)
Jump to navigation Jump to search

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)
  • ifconfig (OS: Linux)[1]