Linux commands: Difference between revisions

Jump to navigation Jump to search
775 bytes added ,  1 July 2014
Line 172: Line 172:
* {{kbd | key=lsb_release -a}} ({{Linux}})<ref>[http://blog.miniasp.com/post/2009/02/25/How-to-query-Linux-distribution-and-version-information.aspx The Will Will Web | 如何查詢 Linux 的種類與版本 ( Linux Standard Base )]</ref>
* {{kbd | key=lsb_release -a}} ({{Linux}})<ref>[http://blog.miniasp.com/post/2009/02/25/How-to-query-Linux-distribution-and-version-information.aspx The Will Will Web | 如何查詢 Linux 的種類與版本 ( Linux Standard Base )]</ref>
* {{kbd | key=ver}} ({{Win}})<ref>[http://www.windows-commandline.com/2009/01/find-windows-os-version-from-command.html Find windows OS version from command line]</ref>
* {{kbd | key=ver}} ({{Win}})<ref>[http://www.windows-commandline.com/2009/01/find-windows-os-version-from-command.html Find windows OS version from command line]</ref>
Show the process list & kill the process<ref>[http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html How do I Find Out Linux CPU Utilization? - nixCraft]</ref><ref>[http://www.cyberciti.biz/faq/show-all-running-processes-in-linux/ Show All Running Processes in Linux]</ref>
# {{kbd | key=top }} "display Linux tasks" for {{Linux}} or {{kbd | key=<nowiki>top -a</nowiki> }} "Sort by memory usage" for {{Linux}}
# keyin {{kbd | key=q}} to leave the process list
# find which process to be killed. Keyin: {{kbd | key=kill -101 PID}} to kill the process with PID number: 101<ref>[http://www.cyberciti.biz/faq/kill-process-in-linux-or-terminate-a-process-in-unix-or-linux-systems/ Kill Process in Linux or Terminate a Process in UNIX / Linux Systems]</ref>


Search text of command output
Search text of command output

Navigation menu