Linux Cookbook 3
Files And Dirs
1. touch ---create a new, empty file
vi filename is also ok
2. mkdir ---make directory
mkdir -p ---to make all directories in the path
3. space in filename
use '' or "" or \
ls 'top secret'
ls "top secret"
ls top\ secret
4. cd ---change the current working dir
1)cd ---To make your home directory the current working directory
2)cd - ---Changing to the Last Directory You Visited
3)pwd ---Getting the Name of the Current Directory
5. ls ---Listing Directories
ls --color ---Listing Directories in Color
Some of the default color settings include displaying directory names in blue,
text files in white, executable files in green, and links in turquoise.
Many systems are set up to use this flag by default, so that using ls
&nbs
Ïà¹ØÎĵµ£º
×î½ü¼¸Ì죬ÐèÒª´î½¨ÐµĿª·¢»·¾³£¬Êý¾Ý±¸·ÝÎļþ32G,ÐèÒªÒÆÖ²µ½ÆäËülinux·þÎñÆ÷ÉÏ¡£ ¿ÉÒÔ²ÉÓÃÈçϵÄÃüÁî´«ÊäÎļþ¡£
1¡¢ scp Óû§Ãû@IP:Îļþ·¾¶ ±¾µØ·¾¶¡££¨ÐèÒª¸ù¾ÝÌáʾÊäÈëÃÜÂ룩
ÀýÈ磺
scp test@10.10.10.10:/mnt/sbap1210.dmp /data/sbap/myoraclebak
2¡¢echo mget -c Òª´«Êäµ ......
http://tldp.org/HOWTO/Linux-i386-Boot-Code-HOWTO/kernel_head.html
http://bbs.tongji.net/thread-258437-1-1.html
http://www.diybl.com/course/6_system/linux/Linuxjs/200871/129588_6.html
http://mmdoc.sourceforge.net/mmdoc/node12.html ......
ÍæתLinux shellÃüÁîÌáʾ·û
תÔØ×Ô http://www.cnblogs.com/starspace/archive/2009/02/21/1395600.html
Èç¹ûÄúºÜÈÝÒ×ʹ shell ÌáʾÐбäµÃÉ«²ÊѤÀÃìµÇÒ´øÓиü¶àÐÅÏ¢£¬ÎªÊ²Ã´»¹Òª¼á³ÖÓõ¥µ÷µÄ±ê×¼ shell ÌáʾÐÐÄØ£¿ÔÚÕâƪ¼¼ÇÉÖУ¬Daniel Robbins ½«ËµÃ÷ÈçºÎ»ñµÃ·ûºÏÄúµÄÒâÔ¸µÄ shell ÌáʾÐУ¬²¢»á˵Ã÷ÈçºÎ¶¯Ì ......
linuxÏ»ñÈ¡±¾»úIPµØÖ·
·½·¨Ò»£º
local_host="`hostname --fqdn`"
local_ip=`host $local_host | awk '{print $NF}'`
·½·¨¶þ£º
/sbin/ifconfig |grep -Eo '\baddr:[^ \t]+' |grep -Eo '[0-9\.]+' |head -n1
......
linuxϵÄlddÃüÁî(ת)
1¡¢Ê×ÏÈldd²»ÊÇÒ»¸ö¿ÉÖ´ÐгÌÐò£¬¶øÖ»ÊÇÒ»¸öshell½Å±¾
2¡¢lddÄܹ»ÏÔʾ¿ÉÖ´ÐÐÄ£¿éµÄdependency£¬ÆäÔÀíÊÇͨ¹ýÉèÖÃһϵÁеĻ·¾³±äÁ¿£¬ÈçÏ£º LD_TRACE_LOADED_OBJECTS¡¢LD_WARN¡¢LD_BIND_NOW¡¢LD_LIBRARY_VERSION¡¢ LD_VERBOSEµÈ¡£µ±LD_TRACE_LOADED_OBJECTS»·¾³±äÁ¿²»Îª¿Õʱ£¬ÈκοÉÖ´ÐгÌÐòÔÚÔËÐÐʱ ......