分类: LINUX
2007-07-21 15:04:02
- tar -cvfz example.tar.gz example - note: gzip must exist.
- tar -xvzf example.tar.gz example
- tar -cvfj example.tar.bz2 example - note: bzip2 must exist.
- tar -xjfv example.tar.gz example
- tar -cvf example.tar example
- tar -tf example.tar
- tar -rvf example.tar file1
- tar --delete -vf example.tar file1
- mount -a
- mount -t vfat /dev/hda6 /mnt/win_d support chinese: - mount -t vfat -o codepage=936,iocharset=cp936 /dev/hda7 /mnt/cdrom
- mount /mnt/cdrom
- mount -o loop -t iso9660 FC5_disc_1.iso /mnt/cdrom
- umount /mnt/win_d - umount /mnt/cdrom
用linux rescue光盘引导系统, 将原来/分区挂接上来,作法如下: cd /mnt mkdir hd mount -t auto /dev/hdaX(原来/分区所在的分区号) hd cd hd chroot ./ passwd root
- rpm -qa
- rpm -qi gaim
- rpm -ivh vim-4.6-4.i386.rpm
- rpm -e vim
- rpm -V vim
- netstat -a
- netstat -e -s
- netstat -r - route PRINT