Linux commands: Difference between revisions

Jump to navigation Jump to search
321 bytes added ,  25 October 2012
m
Line 71: Line 71:


== system operation ==
== system operation ==
show current time
* {{kbd | key= date}} ({{Linux}}) output: Thu Oct 25 15:05:10 CST 2012 <ref>[http://linux.vbird.org/linux_server/0440ntp.php 鳥哥的 Linux 私房菜 -- NTP 時間伺服器]</ref>
* {{kbd | key= date/t}} ({{{Win}})
<pre>output:
OS in English: Thu 05/03/2012
OS in Chinese: 2012/05/03 星期四
</pre>
specify the location where Linux or MS-DOS looks when using a command
specify the location where Linux or MS-DOS looks when using a command
* {{kbd | key= echo $PATH}} ({{Linux}})<ref>[http://linux.vbird.org/linux_basic/0220filemanager.php#dir_path 鳥哥的 Linux 私房菜 -- 檔案與目錄管理 -- 關於執行檔路徑的變數: $PATH]</ref>
* {{kbd | key= echo $PATH}} ({{Linux}})<ref>[http://linux.vbird.org/linux_basic/0220filemanager.php#dir_path 鳥哥的 Linux 私房菜 -- 檔案與目錄管理 -- 關於執行檔路徑的變數: $PATH]</ref>

Navigation menu