shellʹÓÃechoÊä³ö¸öÐÔ×ÖÌå
´úÂë1
Ч¹ûչʾ£º ´úÂë2
Ч¹ûչʾ£º ¿ÉÒÔ¿´µ½×ÖĸD¾Í±ä³ÉÁ˺ìÉ«ÁË£¡ ´úÂë˵Ã÷£º ´óÖ¸ñʽ
±³¾°ºÍÇ°¾°ÑÕÉ«µÄ´úÂëλÖÃÇ°ºóÊÇûÓÐÇø±ðµÄ,±ðÍüÁË×Ö·û´®Ç°Ã滹Óиö“m”
ÒÔÉÏÃüÁîÉèÖñ³¾°³ÉΪºÚÉ«,Ç°¾°ºìÉ«,×ÖÌåΪ´ÖÌå,Êä³ö×Ö·û“ABCDEFG”,È»ºóÖØÐÂÉèÖÃÆÁÄ»µ½È±Ê¡ÉèÖÃ.“e”ÊÇÃüÁî echo µÄÒ»¸ö¿ÉÑ¡Ïî,ËüÓÃÓÚ¼¤»îÌØÊâ×Ö·ûµÄ½âÎöÆ÷.“\033”Òýµ¼·Ç³£¹æ×Ö·ûÐòÁÐ.“m”Òâζ×ÅÉèÖÃÊôÐÔÈ»ºó½áÊø·Ç³£¹æ×Ö·ûÐòÁÐ,Õâ¸öÀý×ÓÀïÕæÕýÓÐЧµÄ×Ö·ûÊÇ “44;37;5” ºÍ“0”. Ð޸ē31;49;1”¿ÉÒÔÉú³É²»Í¬ÑÕÉ«µÄ×éºÏ,ÊýÖµºÍ±àÂëµÄÇ°ºó˳ÐòûÓйØϵ.¿ÉÒÔÑ¡ÔñµÄ±àÂëÈçÏÂËùʾ£º ANSI¿ØÖÆÂëµÄ˵Ã÷
\33[nD ¹â±ê×óÒÆnÐÐ \33[y;xHÉèÖùâ±êλÖà \33[2J ÇåÆÁ \33[K Çå³ý´Ó¹â±êµ½ÐÐβµÄÄÚÈÝ \33[s ±£´æ¹â±êλÖà \33[u »Ö¸´¹â±êλÖà \33[?25l Òþ²Ø¹â±ê \33[?25h ÏÔʾ¹â±ê
Ç°¾°ÑÕÉ«£º30-39 30 ÉèÖúÚÉ«Ç°¾° ±³¾°ÑÕÉ«·¶Î§£º40 - 49 40 ÉèÖúÚÉ«±³¾°
ÆäËûÓÐȤµÄ´úÂ뻹ÓУº \033[2J ¡¡Çå³ýÆÁÄ»
Àý×ÓÖеÄ32;1mÊý×ÖµÄλÖÃÊÇ¿ÉÒÔ¶Ôµ÷µÄÈç\e[1;32m,Èç¹ûÊÇÔÚX»·¾³Ï¿ÉÒÔ¸ü»»Ò»ÏÂ1µÄ·¶Î§0~10,¿ÉÄÜÓеÄûÓô¦£º0»òÕß²»Ð´£¨\e [0;32m»ò\e[;32m£©ÏÔʾdzÑÕÉ«,1£ºÏÔʾ¸ßÁÁ 4£º¼ÓÏ»®Ïß.....Èç¹û¸ÄºóµÄЧ¹û²»ºÃ,µ«ÊÇÓÖ»¹Ô²»ÁË,ÄǾͲ»Ð´mÇ°ÃæµÄÊý×Ö,Èç\e[32;m,»òÕßÖ±½Ó×¢ÏúÔٵǽ \u \h \W£ºÕâÊÇһЩתÒå×Ö·û,ÏÂÃæÏêϸ½âÊÍ£º \d £º´ú±íÈÕÆÚ,¸ñʽΪweekday month date,ÀýÈ磺"Mon Aug 1" \H £ºÍêÕûµÄÖ÷»úÃû³Æ.ÀýÈ磺ÎҵĻúÆ÷Ãû³ÆΪ£ºfc4.linux,ÔòÕâ¸öÃû³Æ¾ÍÊÇfc4.linux \h £º½öÈ¡Ö÷»úµÄµÚÒ»¸öÃû×Ö,ÈçÉÏÀý,ÔòΪfc4,.linuxÔò±»Ê¡ÂÔ \t £ºÏÔʾʱ¼äΪ24С |
||
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |
- PhotoshopÊó»æʵÀý:»æÖÆ»ðÓ°¶¯Âþ¿¨Í¨
- linux·ÓÉÆ÷net»ù±¾ÅäÖÃ
- VPSÖ÷»ú³£¼ûÎÊÌâÓëά»¤Ö®linuxƪ
- photoshopÖÆ×÷°ßìµµÄÇúÏßÌõ
- CSSÑùʽ±íÖÐÒýÓÃͼƬµØÖ·ÔÚ¸÷ä¯ÀÀÆ÷ÖеIJîÒì
- VBScript¿ª·¢×Ô¶¯»¯²âÊԽű¾µÄ·½·¨·ÖÎö
- ÇÀ×¢ÓòÃû³ÉÐÂÉú²Æ½Ý¾¶£ºÖÐÍâÃûÈËÏÊÓÐÐÒÃâ
- JavaÆóÒµÓ¦ÓÃϵͳ¿ò¼ÜµÄ±È½ÏÓëÑ¡Ôñ - ±à³ÌÈëÃÅÍø
- CentOS 5 ÉÏ°²×° eGroupWare
- ÇÉÓÃJBuilderX´úÂëÃÀ»¯¹¤¾ß - ±à³ÌÈëÃÅÍø