LinuxÖÐfind³£¼ûÓ÷¨Ê¾Àý
·find path -option [ -print ] [ -exec -ok command ] {} \;
#-print ½«²éÕÒµ½µÄÎļþÊä³öµ½±ê×¼Êä³ö
#-exec command {} \; -----½«²éµ½µÄÎļþÖ´ÐÐcommand²Ù×÷,{} ºÍ \;Ö®¼äÓпոñ
#-ok ºÍ-execÏàͬ£¬Ö»²»¹ýÔÚ²Ù×÷ǰҪѯÓû§
====================================================
-name filename #²éÕÒÃûΪfilenameµÄÎļþ
-perm #°´Ö´ÐÐȨÏÞÀ´²éÕÒ
-user username #°´ÎļþÊôÖ÷À´²éÕÒ
-group groupname #°´×éÀ´²éÕÒ
-mtime -n +n #°´Îļþ¸ü¸Äʱ¼äÀ´²éÕÒÎļþ£¬-nÖ¸nÌìÒÔÄÚ£¬+nÖ¸nÌìÒÔǰ
-atime -n +n #°´Îļþ·ÃÎÊʱ¼äÀ´²éGIN: 0px">-perm #°´Ö´ÐÐȨÏÞÀ´²éÕÒ
-user username #°´ÎļþÊôÖ÷À´²éÕÒ
-group groupname #°´×éÀ´²éÕÒ
-mtime -n +n #°´Îļþ¸ü¸Äʱ¼äÀ´²éÕÒÎļþ£¬-nÖ¸nÌìÒÔÄÚ£¬+nÖ¸nÌìÒÔǰ
-atime -n +n #°´Îļþ·ÃÎÊʱ¼äÀ´²éÕÒÎļþ£¬-
Ïà¹ØÎĵµ£º
ÒòΪ¹«Ë¾µÄ°å×ÓÉϼüÅ̲»ºÃ°´£¬ËùÒÔд¸öÍøÂç°æµÄ£¬·½±ãµ÷ÊÔ¡£
client .c
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <linux/input.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#inclu ......
×¼±¸¹¤×÷£º
1.Xming£¨windowsÔËÐÐx-windowsµÄÖ§³Ö£©
2.SecureCRTV6.5.8.380ºº»¯ÂÌÉ«ÆÆ½â°æ
¿ÉÒÔÈ¥ÎÒµÄhttp://download.csdn.net/johnvikeyÏÂÔØ
Èç¹ûÊÇÃüÁîÐÐÖ±½ÓÓÃ
SecureCRT
Èç¹ûÊÇÒªÔËÐÐͼÐγÌÐò
1.Xming£¨windowsÔËÐÐx-windowsµÄÖ§³Ö£©
2.SecureCRTV6.5.8.380ºº»¯ÂÌÉ«ÆÆ½â°æ
¶¼ÒªÊ¹ÓÃ
———&m ......
Linux µÄ×Ö·û´®½ØÈ¡ºÜÓÐÓá£ÓаËÖÖ·½·¨¡£
¼ÙÉèÓбäÁ¿ var=http://www.hao.com/123.htm
.
.
Ò» # ºÅ½ØÈ¡£¬É¾³ý×ó±ß×Ö·û£¬±£ÁôÓÒ±ß×Ö·û¡£
echo ${var#*//}
ÆäÖÐ var ÊDZäÁ¿Ãû£¬# ºÅÊÇÔËËã·û£¬*// ±íʾ´Ó×ó±ß¿ªÊ¼É¾³ýµÚÒ»¸ö // ºÅ¼°×ó±ßµÄËùÓÐ×Ö·û
¼´É¾³ý http://
½á¹ûÊÇ £ºwww.hao.com/123.htm
.
.
¶ ......
SystemTap ÊÇ¼à¿ØºÍ¸ú×ÙÔËÐÐÖÐµÄ Linux Äں˵IJÙ×÷µÄ¶¯Ì¬·½·¨¡£Õâ¾ä»°µÄ¹Ø¼ü´ÊÊǶ¯Ì¬£¬ÒòΪ SystemTap ûÓÐʹÓù¤¾ß¹¹½¨Ò»¸öÌØÊâµÄÄںˣ¬¶øÊÇÔÊÐíÄúÔÚÔËÐÐʱ¶¯Ì¬µØ°²×°¸Ã¹¤¾ß¡£Ëüͨ¹ýÒ»¸öÃûΪKprobes µÄÓ¦Óñà³Ì½Ó¿Ú£¨API£©À´ÊµÏÖ¸ÃÄ¿µÄ£¬±¾ÎĽ«Ì½Ë÷Õâ¸ö API¡£ÎÒÃÇÊ×ÏÈÁ˽âÒÔǰµÄһЩÄں˸ú×Ù·½·¨£¬È»ºóÔ ......
LinuxÏ¿ÉÒÔÓÃls –l ÃüÁîÀ´ÅжÏÎļþÀàÐÍ£¬ÈçÉÏ Í¼Ëùʾ¡£¿ÉÒÔÒÀ¾ÝµÚÒ»ÁÐÖеÄ10¸ö×Ö·ûÀ´Åжϡ£
¡¡¡¡• -rw-r—r—Ö¸Ã÷ÁË1.txtÎļþÊÇÒ»¸öÆÕͨÎļþ£¬1.txtºÍmyprog04Îļþ¶¼ÊÇÆÕͨÎļþ¡£ÒÔ”-“¿ªÍ·µÄ¶¼ÊÇÆÕͨÎļþ£¬¶øÒÔ”d”¿ªÍ·µÄÊÇĿ¼Îļþ¡£
¡¡¡¡• brw-rw---- Ö¸Ã÷ÁË/dev/sd ......