xrandr -q = srceen resolution
yum clean all =
yum clean headers =
yum clean metadata =
yum clean packagename = clean packages left in cache
yum –enablerepo =livna install mplayer = enable livna repo & install mplayer
yum –disablerepo = livna search php = disable livna repo and search other repos for php
yum groupinfo =
yum grouplist =
yum groupinstall XFCE = installs entire group XFCE
yum groupremove php = remove entire php group
yum groupupdate XFCE = updates for group XFCE
yum install php/perl/etc = installs packages
yum install php* = installs all php packages
yum install hwbrowser =
yum install lshw =
yum list available = lists all packages available for installation
yum list extras – packages not installed from any repo
yum list installed = lists all installed softwares
yum list php* = lists all php packages
yum list updates = updates available
yum list updates php = updates available for php
yum localinstall xyz.rpm = installs packages from the HDD or CD/DVD
yum remove php = remove php
yum search “php” =
yum update php/perl/etc = updates packages
yum whatprovides php =
———————————————————————————————————–
. = current directory
.. = parent directory
!! = repeat the last command
!1003 = call a particular command
!?php? = run last command containing the string php
!rpm = run the last rpm command
!yum = run the last yum command
fc 140 = opens command number 140 in vi editor
per* = without asteriks press ‘Tab’ key once to complete the command
—————————————————————————————-