linux cat echo cal date clearÃüÁî
cat ÃüÁî
ʹÓ÷½Ê½£ºcat [-AbeEnstTuv] [--help] [--version] fileName
˵Ã÷£º°Ñµµ°¸´®Á¬
½Óºó´«µ½»ù±¾Êä³ö£¨Ó©Ä»»ò¼Ó > fileName µ½ÁíÒ»¸öµµ°¸£©
²ÎÊý£º
-n »ò --number ÓÉ 1
¿ªÊ¼¶ÔËùÓÐÊä³öµÄÐÐÊý±àºÅ
-b »ò --number-nonblank ºÍ -n ÏàËÆ£¬Ö»²»¹ý¶ÔÓÚ¿Õ°×Ðв»±àºÅ
-s »ò
--squeeze-blank µ±Óöµ½ÓÐÁ¬ÐøÁ½ÐÐÒÔÉϵĿհ×ÐУ¬¾Í´ú»»ÎªÒ»ÐеĿհ×ÐÐ
-v »ò --show-nonprinting
·¶
Àý£º
cat -n textfile1 > textfile2 °Ñ textfile1 µÄµµ°¸ÄÚÈݼÓÉÏÐкźóÊäÈë
textfile2 Õâ¸öµµ°¸Àï
cat -b textfile1 textfile2 >> textfile3 °Ñ
textfile1 ºÍ textfile2 µÄµµ°¸ÄÚÈݼÓÉÏÐкţ¨¿Õ°×Ðв»¼Ó£©Ö®ºó½«ÄÚÈݸ½¼Óµ½ textfile3 Àï¡£
echo
ÃüÁî
echo
ÃüÁîµÄ¹¦ÄÜÊÇÔÚÏÔʾÆ÷ÉÏÏÔʾһ¶ÎÎÄ×Ö£¬Ò»°ãÆðµ½Ò»¸öÌáʾµÄ×÷Óá£
¸ÃÃüÁîµÄÒ»°ã¸ñʽΪ£º
echo [ -n ]
×Ö·û´®
ÆäÖÐÑ¡Ïî
n
±íʾÊä³öÎÄ×Öºó²»»»ÐУ»×Ö·û´®¿ÉÒÔ¼ÓÒýºÅ£¬
Ò²¿ÉÒÔ²»¼ÓÒýºÅ¡£ÓÃ
echo
ÃüÁîÊä³ö¼ÓÒýºÅµÄ×Ö·û´®Ê±£¬½«×Ö·û´®ÔÑùÊä³ö£»ÓÃ
echo
ÃüÁîÊä³ö²»¼ÓÒýºÅµÄ×Ö·û´®Ê±£¬½«×Ö·û´®Öеĸ÷¸öµ¥´Ê×÷Ϊ×Ö·û´®Êä³ö£¬¸÷×Ö·û´®Ö®¼äÓÃÒ»¸ö¿Õ¸ñ·Ö¸î¡£
cal
ÃüÁî
cal
ÃüÁîµÄ¹¦ÄÜÊÇÏÔʾijÄêijÔµÄÈÕÀú¡£
¸ÃÃüÁîµÄÒ»°ã¸ñʽΪ£º
cal [
Ñ¡Ïî
] [
ÔÂ
[
Äê
]]
ÃüÁîÖи÷Ñ¡ÏîµÄº¬ÒåΪ£º
- j
ÏÔʾ³ö¸ø¶¨ÔÂÖеÄÿһÌìÊÇÒ»ÄêÖеĵڼ¸Ì죨´Ó
1
ÔÂ
1
ÈÕËãÆ𣩡£
- y
ÏÔʾ³öÕûÄêµÄÈÕÀú¡£
date
ÃüÁî
date
ÃüÁîµÄ¹¦ÄÜÊÇÏÔʾºÍÉèÖÃϵͳÈÕÆÚºÍʱ¼ä¡£
¸ÃÃüÁîµÄÒ»°ã¸ñʽΪ£º
date [
Ñ¡Ïî
]
ÏÔʾʱ¼ä¸ñʽ£¨ÒÔ
+
¿ªÍ·£¬ºóÃæ½Ó¸ñʽ£©
date
ÉèÖÃʱ¼ä¸ñʽ
ÃüÁîÖи÷Ñ¡ÏîµÄº¬Òå·Ö±ðΪ£º
-d datestr, --date datestr
ÏÔʾÓÉ
datestr
ÃèÊöµÄÈÕÆÚ
-s datestr, --set datestr
ÉèÖÃ
datestr
ÃèÊöµÄÈÕÆÚ
-u, --universal
ÏÔʾ»òÉèÖÃͨÓÃʱ¼ä
ʱ¼äÓò
% H
Сʱ£¨
00..23
£©
% I
Сʱ£¨
01..12
£©
% k
Сʱ£¨
0..23
£©
% l
Сʱ£¨
1..12
£©
% M
·Ö£¨
00..59
£©
% p
ÏÔʾ³ö
AM
»ò
PM
% r
ʱ¼ä£¨
hh
£º
mm
£º
ss AM
»ò
PM
£©£¬
12
Сʱ
% s
´Ó
1970
Äê
1
ÔÂ
1
ÈÕ
00
£º
00
£º
00
µ½Ä¿Ç°¾ÀúµÄÃëÊý
% S
Ã루
00..59
£©
% T
ʱ¼ä£¨
24
СʱÖÆ£©£¨
hh:mm:ss
£©
% X
ÏÔʾʱ¼äµÄ¸ñʽ£¨£¥
H:
£¥
M:
£¥
S
£©
%
Ïà¹ØÎĵµ£º
´´½¨×ÀÃæͼ±ê
Ä¿Ç°½«ÍøÂçÓ¦ÓÃÀ©Õ¹µ½×ÀÃæÊÇÒ»¸öÇ÷ÊÆ£¬´æÔÚןܶà½â¾ö·½°¸£¬±¾ÎÄÒÔ Mozilla Prism ΪÀý£¬ÀàËƵķ½·¨Í¬ÑùÊÊÓÃÓÚ Google Chrome ¡£
1. µ½ Mozilla Prism µÄÍøÕ¾ÉÏÏÂÔØ Prism£¬µã»÷ Download Now Ö®ºó»áÌáʾÓÐÁ½ÖÖ£¬Ò»ÖÖÊÇÒÔ Mozilla Firefox À©Õ¹µÄ·½Ê½£¬ÊʺÏÒѾ°²×°ÓÐ Firefox µÄÅóÓÑ£»Ò»Ö ......
µÚÒ»¸ö£º DSL Linux
Damn Small LinuxÊÇÒ»Ì×»ùÓÚÒµÎñ¿¨£¨50M×Ö½Ú£©¿ÉÆô¶¯¹âÅ̵ÄLinux·¢ÐС£¾¡¹ÜËüµÄ¸öÍ·Èç´Ë֮С£¬ËüŬÁ¦³ÉΪһ·Ý¿ÉÓò¢ÇÒÒ×ÓõÄ×ÀÃæ¡£Damn Small LinuxµÄ×ÀÃ漸ºõÊÇÍêÕûµÄÒ»Ì×£¬°üÀ¨xmms£¨Ö§³Ömp3ºÍmpeg£©¡¢FTP¿Í»§¶Ë¡¢»ùÓÚlinksµÄwebä¯ÀÀÆ÷¡¢µç×ÓÖƱíÈí¼þ¡¢µç×ÓÓʼþ³ÌÐò¡¢ Ó¢Óïƴд¼ì²é¡¢×Ö´¦ÀíÆ÷¡¢Èý¸ö± ......
Ç°¶Îʱ¼ä°Ý¶Áfudan_abcµÄÎÄÕºó¸ù¾Ý×Ô¼ºµÄÀí½âдµÄһЩ·ÖÎö
[url=http://blog.chinaunix.net/u1/57901/showart.php?id=1855876][color=#02368d][size=10pt]LINUXÏÂUSB1.1É豸ѧϰС¼Ç(1) [/size][/color]
[url=http://blog.chinaunix.net/u1/57901/showart.php?id=1856447][color=#02368d][size=10pt]LINUXÏÂUSB1. ......
·½±ãµÄlinuxÃüÁîÊÖ²á
À´Ô´: ChinaUnix²©¿Í ¡¡ÈÕÆÚ£º 2006.07.24 00:31¡¡(¹²ÓÐ0ÌõÆÀÂÛ) ÎÒÒªÆÀÂÛ
NO
·ÖÀà
PS1
ÃüÁîÃû
Ó÷¨¼°²ÎÊý
¹¦ÄÜ×¢½â
¶ÔÓ¦Õ½Ú
1
Îļþ¹ÜÀí
#
ls
ls -a
Áгöµ±Ç°Ä¿Â¼ÏµÄËùÓÐÎļþ£¬°üÀ¨ÒÔ.Í·µÄÒþº¬Îļþ
Îļþ¹ÜÀí
#
ls
ls -l»òll
Áгöµ±Ç°Ä¿Â¼ÏÂÎļþµÄÏêϸР......