Linux commands: Difference between revisions

Jump to navigation Jump to search
105 bytes added ,  1 July 2014
m
Line 159: Line 159:


== system operation ==
== system operation ==
show current time
show current time<ref>[https://en.wikipedia.org/wiki/DATE_(command) DATE (command) - Wikipedia, the free encyclopedia]</ref>
* {{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}} ({{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}})
* {{kbd | key= date/t}} ({{Win}}) (parameter: /t will not ask you to change the current date)
<pre>output:
<pre>output:
OS in English: Thu 05/03/2012
OS in English: Thu 05/03/2012
Line 167: Line 167:
OS in Chinese (Windows 8): 2014/07/01 週二
OS in Chinese (Windows 8): 2014/07/01 週二
</pre>
</pre>
* related: [http://en.wikipedia.org/wiki/TIME_(command) TIME (command)], [[PHP_and_MySQL_syntax#timestamp | timestamp in PHP and MySQL syntax]]
* related: [[PHP_and_MySQL_syntax#timestamp | timestamp in PHP and MySQL syntax]]


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

Navigation menu