Linux date ÃüÁî Ïê½â
Linux date ÃüÁî Ïê½â
Ãû³Æ : date
ʹÓÃȨÏÞ : ËùÓÐʹÓÃÕß
ʹ Ó÷½Ê½ : date [-u] [-d datestr] [-s datestr] [--utc] [--universal]
[--date=datestr] [--set=datestr] [--help] [--version] [+FORMAT]
[MMDDhhmm[[CC]YY][.ss]]
˵Ã÷ : date ÄÜÓÃÀ´ÏÔʾ»òÉ趨ϵͳµÄÈÕÆÚºÍʱ¼ä£¬ÔÚÏÔʾ·½Ã棬ʹÓÃÕßÄÜÉ趨ÓûÏÔʾµÄ¸ñʽ£¬¸ñʽÉ趨Ϊһ¸ö¼ÓºÅºó½ÓÊý¸ö±ê¼Ç£¬ÆäÖпÉÓõıê¼ÇÁбíÈçÏ :
ʱ¼ä·½Ãæ :
% : ´òÓ¡³ö%
%n : ÏÂÒ»ÐÐ
%t : Ìø¸ñ
%H : Сʱ(00..23)
%I : Сʱ(01..12)
%k : Сʱ(0..23)
%l : Сʱ(1..12)
%M : ·ÖÖÓ(00..59)
%p : ÏÔʾ±¾µØ AM »ò PM
%r : Ö±½ÓÏÔʾʱ¼ä (12 СʱÖÆ£¬¸ñʽΪ hh:mm:ss [AP]M)
%s : ´Ó 1970 Äê 1 Ô 1 ÈÕ 00:00:00 UTC µ½Ä¿Ç°ÎªÖ¹µÄÃëÊý %S : Ãë(00..61)
%T : Ö±½ÓÏÔʾʱ¼ä (24 СʱÖÆ)
%X : Ï൱ÓÚ %H:%M:%S
%Z : ÏÔʾʱÇø
ÈÕÆÚ·½Ãæ :
%a : ÐÇÆÚ¼¸ (Sun..Sat)
%A : ÐÇÆÚ¼¸ (Sunday..Saturday)
%b : ÔÂ·Ý (Jan..Dec)
%B : ÔÂ·Ý (January..December)
%c : Ö±½ÓÏÔʾÈÕÆÚºÍʱ¼ä
%d : ÈÕ (01..31)
%D : Ö±½ÓÏÔʾÈÕÆÚ (mm/dd/yy)
%h : ͬ %b
%j : Ò»ÄêÖеĵڼ¸Ìì (001..366)
%m : ÔÂ·Ý (01..12)
%U : Ò»ÄêÖеĵڼ¸ÖÜ (00..53) (ÒÔ Sunday ΪһÖܵĵÚÒ»ÌìµÄÇéÐÎ)
%w : Ò»ÖÜÖеĵڼ¸Ìì (0..6)
%W : Ò»ÄêÖеĵڼ¸ÖÜ (00..53) (ÒÔ Monday ΪһÖܵĵÚÒ»ÌìµÄÇéÐÎ)
%x : Ö±½ÓÏÔʾÈÕÆÚ (mm/dd/yy)
%y : Äê·ÝµÄ×îºóÁ½Î»Êý×Ö (00.99)
%Y : ÍêÕûÄê·Ý (0000..9999)
ÈôÊDz»ÒÔ¼ÓºÅ×÷Ϊ¿ªÍ·£¬Ôò±íʾҪÉ趨ʱ¼ä£¬¶øʱ¼ä¸ñʽΪ MMDDhhmm[[CC]YY][.ss]£¬
ÆäÖÐ MM ΪÔ·ݣ¬
DD ΪÈÕ£¬
hh ΪСʱ£¬
mm Ϊ·ÖÖÓ£¬
CC ΪÄê·ÝÇ°Á½Î»Êý×Ö£¬
YY ΪÄê·ÝºóÁ½Î»Êý×Ö£¬
ss ΪÃëÊý
°Ñ¼Æ :
-d datestr : ÏÔʾ datestr ÖÐËùÉ趨µÄʱ¼ä (·Çϵͳʱ¼ä)
--help : ÏÔʾ¸¨ÖúѶϢ
-s datestr : ½«ÏµÍ³Ê±¼äÉèΪ datestr ÖÐËùÉ趨µÄʱ¼ä
-u : ÏÔʾĿǰµÄ¸ñÁÖÍþÖÎʱ¼ä
--version : ÏÔʾ°æ±¾±àºÅ
Àý×Ó :
ÏÔʾʱ¼äºóÌøÐУ¬ÔÙÏÔʾĿǰÈÕÆÚ : date +%T%n%D
ÏÔʾÔ·ݺÍÈÕÊý : date +%B %d
ÏÔʾÈÕÆÚºÍÉ趨ʱ¼ä(12:34:56) : date --date 12:34:56
ÉèÖÃϵͳµ±Ç°Ê±¼ä£¨12:34:56£©£ºdate --s 12:34:56
×¢ Òâ : µ±Ä㲻ϣÍû³öÏÖÎÞÒâÒåµÄ 0 ʱ(±ÈÈç˵ 1999/03/07)£¬ÔòÄÜÔÚ±ê¼ÇÖвåÈë - ·ûºÅ£¬±ÈÈç˵ date
+%-H:%-M:%-S »á°Ñʱ·ÖÃëÖÐÎÞÒâÒåµÄ 0 ¸øÈ¥µô£¬ÏñÊÇÔ±¾µÄ 08:09:04 »á±äΪ 8:9:4¡£ÁíÍ⣬ֻÓÐÈ¡µÃȨÏÞÕß(±ÈÈç˵
Ïà¹ØÎĵµ£º
ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......
LinuxÄں˹¹½¨ÏµÍ³ÔÀí
²¿·ÖÒë×Ô£º¡¶Embedded Linux System Design and Development ¡· BY P. Raghavan / Amol Lad / Sriram Neelakandan
Áõ½¨ÎÄÂÔÒ루http://blog.csdn.net/keminlau £©
KEY£ºÄں˹¹½¨ Äں˱àÒë kbuild Linux
ÄÚºËÓëÓ¦ÓóÌÐò·Ö¿ª¹¹½¨
ÄÚºËÓëÓ¦ÓóÌÐò±»Éè¼Æ³É·Ö¿ª¹¹½¨µÄ£¬ÓÉCÍ·ÎļþºÍC¿âʵÏÖ£ ......
Ò» ²Ù×÷ϵͳ·ÖÀà
http://www.csee.wvu.edu/~jdm/classes/cs258/OScat/
¶þ ²Ù×÷ϵͳºÍʱ¼äÏß
http://en.wikipedia.org/wiki/Timeline_of_operating_systems
Èý ²Ù×÷ϵͳºÍ¹«Ë¾
http://en.wikipedia.org/wiki/List_of_operating_systems
ËÄ ¸÷ÖÖ²Ù×÷ϵͳ±È½Ï
http://en.wikipedia.org/wiki/Comparison_of_operat ......
LinuxÖкǫִ́ÐÐÈÎÎñ·½Ê½:
cron
ÊÇϵͳÖ÷ÒªµÄµ÷¶È½ø³Ì£¬¿ÉÒÔÔÚÎÞÐèÈ˹¤¸ÉÔ¤µÄÇé¿öÏÂÔËÐÐ×÷Òµ¡£crontabÃüÁîÔÊÐíÓû§Ìá½»¡¢±à¼»òɾ³ýÏàÓ¦µÄ×÷Òµ¡£Ã¿Ò»¸öÓû§¶¼¿ÉÒÔÓÐÒ»¸ö
crontabÎļþÀ´±£´æµ÷¶ÈÐÅÏ¢¡£¿ÉÒÔʹÓÃËüÔËÐÐÈÎÒâÒ»¸öshell½Å±¾»òij¸öÃüÁÿСʱÔËÐÐÒ»´Î£¬»òÒ»ÖÜÈý´Î£¬ÕâÍêÈ«È¡¾öÓÚÄ㡣ÿһ¸öÓû§¶¼¿ÉÒÔÓÐ
......
ÊÂÎï×ÜÓиöºËÐÄ£¬¸´ÔÓµÄÊÂÎï×Ü¿ÉÒÔÄ£¿é»¯¡¢²ã´Î»¯, ǶÈëʽLinuxÒ²Èç´Ë¡£Ñ§Ï°Ç¶ÈëʽLinuxÀ§ÄÑ£¬Ö÷ÒªÒòΪÉ漰֪ʶºÍ¸ÅÄî¹ý¶à£¬¼´±È½Ï¸´ÔÓ£¬ËùÒÔѧϰǶÈëʽLinuxµÄ¾ÍÐèÒªÕÒµ½ºËÐÄ£¬ÐèҪģ¿é»¯£¬ÐèÒª½øÐвã´Î»®·Ö¡£
ǶÈëʽLinuxϵͳ×öÄ£¿é»¯´¦Àí¾ÍÊÇ¿É»®·ÖΪBootloader£¨Òýµ¼³ÌÐò£©£¬Kernel£¨Äںˣ©£¬f ......