Linux commands

From LemonWiki共筆
Revision as of 17:55, 14 June 2009 by Planetoid (talk | contribs) (add show ip)
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)
  • ifocnig (OS: Linux)[1]