411 REFERENCE · Wikibooks
Linux command and other help
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Linux commands and other help
Rana Rizwan Ahmed
English
Linux
2011
Linux commands and other help
rpm -qpi filename.rpm ---- get information
rpm -i filename.rpm ---- install package
rpm -e package ---- uninstall package
find . -iname file* ---- search file* case insensitive under current directory recursively
mkbootdisk --device /dev/fd0 'uname -r' ---- Make boot Disk
dd if = /dev/fd0 of = $home/bootdisk.img bs=1440 ---- backup floppy image to disk
dd if =$home/bootdisk.img of =/dev/fd0 ---- restore image from disk to floppy
df ---- disk free (report filesystem disk space usage)
mount -a /dev/scd0 /mnt/cdrom ---- mount a cd-r disc
tar -zxvf filename.tar ---- tar uncompress from filename.tar
tar -zcvf filename.tar /pkgs ---- tar directory /pkgs in recursively to filename.tar
tar -xIf filename.bz2 ---- uncompress bz2 support
su ---- become supervisor
umount /dev/cdrom ---- unmount cdrom
mount -t vfat /dev/hda? /mnt/win_c ---- mount a win9x partition /dev/hda? in /mnt/win_c with fat support
lilo -v ---- active /etc/lilo.conf configure