linux ·ÃÎÊ linux
Á½¸ö»úÆ÷¶¼°²×°µÄÊÇlinuxϵͳ£¬¶¼Óй²ÏíÎļþ¼Ð£¬Ïë´ÓÒ»¸ö»úÆ÷·ÃÎÊÁíÒ»¸ö»úÆ÷µÄÎļþ£¬ÇëÎÊÔõô·ÃÎÊ£¿
ÄÄλ¸ßÊÖÖ¸µãһϣ¿
nfs¹²Ïí£¬±àд/etc/exportsÎļþ
Èç¹ûÖ»ÊÇÒª¿½Îļþ¾ÍÓÃscp
suggest nfs or samba
Äܲ»ÄÜд¸ö¾ßÌåµÄÃüÁî³öÀ´
¼ÙÉèÁ½¸ö»úÆ÷µÄIPÊÇ192.168.1.1ºÍ192.168.1.2
Ïë°Ñ192.168.1.1ÉϵÄÎļþ/tmp/copy.txt¿½µ½192.168.1.2ÉϵÄÃüÁîÔõôд?
±¾È˸ÕѧlinuxÇë¸÷λ´óÏÀÖ¸µã,лл!
scp tmp/copy.txt root@192.168.1.2:~/
¿ÉÒÔÓÃ sshfs
Ò»Á½¸öÎļþµÄ»°£¬Ö±½Ó scp Ò²ÊÇ¿ÉÒÔµÄ
sftp root@192.168.1.2
È»ºóÓÃftpµÄ²Ù×÷
Èç¹û°²×°ÁËsshfsÄǾÍ×î·½±ãÁË£¬Ö±½Ó½«Ô¶³ÌĿ¼¹ÒÔÚ±¾µØÎļþϵͳÉÏ£¬È»ºóÓÃcpµÈ»ù±¾²Ù×÷
Èç¹û¾³£ÓÐÕâÖÖÐèÇ󣬸öÈ˸üÍƼösshfs
Á½¸ölinuxÖ®¼ä£¬scp×î·½±ãÁË¡£
ssh°¡¡£
scp ×î·½±ã
ssh¿ÉÒÔô
ftp²»¾ÍÍêÁË£¿
ÒÔÉÏ·½·¨½Ô¿É.
˵ÁËÕâô¶àÖÖ·½·¨ ¶¼ÊÇ¿ÉÐÐµÄ Â¥Ö÷ÊÔÁËÂð
ÍƼösshºÍftp
Èç¹ûÊÇÒª±à³Ì·ÃÎÊÄØ£¿Ò»Ì¨linux»ú×ÓÉϵijÌÐòÒª¶ÁдÁíÍâһ̨linux»ú×ÓÉϵÄÎļþ£¬¸ÃÔõô×öÄØ£¿
ÓÃsamba¿ÉÒÔô£¿
Ïà¹ØÎÊ´ð£º
C/C++ code:
char Time="2009-9-23";
FILE *fpOut=fopen("1.txt","w+");
if(fpOut==NULL)
return ;
fwr ......
¸ø¸öµØÖ·£¬»òÕß·¢µ½ÎÒÓÊÏäÒ²ÐÐ wrongagain98@163.com
×îºÃÊÇÊÓƵµÄ£¬²»ÊÇÊÓƵÆÕͨµÄÒ²ÐС£
Ö÷ÒªÊÇÁ½·½Ã棺
1.ÔõÑù±à¼¡¢±àÒëºÍµ÷ÊÔ³ÌÐò¡£Ï£ÍûÄÜÒ»²½²½½²Çå³þ£¬ÈçºÎ°²×°¡¢ÈçºÎÅäÖõȡ£²»Òª¾Íֻ˵¾ä¡°¾ÍÓ ......
ÎÒûÓа²×°²Ù×÷ϵͳµÄ¾Ñ飬¼´Ê¹ÊÇWINDOWS¡£ÏÖÔÚÏëÔÚLINUX²Ù×÷ϵͳ´ó»·¾³ÏÂѧCÓïÑÔ£¬ÓÖÒªÂò±¾±¾£¬ÇëÎÊÈç¹û²Ù×÷ϵͳ°²×°²»µ±£¬»á²»»á¶ÔµçÄÔÔì³Éʲô´óµÄÆÆ»µ£¿ÓÐûÓбØÒªÏÈÂòÒ»¸ö¶þÊÖµçÄÔÁ·Ò»ÏÂLINUXµÄ ......
ÎÒ×°ºÃÁËvsftpd£¬°´ÕÕÍøÉϵķ½·¨ÅäÖÃÎļþ£¬µ«ÊDz»ÖªµÀÅäÖÃÍêÁËÔõôÍ˳ö£¬ËÄܸæËßÎÒ°¡£¿Ð»Ð»
Èç¹û°²×°ºÃ°´Ä¬ÈÏÅäÖõĻ°£¬·ÃÎʵÄĿ¼ÊÇʲô°¡£¿ÍøÉÏ˵ÊÇ/var/ftp,µ«ÊÇÎÒµÄvarÎļþ¼ÐÀïûftpÎļþ¼Ð°¡
ÎÒÓ ......
±ÈÓ÷ÎÒÓÐÒ»¸öÎı¾£º
122.6.653.1264.5643.23
12
12.32
65.265.56
15432.34.234.24
215.26
ÎÒÏëÈ¥Õâ¸öÎı¾ÖÐÿһÐеÄ×îºóÒ»¸ö×ֶΣ¬±ÈÓ÷½á¹û
23
12
32
56
24
26
ÎÒ ......