Linux commands: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
m (1個修訂)
m (2個修訂)
(No difference)

Revision as of 14:11, 21 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)
  • ifconfig (OS: Linux)[1]