Articles
By greenlaw
Published: December 5, 2007
Print
Emailid -a: Show User ID & Group
grep -sR: Recursive grep through directores; squash irritating errors about unreadable files/directories
rpm -ivh
rpm -Uvh : package(s).rpm : upgrade system with rpms
rpm -e
rpm -q
rpm -q -i package : show all package metadata
rpm -q -f path/file : What package does file belong to?
Essential Aliases
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' : (sh formatted) print an ASCII graphic of the current directory tree.
alias ci "ci -u" - Corrects RCS's annoying habit of erasing local files when you check them in!
Essential Startup Services:
Start a service (NetworkManager) right now: /sbin/service NetworkManager start
Start a service (NetworkManager) on Boot: /sbin/chkconfig NetworkManager on
Essential Scripts:
dirtree: http://www.centerkey.com/tree/
(if it's missing, try this in sh) ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
View Comments (0)
The Greenlaws.