Linux ÎļþÀàÐͼ°ÎļþµÄÀ©Õ¹Ãû
1¡¢LinuxÎļþµÄÀ©Õ¹Ãû£»
һ̸µ½ÎļþÀàÐÍ£¬´ó¼Ò¾ÍÄÜÏëµ½WindowsµÄÎļþÀàÐÍ£¬±ÈÈçfile.txt¡¢file.doc¡¢file.sys¡¢file.mp3¡¢file.exeµÈ£¬¸ù¾ÝÎļþµÄºó׺¾ÍÄÜÅжÏÎļþµÄÀàÐÍ¡£µ«ÔÚLinuxÒ»¸öÎļþÊÇ·ñÄܱ»Ö´ÐУ¬ºÍºó׺ÃûûÓÐÌ«´óµÄ¹Øϵ£¬Ö÷Òª¿´ÎļþµÄÊôÐÔÓйء£µ«ÎÒÃÇÁ˽âÒ»ÏÂLinuxÎļþµÄºó׺Ãû»¹ÊÇÓбØÒªµÄ£¬ÌرðÊÇÎÒÃÇ×Ô¼º´´½¨Ò»Ð©Îļþ£¬×îºÃ»¹ÊǼӺó׺Ãû£¬ÕâÑù×öµÄÄ¿µÄÊǽö½öÊÇΪÁËÎÒÃǵÄÔÚÓ¦ÓÃʱ·½±ã¡£
ÏÖÔÚµÄLinux×ÀÃæ»·¾³ºÍWindowsÒ»ÑùÖÇÄÜ»¯£¬ÎļþµÄÀàÐÍÊǺÍÏàÓ¦µÄ³ÌÐò¹ØÁªµÄ¡£ÔÚÎÒÃÇ´ò¿ªÄ³¸öÎļþʱ£¬ÏµÍ³»á×Ô¶¯ÅжÏÓÃÄĸöÓ¦ÓóÌÐò´ò¿ª¡£Èç¹û´ÓÕâ·½ÃæÀ´Ëµ£¬Linux×ÀÃæ»·¾³ºÍWindows×ÀÃæûÓÐÌ«´óµÄÇø±ð¡£
ÔÚLinuxÖУ¬´øÓÐÀ©Õ¹ÃûµÄÎļþ£¬Ö»ÄÜ´ú±í³ÌÐòµÄ¹ØÁª£¬²¢²»ÄÜ˵Ã÷ÎļþÊÇ¿ÉÒÔÖ´ÐУ¬´ÓÕâ·½ÃæÀ´Ëµ£¬LinuxµÄÀ©Õ¹ÃûûÓÐÌ«´óµÄÒâÒå¡£
file.tar.gz file.tgz file.tar.bz2 file.rar file.gz file.zip ... ... ÕâЩ´ó¼Ò¶¼ÊìϤ£¬Êǹ鵵Îļþ¡£ÒªÍ¨¹ýÏàÓ¦µÄ¹¤¾ßÀ´½âѹ»òÌáÈ¡£»
file.php Õâ¸ö´ó¼Ò¶¼ÖªµÀ°É£¬ÊÇÄÜÓÃphpÓïÑÔ½âÊÍÆ÷½øÐнâÊÍ£¬ÄÜÓÃä¯ÀÀÆ÷´ò¿ªµÄÎļþ£»
file.so ÕâÀàÊÇ¿âÎļþ£»
file.doc file.obt ÕâÊÇOpenOffice ÄÜ´ò¿ªµÄÎļþ£»
... ...
ÓÃһЩ¹¤¾ß´´½¨µÄÎļþ£¬Æäºó׺Ҳ²»Ïàͬ£¬¾Í¿´ÎÒÃÇÓÃʲô¹¤¾ßÁË£¬±ÈÈç Gimp£¬gedit£¬OpenOffice µÈ¹¤¾ß£¬´´½¨³öÀ´µÄÎļþºó׺ÃûÒ²²»Ò»Ñù¡£
2¡¢Linux ÎļþÀàÐÍ£»
LinuxÎļþÀàÐͺÍLinuxÎļþµÄÎļþÃûËù´ú±íµÄÒâÒåÊÇÁ½¸ö²»Í¬µÄ¸ÅÄî¡£ÎÒÃÇͨ¹ýÒ»°ãÓ¦ÓóÌÐò¶ø´´½¨µÄ±ÈÈçfile.txt¡¢file.tar.gz £¬ÕâЩÎļþËäȻҪÓò»Í¬µÄ³ÌÐòÀ´´ò¿ª£¬µ«·ÅÔÚLinuxÎļþÀàÐÍÖкâÁ¿µÄ»°£¬´ó¶àÊdz£¹æÎļþ£¨Ò²±»³ÆΪÆÕͨÎļþ£©¡£
LinuxÎļþÀàÐͳ£¼ûµÄÓУºÆÕͨÎļþ¡¢Ä¿Â¼¡¢×Ö·ûÉ豸Îļþ¡¢¿éÉ豸Îļþ¡¢·ûºÅÁ´½ÓÎļþµÈ£»ÏÖÔÚÎÒÃǽøÐÐÒ»¸ö¼òÒªµÄ˵Ã÷£»
2.1 ÆÕͨÎļþ£»
[root@localhost ~]# ls -lh install.log
-rw-r--r-- 1 root root 53K 03-16 08:54 install.log
ÎÒÃÇÓà ls -lh À´²é¿´Ä³¸öÎļþµÄÊôÐÔ£¬¿ÉÒÔ¿´µ½ÓÐÀàËÆ -rw-r--r-- £¬ÖµµÃ×¢ÒâµÄÊǵÚÒ»¸ö·ûºÅÊÇ - £¬ÕâÑùµÄÎļþÔÚLinuxÖоÍÊÇÆÕͨÎļþ¡£ÕâЩÎļþÒ»°ãÊÇÓÃһЩÏà¹ØµÄÓ¦ÓóÌÐò´´½¨£¬±ÈÈçͼÏñ¹¤¾ß¡¢Îĵµ¹¤¾ß¡¢¹éµµ¹¤¾ß... .... »ò cp¹¤¾ßµÈ¡£ÕâÀàÎļþµÄɾ³ý·½Ê½ÊÇÓÃrm ÃüÁ
2.2 Ŀ¼£»
[root@localhost ~]# ls -lh
×Ü¼Æ 14M
-rw-r--r-- 1 root root 2 03-27 02:00 fonts.scale
-rw-r--r-- 1 root root 53K 03-16 08:54 insta
Ïà¹ØÎĵµ£º
fg¡¢bg¡¢jobs¡¢&¡¢ctrl + z¶¼ÊǸúϵͳÈÎÎñÓйصģ¬ËäÈ»ÏÖÔÚ»ù±¾Éϲ»ÔõôÐèÒªÓõ½ÕâЩÃüÁµ«Ñ§»áÁËÒ²ÊǺÜʵÓõÄ
Ò»¡£& ×î¾³£±»Óõ½
Õâ¸öÓÃÔÚÒ»¸öÃüÁîµÄ×îºó£¬¿ÉÒÔ°ÑÕâ¸öÃüÁî·Åµ½ºǫִ́ÐÐ
¶þ¡£ctrl + z
¿ÉÒÔ½«Ò»¸öÕýÔÚǰִ̨ÐеÄÃüÁî·Åµ½ºǫ́£¬²¢ÇÒÔÝÍ£
Èý¡£jobs
&n ......
[root@GISDB ~]$ su - oracle
[oracle@GISDB ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 13 11:03:03 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
ORACLE instance started.
To ......
1.²é¿´ÏµÍ³ÄÚºË
#uname -a
2.²é¿´cpuÐÅÏ¢
#cat /proc/cpuinfo
3.²é¿´ÄÚ´æʹÓÃÇé¿ö
#free -m
4.²é¿´Ó²ÅÌÊ£Óà¿Õ¼ä
#df -h
5.²é¿´Ä¿Â¼Õ¼Óÿռä
#du -hs Ŀ¼Ãû
6.²é¿´µ±Ç°ÓÐÄÄЩ½ø³Ì
#ps -A
7.²é¿´µ±Ç°½ø³ÌµÄʵʱÇé¿ö
#top
8.²é¿´½ø³Ì´ò¿ªµÄÎļþ
#lsof -p
9.²é¿´Ä³¸öÎļþ±»ÄÄЩӦÓóÌÐò¶Áд
......
Ϊ Linux Ó¦ÓóÌÐò±àд DLL ÔÚ½ö½öÖ»»á±àд²å¼þµÄʱºòΪʲôҪ±àдÕû¸öÓ¦ÓóÌÐò£¿
ÎĵµÑ¡Ïî
´òÓ¡±¾Ò³
½«´ËÒ³×÷Ϊµç×ÓÓʼþ·¢ËÍ ¼¶±ð£º ³õ¼¶ Allen Wilson (wilsona@us.ibm.com), µç×ÓÉÌÎñÉè¼Æʦ, IBM 2001 Äê 10 Ô 01 ÈÕ ²å¼þºÍ DLL ͨ³£ÊÇÓÃÀ´ÎÞÐë±àдÕû¸öÐÂÓ¦ÓóÌÐò¶øÌí¼Ó¹¦Äܵļ ......