Linux commands: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
(add show ip)
mNo edit summary
Line 9: Line 9:
show ip
show ip
* ipconfig/all (OS: MS Windows)
* ipconfig/all (OS: MS Windows)
* ifocnig (OS: Linux)[http://linux.vbird.org/linux_server/0140networkcommand.php#ifconfig]
* ifconfig (OS: Linux)[http://linux.vbird.org/linux_server/0140networkcommand.php#ifconfig]


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

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