Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚLINUXµÄÎÊÌâ--ºÃ¾ÃûÉÏÀ´ÁËûÓзÖÁËÏÈлл´ó¼ÒÁË

ÎÒÔÚLINUXÉÏÓÐÁ½¸öÓû§
Ò» root
¶þ myadmin

¡¾myadmin@localhost~¡¿$ dir
Desktop myphp
[myadminlocalhost~]$ cd myphp¡¢DesktopÄܽøÈ¥ÆäËûµÄϵͳĿ¼½ø²»È¥
Ö»ÓÐÕâÁ½¸öĿ¼ ÎÒÏë½øÈëÆäËûµÄϵͳÎļþÔõô½øÈ룿

ÏÖÔÚÄãÓõÄÊÇmyadminÓû§£¿Äã¿ÉÒÔ¸ü¸ÄΪrootÓû§£¬Ïë½øʲôµØ·½¾Í½øʲôµØ·½£¬¹þ¹þ¡£

myadminÓû§
Ö»Äܽø£º
¡¾myadmin@localhost~¡¿$ dir
Desktop myphp

ÕâÀïµÄĿ¼


Ïë½øÆäËûĿ¼µÄ°ì·¨£º

1¡¢suµ½root½øÈ¥
2¡¢root¸øÓèÆäËûÏë½øµÄĿ¼755 or 777ȨÏÞ 

ÒýÓÃ
ÏÖÔÚÄãÓõÄÊÇmyadminÓû§£¿Äã¿ÉÒÔ¸ü¸ÄΪrootÓû§£¬Ïë½øʲôµØ·½¾Í½øʲôµØ·½£¬¹þ¹þ¡£

ÎҸijÉrootÁË
¡¾root@localhost ~¡¿# dir
anaconda-ks.cfg Desktop install.log install.log.syslog
¡¾root@localhost ~¡¿# cd dev
bash:cd:root ûÓÐÄǸöÎļþ

ûÓÐdevĿ¼¡£
ÊDz»ÊÇÒª cd /dev £¿

ÉÏQQ ½ÌÄã


Ïà¹ØÎÊ´ð£º

Linux Ŀ¼ÎÊÌâ

LinuxÐÂÊÖ£¬Çë´ó¸ç´ó½ã²»Òª¼ûЦ¡£

ÎÒÓÃrootÓû§µÇ¼µ½Linuxϵͳ¡£ÔÚ¸ùĿ¼ÏÂÃ潨ÁËĿ¼dir1£¬ºóÓÃÃüÁîcd /dir1½øÈëµ½dir1Ŀ¼Ï£¬È»ºóÔÙÓÃmkdir dir2½¨Á¢ÁËĿ¼dir2 £¬ÔÙºóÀ´ÓÃÃüÁîcd /dir2ÊÇ£¬ÌáʾΪ£º-bush ......

javaÈçºÎ¿ØÖÆÔ¶³ÌLinuxÖØÆô

ÎÒÄ¿Ç°ÔÚ±¾µØµÄlinuxÉÏдÁËÒ»¸öswingµÄ½çÃ棬Ïëͨ¹ýÕâ¸ö½çÃæÀ´¿ØÖÆÆäËüµçÄÔµÄlinuxÖØÆô¡£
ÎÒÖªµÀÓÃRuntime.getRuntime().exec("shutdown -r");¿ÉÒÔ¿ØÖƱ¾»úLinuxÖØÆô£¬µ«ÊÇÔõô¿ØÖÆÔ¶³ÌµÄlinuxÖØÆôÄØ£¿ ......

php±àдִÐÐlinux shellÃüÁîµÄ´úÂë

ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾­¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......

ÓйØlinux kernelµÄÒÉÎÊ

¸Õ²Å·¢ÏÖÓÐ×îеÄlinux kernel·¢²¼ÁË£¬ÎÒÒ²ÊǸölinux°®ºÃÕߣ¬Ö»²»¹ýÊǸöÐÂÊÖ£¬Ê²Ã´¶¼²»¶®£¬ÎÒÏëÎÊһϣ¬Èç¹ûÎÒÓÐkernelµÄ»°£¬ÎÒÄܱàÒë³É×Ô¼ºµÄϵͳÂð£¿ÊDz»ÊÇÓÃkernelÔÙÅäÉϸö×ÀÃæ»·¾³¾Í¿ÉÒÔ×ö³É×Ô¼ºµÄ²Ù×÷ϵͳÄØ£¿Î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ