033-Unit 8 The Linux Filesystem In-Depth

default fs : ext3  other : etx2 ,msdos ,iso9660

inodes :inode-no;cp mv rm 对inode的影响

Symbolic(Soft) Link : ln -s filename [linkname]

Hard Link : ln filename [linkname]

Filetype : - ; d ; l ; b ; c ; p: named pipe file ; s : socket

check free space : df :kilobytes in fs ;-h : gitabyte ; du -sh

 Removable Media : mount /dev/hdc /media/cdrom ; unmount ; eject

usb media : /dev/sdaX-> /media/[device-id]

archive file : 打包档案 ; tar :file with inode, no compress ;

tar cvf archive_name files... 打包; tar t(v)f xxx.tar 查看

extract archive : tar xvf xxx.tar 解包

compression utilities : gzip/gunzip ; bzip2/bunzip2

compressing archives : tar z/j

posted @ 2009-08-09 21:46  qyf  阅读(114)  评论(0编辑  收藏  举报