Jump to content

Linux commands

From LemonWiki共筆
Revision as of 11:49, 21 June 2009 by WikiSysop (talk | contribs) (1個修訂)

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]