<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3959189707324799526</id><updated>2011-07-07T15:37:46.010-07:00</updated><title type='text'>Fedora Linux Commands</title><subtitle type='html'>This is a place for all Fedora users and Linux lovers. Please keep replying to the posts in order to make this blog a better learning place. Thanks.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-7815535428435748985</id><published>2011-05-06T23:26:00.000-07:00</published><updated>2011-05-06T23:32:15.191-07:00</updated><title type='text'>All commands in alphabetical order</title><content type='html'>about:cache = type this in firefox url and it gives cache size&lt;br /&gt;alias = lists aliases &lt;br /&gt;apropos php = info about php modules&lt;br /&gt;alsactl -v = prints alsa mixer's version&lt;br /&gt;amixer = info about amixer component&lt;br /&gt;amixer info = info about amixer&lt;br /&gt;amixer -c = available amixer controls&lt;br /&gt;anacron -v = version of anacron&lt;br /&gt;aplaymidi -v = version of aplay&lt;br /&gt;apm -v = version of apm &lt;br /&gt;apropos php = info about all php modules&lt;br /&gt;arecord -v = version of arecord&lt;br /&gt;&lt;br /&gt;bc = starts a command line calculator&lt;br /&gt;&lt;br /&gt;cal = shows calendar&lt;br /&gt;cal 2009 = shows 2009 calendar&lt;br /&gt;cal -j = prints current month's calendar where days are numbered&lt;br /&gt;cal -m = pritns current month's calendar where Monday is the 1st day&lt;br /&gt;cal -y = prints current year's calendar&lt;br /&gt;cal 12 2005 = prints December month of 2005&lt;br /&gt;&lt;br /&gt;cat /var/log/yum.log&lt;br /&gt;cat /var/log/yum.log | grep mysql = mysql install and update dates&lt;br /&gt;cat /proc/meminfo = prints memory info&lt;br /&gt;cat /proc/cpuinfo = prints cpu info&lt;br /&gt;cat /proc/devices = list of devices&lt;br /&gt;cat /proc/statistics = disk statictics&lt;br /&gt;cat /proc/filesystems = file system info&lt;br /&gt;cat /proc/interrupts = IRQ channel assignments&lt;br /&gt;cat /proc/iomem = physical memory addresses&lt;br /&gt;cat /proc/ioport = virtual memory addresses&lt;br /&gt;cat /proc/keys = list of keys kept by kernel&lt;br /&gt;cat /proc/loadavg = shows 1 5 15 min load averages&lt;br /&gt;cat /proc/misc = list of devices&lt;br /&gt;cat /proc/modules = list of loaded modules&lt;br /&gt;cat /proc/mounts = list of mounts&lt;br /&gt;cat /proc/partitions = list of partitions&lt;br /&gt;cat /proc/mdstat = RAID status&lt;br /&gt;cat /proc/stat = kernel statictics&lt;br /&gt;cat /proc/swaps = list of swaps&lt;br /&gt;cat /proc/uptime = uptime in seconds&lt;br /&gt;cat /proc/version = kernel version&lt;br /&gt;cat /var/xyz.txt = prints output of a file&lt;br /&gt;cat /selinux/enforce = current status of selinux&lt;br /&gt;cat /etc/shells = lists all installed shells on the os&lt;br /&gt;cat /etc/inittab = info about run levels&lt;br /&gt;cat filename | sort = sorting output in alphabetical order&lt;br /&gt;cat filename.txt | less = shows contents of the file, scroll bar fixed, q to quit&lt;br /&gt;cat filename.txt | more = shows contents of the file, page by page, spacebar to another page&lt;br /&gt;cat /etc/x11/xorg.conf = monitor info&lt;br /&gt;cat -s filename.txt = shows consecutive blank lines as one&lt;br /&gt;cat -n filename.txt = shows all lines with numbers&lt;br /&gt;cat -b filename.txt = shows only none-blank lines with numbers  &lt;br /&gt;cat filename.txt | head = gives top 10 lines ie head of the file&lt;br /&gt;cat filename1 filename2 &gt; filename3 = merges the files&lt;br /&gt;cat filename1 filename2 &gt;&gt; filename3 = adds contents to another files&lt;br /&gt;cat /etc/fstab = list of all devices&lt;br /&gt;cat /etc/filesystems = of file systems&lt;br /&gt;cat /etc/fedora-release = Fedora release/version no &lt;br /&gt;cat /etc/issue = Linux distro name&lt;br /&gt;cat /var/log/messages | grep -F ntpd = &lt;br /&gt;cat /var/log/wtmp = lists all logins and logouts&lt;br /&gt;cat /run/utmp = lists last reboots and shutdowns&lt;br /&gt;cat /bin/ls | strings = lists all ASCII text in ls&lt;br /&gt;&lt;br /&gt;cat abc.txt | tr '[a-z]' '[A-Z]' = converts file into uppecase&lt;br /&gt;cat abc.txt | tr '[a-z]' '[A-Z]' &gt; uppecase.txt = converts file into a new file &lt;br /&gt;&lt;br /&gt;cat /usr/include/asm/unistd.h = list of system calls&lt;br /&gt;cat /usr/include/asm/unistd.h | wc -l = number of system calls&lt;br /&gt;&lt;br /&gt;cd / = takes into root directory&lt;br /&gt;cdrecord -scanbus = lists available cd/dvd devices&lt;br /&gt;&lt;br /&gt;chkconfig –list mysqld = mysql configuration details&lt;br /&gt;chsh username /bin/bash = &lt;br /&gt;chsh -s new-shell username = change the default shell to a new one&lt;br /&gt;clear = clears the screen/prompt&lt;br /&gt;&lt;br /&gt;chmod o=rwx, g=rw, u=r /usr/local/bin = change file permissions&lt;br /&gt;chmod ogu=rwx /usr/local/bin = change file permissions&lt;br /&gt;&lt;br /&gt;convert imagename.jpg imagename.png = converts jpg image into png&lt;br /&gt;convert imagename.gif imagename.bmp = converts gif image into bmp&lt;br /&gt;convert imagename.tiff imagename.pcx = converts tiff image into pcx&lt;br /&gt;convert -resize 340x140 image1.jpg image2.jpg = resizes jpg image &lt;br /&gt;convert -sample 50%x50% image1.jpg image2.jpg = resizes jpg image&lt;br /&gt;convert -rotate 90 image1.jpg image2.jpg = rotates jpg image 50 degrees&lt;br /&gt;convert -fill blue -pointsize 80 -font helvetica -draw 'text 10,50 “my image”' img1.jpg img2.jpg = inserts text into jpg image &lt;br /&gt;convert -thumbnail 120x120 a.jpg b.png = converts jpg image into png image&lt;br /&gt;convert -thumbnail 120x120 -polaroid 8 a.jpg b.png = converts into polaroid picture &lt;br /&gt;convert -thumbnail 120x120 -polaroid 8 -rotate 8 a.jpg a-c.png = converts and rotates&lt;br /&gt;convert -sepia-tone 75% imga.jpg imgb.png = changes tone of image&lt;br /&gt;convert -charcoal 5 house.jpg char-house.png = changes tone of image&lt;br /&gt;convert -colorize 175 house.jpg color-house.png = changes color of image&lt;br /&gt;&lt;br /&gt;Ctrl+Alt+delete = restarts Linux&lt;br /&gt;Ctrl+Alt+backspace = restarts login screen&lt;br /&gt;Ctrl+Shift+Ins(Insert) = pasting something from other source ie web page etc to command prompt&lt;br /&gt;Ctrl+C = clear the command line if the output keeps running.....&lt;br /&gt;&lt;br /&gt;date = prints today's date&lt;br /&gt;date ‘+%A %B %d %G’ = display day, month, day of month, year&lt;br /&gt;date ‘+The date today is %F.’ = displays date in yyyy-mm-dd format&lt;br /&gt;date --date=’2 weeks’ = displays date two weeks from today&lt;br /&gt;date –date='20 days' = displays date 20 days from today&lt;br /&gt;date –date='2 months' = displays date 2 months from today&lt;br /&gt;date –date='2 years' = displays date 2 years from today&lt;br /&gt;date –date=’2 years 2 months 2 days’ = displays date 2 years 2 months 2 days from today&lt;br /&gt;date --date=’14 Jul’ +%A = display day on which July 14 falls&lt;br /&gt;&lt;br /&gt;diff oldfile.txt newfile.txt = checks difference between two files&lt;br /&gt;&lt;br /&gt;dig yahoo.com = gives info about yahoo website&lt;br /&gt;&lt;br /&gt;dmesg = a summary of hardware profile&lt;br /&gt;dmesg | head n -5 = shows first 5 lines&lt;br /&gt;dmesg | head -5 = shows first 5 lines&lt;br /&gt;dmesg | tail -n 4 = shows last 4 lines&lt;br /&gt;dmesg | tail -4 = shows last 4 lines&lt;br /&gt;dmesg | grep ATA = shows lines containing ATA &lt;br /&gt;dmidecode = BIOS info&lt;br /&gt;dmidecode | head -n10 = first 10 lines of BIOS info&lt;br /&gt;dmidecode –-type baseboard = baseboard info&lt;br /&gt;dmidecode –-type cache = cache info&lt;br /&gt;dmidecode –-type chassis = chassis info&lt;br /&gt;dmidecode –-type connector = connector info&lt;br /&gt;dmidecode –-type memory = memory info&lt;br /&gt;dmidecode –type processor = processor info&lt;br /&gt;dmidecode –-type slot = slot info&lt;br /&gt;dmidecode –-type system = system info&lt;br /&gt;dmidecode –-type wrongtype = gives right words/types&lt;br /&gt;&lt;br /&gt;dos2unix abc.txt xyz.txt = converts file into unix format&lt;br /&gt;&lt;br /&gt;dvdrecord -scanbus = lists dvd devices&lt;br /&gt;&lt;br /&gt;df -h = free hard drive space&lt;br /&gt;df = free hard drive space&lt;br /&gt;du -sh = disk usage&lt;br /&gt;du -h = hard drive usage&lt;br /&gt;&lt;br /&gt;dialog –msgbox “Hello” 8 12 = create dialog box &lt;br /&gt;dialog –title “Check me” --checklist “Pick numbers” 12 15 2 1 “First” “on” 2 “Second” “off” = create checklist&lt;br /&gt;&lt;br /&gt;echo $SHELL = prints the default shell name&lt;br /&gt;echo $OSTYPE = prints the operating system name&lt;br /&gt;echo 'text' = prints what is held in the quotes&lt;br /&gt;echo $HOME = prints home directory&lt;br /&gt;echo $USER = who is currently using the system&lt;br /&gt;echo $HISTFILE = location of history file&lt;br /&gt;echo $HISTFILESIZE = history's set size&lt;br /&gt;echo $HISTSIZE = history's set size&lt;br /&gt;echo “test” | mail -v -s test xyz@abc.com = sending e-mail from a terminal&lt;br /&gt;&lt;br /&gt;ethtool eth0 = info about ethernet connection&lt;br /&gt;ethtool -i eth0 = driver for ethernet&lt;br /&gt;ethtool -S eth0 = statictics for ethernet&lt;br /&gt;ethtool l0 = info about local loop&lt;br /&gt;&lt;br /&gt;egrep “one/two/three” filename = looks for any of these 3 words in a file&lt;br /&gt;env = prints all environment variables&lt;br /&gt;expr 7 + 8 = simple command based calculator (mind the spaces in the equation)&lt;br /&gt;&lt;br /&gt;/etc/init.d/httpd status = service status&lt;br /&gt;/etc/init.d/mysqld start = starts mysql server&lt;br /&gt;/etc/init.d/oracle-xe start = starts oracle server&lt;br /&gt;&lt;br /&gt;exec ls -l = runs ls command and closes the terminal&lt;br /&gt;exec uptime = runs uptime command and closes terminal&lt;br /&gt;&lt;br /&gt;fc -l = short command history&lt;br /&gt;fdisk -l = list of partitions on the hdd&lt;br /&gt;fdisk -l /dev/hda = partitions within a specific partition&lt;br /&gt;fdisk /dev/hda = master device on IDE channel 0&lt;br /&gt;fdisk /dev/hdb = slave device on IDE channel 0&lt;br /&gt;fdisk /dev/hdc = master device on IDE channel 1&lt;br /&gt;fdisk /dev/hdd = slave device on IDE channel 1&lt;br /&gt;&lt;br /&gt;find /usr/bin -amin -30 = finds files accessed in last 30 minutes in /usr/bin &lt;br /&gt;find /usr/bin -atime +50 = finds files not accessed for than 50 days &lt;br /&gt;find /usr/bin -perm 750 = finds files with permission 750&lt;br /&gt;find /usr/bin -user root = finds files owned by root in /usr/bin&lt;br /&gt;find /usr/bin -user root | wc -l = calculates total no of files owned by root&lt;br /&gt;find ! /usr/bin -user root = finds files not owned by user root&lt;br /&gt;find ! /usr/bin -user root | wc -l = calculates no of files not owned by root &lt;br /&gt;find -iname filename.ext = finds a file by name&lt;br /&gt;find . = lists all files and subdirectories in the current directory&lt;br /&gt;find . -size +200M = finds files more than 200M in size&lt;br /&gt;find . -size +200M -ls = more details&lt;br /&gt;find . -name *.txt -size +40K = finds .txt file names of more than 40 k in size&lt;br /&gt;find /usr/share/docs | xargs grep -l 'keyword' = finds files that contain the keyword from documents&lt;br /&gt;finger = log in details&lt;br /&gt;&lt;br /&gt;free = memory usage in kb&lt;br /&gt;free -b = memory usage in mb&lt;br /&gt;free -m = memory usage in blocks&lt;br /&gt;free -mt = memory usage in totals&lt;br /&gt;free -g = memory usage in gigabytes&lt;br /&gt;free -s 5 = update memory usage every 5 seconds&lt;br /&gt; &lt;br /&gt;fuser -amuv /boot = shows processes with /boot open (a = all, m = man, u = user, v = verbose)&lt;br /&gt;fuser /boot = shows parent pids for processes opening /boot&lt;br /&gt;fuser -m /boot = shows pids for processes opening /boot&lt;br /&gt;fuser -u /boot = shows pids for user&lt;br /&gt;fuser -k /boot = kills all processes with /boot files open&lt;br /&gt;fuser -l = lists supported signals&lt;br /&gt;fuser -k -HUP /boot = kills all processes running /boot by sending HUP signal &lt;br /&gt;&lt;br /&gt;getenforce = status of selinux&lt;br /&gt;gdmsetup = display configuration client/gui&lt;br /&gt;glxinfo = graphics card info&lt;br /&gt;glxinfo | direct = check if direct randering is on&lt;br /&gt;&lt;br /&gt;gnome-terminal -x alsamixer = stars terminal with alsamixer displayed&lt;br /&gt;gnome-terminal -tab -tab -tab = stars terminal with 3 open tabs&lt;br /&gt;gnome-terminal -geometry 80*20 = stars terminal 80 characters and 20 lines&lt;br /&gt;gnome-terminal -zoom=2 = stars terminal with larger fonts&lt;br /&gt;&lt;br /&gt;grep india /usr/share/dict/words = looks for the word 'india' in dictionary&lt;br /&gt;grep “word” filename.txt = prints lines with the “word ” in them&lt;br /&gt;grep –color “word” filename.txt = prints lines with the word in color&lt;br /&gt;grep 300 filename.txt = prints lines with 300 in them&lt;br /&gt;grep -n “word” filename = line numbers with the word in them printed&lt;br /&gt;grep -vn “word” filename = lines without the “word” in them&lt;br /&gt;grep -c “word” filename = total no. of occurrences of “word”&lt;br /&gt;grep -n “word” * = lists all lines from all files that contain “word”&lt;br /&gt;grep -R myword /etc/bin* = lists lines with their file names in the directory containing myword&lt;br /&gt;grep -h -R myword /etc/bin* = lists lines without their file names containing myword&lt;br /&gt;grep -Rn myword /etc/bin* = lists lines containing myword with their numbers &lt;br /&gt;grep –color -R myword /etc/bin* = lists lines in the directory containing myword in color&lt;br /&gt;grep -Rl myword /etc/bin* = lists file names in the directory containing myword&lt;br /&gt;grep -x “word” * = only “word” a line&lt;br /&gt;grep word filename.txt = searchers for the word in the file (case sensitive)&lt;br /&gt;grep word -n filename.txt = lists lines containing word with their numbers&lt;br /&gt;grep -i word filename = searchers for the word in the file (i = not case sensitive)&lt;br /&gt;grep -i word1 word2 filename = searchers for the word in the file&lt;br /&gt;groups = list of groups&lt;br /&gt;&lt;br /&gt;gzip = only zips, gunzip = unzips + untars, tar = zips + unzips with czvf, xzvf&lt;br /&gt;gzip abc.txt = zips a file&lt;br /&gt;gzip -1 abc.txt = fast compression but poor quality&lt;br /&gt;gzip -9 abc.txt = slow compression but good quality&lt;br /&gt;gzip -rv foldername = zips all files in the folder&lt;br /&gt;gzip -tv abc.txt.gz = checks integrity if gz file with verbose&lt;br /&gt;gzip -lv abc.txt.gz = gives info about gz file &lt;br /&gt;gunzip -v abc.txt.gz = unzips gz file with verbose&lt;br /&gt;gunzip -c abc.tar.gz | tar x = unzips and untars a file (two steps)&lt;br /&gt;gunzip abc.tar.gz; tar xf abc.tar = unzips then untars a file (two steps)&lt;br /&gt;&lt;br /&gt;hal-device-manager = opens a gui for hardware profiling&lt;br /&gt;head -6 .bash_history = first 6 commands&lt;br /&gt;head -5 filename.txt = prints first 5 lines of the file &lt;br /&gt;head -n 5 filename.txt = prints first 5 lines of the file&lt;br /&gt;&lt;br /&gt;history 5 = last five commands&lt;br /&gt;history | wc -l = total history commands&lt;br /&gt;history | grep rpm = search through history for rpm commands&lt;br /&gt;history = list of all commands used so far&lt;br /&gt;&lt;br /&gt;hostname = name of the host&lt;br /&gt;hwclock –show = prints today's date and time&lt;br /&gt;hwclock –set –date =”2/22/2008 12:25:30” = reset new time and date&lt;br /&gt;&lt;br /&gt;identify imagename.jpg = gives image info&lt;br /&gt;identify -verbose imangename.jpg | less = gives info about image &lt;br /&gt;identify -verbose imangename.jpg | more = gives more info about image &lt;br /&gt;id = info about user/root's groupid/uid etc&lt;br /&gt;ifconfig = network card info, ipaddress etc. &lt;br /&gt;ifconfig -a = available network cards&lt;br /&gt;info coreutils = info about core commands&lt;br /&gt;iostat 3 = checks disk reads&lt;br /&gt;iostat -c 3 = updates cpu usage&lt;br /&gt;iostat -c -t = cpu usage with time &lt;br /&gt;iostat -c -t 2 10 = repeat cpu usage info every 2 seconds 10 times&lt;br /&gt;ip a = available network interfaces &lt;br /&gt;ip addr = ip addresses by method of connection ie ppp0&lt;br /&gt;ip addr show eth0 = ip address for ethernet connection&lt;br /&gt;ip calc -bnm 192.168.0.1/27 = displays netmast ip from CIDR&lt;br /&gt;ip route = checks routing table&lt;br /&gt;isoinfo = info about iso&lt;br /&gt;iwconfig = checks for wireless connection&lt;br /&gt;iwlist = checks for a wireless access point&lt;br /&gt;&lt;br /&gt;kded –version = kde version&lt;br /&gt;kde-config –version = kde version&lt;br /&gt;&lt;br /&gt;kill 23456 = kills process with id 23456&lt;br /&gt;kill -9 1234 = sends SIGKILL to id 1234&lt;br /&gt;kill -SIGCONT 1234 = sends SIGCONT to id 1234&lt;br /&gt;kill 4% = kills the process represented by 4% job&lt;br /&gt;kill sttd = kills all sttd daemons running&lt;br /&gt;&lt;br /&gt;last = last log in details&lt;br /&gt;lastlog [-u root] = last log in time&lt;br /&gt;last [root] = entire log in history, the feature needs to be activated first&lt;br /&gt;lastb [root] = prints failed login attempts &lt;br /&gt;&lt;br /&gt;less filename.txt = prints contents of the file, scroll bar fixed, Press q to quite and spacebar to go to  another page&lt;br /&gt;less filename.txt = prints contents of the file, scroll bar fixed, press spacebar&lt;br /&gt;less filename /word = searches for word  &lt;br /&gt;&lt;br /&gt;ln -s originalfile newfile = creates a symbolic link to new file&lt;br /&gt;locate xyz = locates file xyz case-sensitive&lt;br /&gt;locate -i xyz = locates file xyz not case-sensitive&lt;br /&gt;locate -r /ls$ = locates files ending in /ls&lt;br /&gt;locate -r james*bond = locate files with james and bond in their names&lt;br /&gt;locate -r ^ boot/grub/me = locate files beginning with boot/grub/me&lt;br /&gt;locate *.jpg &gt; Desktop/myjpgs.txt = stores results of search in a file named myjpgs.txt &lt;br /&gt;lsmod = lists kernel modules installed&lt;br /&gt;lsmod | sort -k 2,2n = sorts kernel modules in increasing size order&lt;br /&gt;&lt;br /&gt;ls /var/www/html/*.html = lists all html files&lt;br /&gt;ls .??* = lists all directory names that start with a dot .&lt;br /&gt;ls /etc/rc.d = prints all directories for all available run levels&lt;br /&gt;ls /etc/rc.d/init.d = list of system services' scripts&lt;br /&gt;ls -l = lists files and folders in the current directory&lt;br /&gt;ls -la = lists hidden files and folders in the current directory with a dot&lt;br /&gt;ls li = files with their inodes&lt;br /&gt;ls -lt = files recently modified&lt;br /&gt;ls -lu = lists files by their accss time&lt;br /&gt;ls -ln = user names and groups numerically displayed&lt;br /&gt;ls -lh = human readable file sizes&lt;br /&gt;ls -lR = displays all the files and their folders&lt;br /&gt;ls -F = lists files by type&lt;br /&gt;ls -c = lists files columnwise&lt;br /&gt;ls –color =always = shows filenames in colors&lt;br /&gt;&lt;br /&gt;ls -l /var/lib/rpm = rpm database &lt;br /&gt;ls = lists contents of a directory&lt;br /&gt;ls . = lists contents of a directory&lt;br /&gt;ls .. = lists contents of a directory&lt;br /&gt;ls / = lists all system directories&lt;br /&gt;ls = lists directories in current directory&lt;br /&gt;ls /var = lists all subdirectories under the /var directory &lt;br /&gt;ls /proc | wc -l = number of subdirectories in /proc directory&lt;br /&gt;ls -ltr = &lt;br /&gt;ls -l filename.ext = checks permissions for a file&lt;br /&gt;ls -l /etc = permission status of all subdirectories&lt;br /&gt;ls -a = shows hidden . Dot directories. A kind of special configuration files not be messed with&lt;br /&gt;ls tr | '\n' ' ' = replaces all newline characters with spaces&lt;br /&gt;ls tr | -d '\n' = deletes newlines &lt;br /&gt;ls /var/lib/mysql = list of databases in blue color &lt;br /&gt;&lt;br /&gt;lsof = list of open directories and files&lt;br /&gt;lsof -c bash = list of files open by bash shells&lt;br /&gt;lsof -d cwd  = list of directories open as current working directory&lt;br /&gt;lsof -u james = list of files and directories open by user james&lt;br /&gt;lsof /mnt/sda1 = list of anything open on /mnt/sda1 file system&lt;br /&gt;lsof +d /mnt/sda1/dx = list of anything open under /mnt/sda1/dx directory&lt;br /&gt;&lt;br /&gt;lpadmin = Linux printer details&lt;br /&gt;lspci = info about pci devices/ports&lt;br /&gt;lspci | grep VGA = graphics card info&lt;br /&gt;lspci | grep audio = audio card info&lt;br /&gt;lspci | grep -i modem = modem info&lt;br /&gt;lspci | grep -i usb = usb ports info&lt;br /&gt;lspci | grep -i ethernet = ethernet card info&lt;br /&gt;&lt;br /&gt;man -f php = info about php modules&lt;br /&gt;man -k php = info about php modules&lt;br /&gt;man php = php manual pages&lt;br /&gt;man man = info about manual pages and their format&lt;br /&gt;man 3 php = shows entries for php in 3rd section of the manual&lt;br /&gt;man php | grep word = searches for a particular word in php manual&lt;br /&gt;man hier = info about directories&lt;br /&gt;md5sum xyz.iso = checksum verification&lt;br /&gt;more filename.txt = shows contents of a file page by page (press spacebar)&lt;br /&gt;mount = files system type per device&lt;br /&gt;mount /mnt/cdrom = mounts cd rom&lt;br /&gt;mysql = launches mysql&lt;br /&gt;mysql -u root -p = asks for a password to launch mysql&lt;br /&gt;my old.txt new.txt = renames a file&lt;br /&gt;&lt;br /&gt;netstat = info about active Internet connections&lt;br /&gt;netstat -i = netstat statictics&lt;br /&gt;netstat -tanp = shows active tcp connections&lt;br /&gt;netstat -uanp = shows active udp connections&lt;br /&gt;&lt;br /&gt;od -c -t x1 filename.txt = list of newline characters in Linux&lt;br /&gt;&lt;br /&gt;ogg123 mysong.ogg  = plays ogg file&lt;br /&gt;ogg123 http://xyz.com/music/audio.ogg = plays from web address&lt;br /&gt;ogg123 -z *.ogg = play files in pseudo-random order&lt;br /&gt;ogg123 -Z *.ogg = same -z, but repeats forever&lt;br /&gt;ogg123 /var/music/ = plays songs in /var/music and sub dirs&lt;br /&gt;ogg123 -@myplaylist = plays songs from playlist&lt;br /&gt;&lt;br /&gt;pgrep httpd = gives process id for httpd&lt;br /&gt;pgrep -l init = gives process id for processes containing init as string&lt;br /&gt;ps -lu james = all processes owned by james&lt;br /&gt;php --help = shows all php help pages in full&lt;br /&gt;php --help | less = shows limited php help pages, scroll bar fixed, q to exit&lt;br /&gt;php -v = php version&lt;br /&gt;php --version = php version&lt;br /&gt;pirut = &lt;br /&gt;passwd = asks for a new password for root&lt;br /&gt;&lt;br /&gt;play musicfilename.wav = plays music file&lt;br /&gt;play *.wav = plays all wav files upto 32&lt;br /&gt;play audio.au vol. 6 = plays audio file with volume level 6&lt;br /&gt;play -r 12000 short.aiff = sampling rate of 12000&lt;br /&gt;&lt;br /&gt;ps ajfx = process hierarchy in BSD style&lt;br /&gt;ps ax = lists all running processes&lt;br /&gt;ps aux = lists all running processes with BSD cycle&lt;br /&gt;ps auwx = running processes with wide format&lt;br /&gt;ps auwwx = running processes with unlimited width&lt;br /&gt;ps auwx | sort -r -k 4,4 = sort processes on descending memory usage &lt;br /&gt;ps auwx | head -4 = prints first 4 lines of a process&lt;br /&gt;ps auwx | head -n 4 = prints first 4 lines of a process&lt;br /&gt;ps auwx | tail -4 = prints last 4 lines of a process&lt;br /&gt;ps auwx | tail -n 4 = prints last 4 lines of a process&lt;br /&gt;ps auwx | less = shows contents of a process, scroll bar fixed&lt;br /&gt;ps auwx | more = shows contents of a process page by page (press spacebar)&lt;br /&gt;ps auwx | grep init = shows lines containing init in them&lt;br /&gt;ps auwx | grep “\[*\]” = shows bracketed comments &lt;br /&gt;ps = list of processes by current user in current shell&lt;br /&gt;ps -C httpd = process info for http&lt;br /&gt;ps -p 5323 -o pid,ppid,bsdtime,args = process info for id 5323&lt;br /&gt;ps -U james,john -o pid,ruser,tty,stat,args = process info for 2 users&lt;br /&gt;ps -e = lists all running processes&lt;br /&gt;ps -e | wc -l = number of all running processes&lt;br /&gt;ps -ef = lists all running processes with format listing&lt;br /&gt;ps -ef –forest = process hierarchy in forest format&lt;br /&gt;ps -eF = lists all running processes with full format listing&lt;br /&gt;ps -ejH = process hierarchy&lt;br /&gt;ps -el = lists all running processes with long listing&lt;br /&gt;ps -eo ppid,user,%mem,size,vsize,comm –sort=-size = multiple parameters &lt;br /&gt;ps -eo ppid,user,bsdstart,bsdtime,%cpu,args –sort=-%cpu = multiple parameters&lt;br /&gt;ps -eo ppid,user,bsdstart,bsdtime,%cpu,args –sort=-%cpu = multiple parameters&lt;br /&gt;ps -eo ppid,user,stat,tname,sess,cputime,args –sort=user = multiple parameters&lt;br /&gt;pstree = processes in alphabetical order in tree format&lt;br /&gt;ps -u root = list of processes run by user root&lt;br /&gt;ps -u root u = list of processes run by root with cpu usage&lt;br /&gt;ps -fu root = list of processes run by root with PPID&lt;br /&gt;pwd = current working directory&lt;br /&gt;pwd -P = one level up from current working directory&lt;br /&gt;pwd -L = one level down from current working directory&lt;br /&gt;&lt;br /&gt;printenv | less = prints all environment variables&lt;br /&gt;ps -ef | grep root = processed owned by root&lt;br /&gt;&lt;br /&gt;ramsize = info about ram&lt;br /&gt;reboot = reboots the pc&lt;br /&gt;redhat-logviewer = opens a GUI tool for log monitoring&lt;br /&gt;repoquery -il tomcat5 = list of files in tomcat5 package in any repo&lt;br /&gt;repoquery --provides php = info about php modules&lt;br /&gt;&lt;br /&gt;rm ~/.bash_history = clears history of commands&lt;br /&gt;rm -f *.doc = removes/deletes all files of .doc extension in a folder&lt;br /&gt;&lt;br /&gt;rpm2cpio xyz.rpm &gt; xyz.cpio = extracts cpio archive from rpm package&lt;br /&gt;rpm2cpio xyz.rpm | cpio -tv = lists the contents of archive&lt;br /&gt;rpm -e xyz = removes package xyz&lt;br /&gt;rpm -e –nodeps xyz-5.6.fc5.i386 = removes 32+ bit version of package if more versions available&lt;br /&gt;rpm -ivh xyz.rpm = install package xyz  (i=install, v=verbose, h=hash)&lt;br /&gt;rpm -ivh http://ftp.abc.com/xyz.rpm = install package xyz from the site&lt;br /&gt;rpm -Uvh xyz.rpm = update package xyz (U=update)&lt;br /&gt;rpm -q --scripts kernel |less = list of all preinstall &amp; post-install scripts&lt;br /&gt;rpm -q php = php version no.&lt;br /&gt;rpm -qi php = php install info &lt;br /&gt;rpm -qi fedora-release = Fedora installation info&lt;br /&gt;rpm -qi php/per/python/ruby = version info for the package&lt;br /&gt;rpm -qa grun = prints grub version no.&lt;br /&gt;rpm -qa php = prints php version no.&lt;br /&gt;rpm -qa | sort | pr –column=2 | less = shows installed packages in 2 columns per page&lt;br /&gt;rpm -qa | sort | pr –column=2 &gt; abc.txt = saves output to a file&lt;br /&gt;rpm -qa | sort | pr –column=2 | lpr = sends output to a printer&lt;br /&gt;rpm -qa | grep kernel | sort = sorts installed packages in alphanumeric order&lt;br /&gt;rpm -qa | grep kernel | sort -r = sorts in reverse alphanumeric order&lt;br /&gt;rpm -qa | grep php = prints version nos. of all php related packages&lt;br /&gt;rpm -qa | head = only 10 softwares listed&lt;br /&gt;rpm -qa | head -n5 = first 5 software listed&lt;br /&gt;rpm -qa | wc -l = total no of packages installed on the system&lt;br /&gt;rpm -ql php = lists all files in a particular package&lt;br /&gt;rpm -qal | grep php = find php in all installed packages&lt;br /&gt;rpm -ql php | wc -l = total no. of files in a particular package&lt;br /&gt;rpm -qa | grep php | wc -l = count the total number of php modules&lt;br /&gt;rpm -qf /var/lib/php = what package a particular file belongs to&lt;br /&gt;rpm -q --scripts mysql = scripts of a package&lt;br /&gt;rpm -qa php | wc -l = total no. of php packages&lt;br /&gt;rpm -qi php = info about php&lt;br /&gt;rpm -q –last php = installation date of php&lt;br /&gt;rpm -qi php | grep -i vendor = php vendor name&lt;br /&gt;rpm -qi fedora-release | grep -i vendor = prints vendor name from a file named fedora-release&lt;br /&gt;rpm -v = rpm version&lt;br /&gt;&lt;br /&gt;rpm -qa --queryformat '%{NAME}==%{VENDOR}\n' | grep -v "Red Hat" | sort = list of installed packages with their vendor names except Red Hat&lt;br /&gt;rpm -qa --qf '%{NAME}==%{VENDOR}\n' | grep "Red Hat" | sort = list of installed packages with their vendor name as Red Hat&lt;br /&gt;rpm -qa --qf '%{NAME}==%{VENDOR}\n' | sort = list of installed packages with their vendor names &lt;br /&gt;rpm -qa --qf '%{NAME}==%{VENDOR}\n' | grep  "Red Hat" | wc -l = total number of installed packages with Red Hat as their vendor &lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{LICENSE}\n' | sort = list of all installed packages with their licence type sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{LICENSE}\n' | wc -l = total number of installed packages with their licence type&lt;br /&gt;rpm -qa --qf '%{NAME}==%{LICENSE}\n' | grep php | sort = list of all php packages with their licence types sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{LICENSE}\n' | grep php | wc -l = total number of all php packages with their licence types&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SIZE}\n' | sort = list of all installed packages with their names and sizes in bytes sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SIZE}\n' | grep php | sort = list of all php packages with their names and sizes in bytes sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SIZE}\n' | grep php | wc -l = total number of installed php packages with their names and sizes in bytes &lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SUMMARY}\n' | sort = list of all installed packages with their names and functions sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SUMMARY}\n' | grep php | sort = list of all php packages with their names and functions sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SUMMARY}\n' | grep php | wc -l = total number of all php packages with their names and functions&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{BUILDHOST}\n' | sort = list of all installed packages with their names and buildhosts sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{BUILDHOST}\n' | grep php | sort = list of all php packages with their names and buildhosts sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{BUILDHOST}\n' | grep php | wc -l = total number of all php packages with their names and buildhosts&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{URL}\n' | sort = list of all installed packages with their names and urls sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{URL}\n' | grep php | sort = list of all php packages with their names and urls sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{URL}\n' | grep php | wc -l = total number of all php packages with their names and urls&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{ARCH}\n' | sort = list of all installed packages with their names and architecture type sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{ARCH}\n' | grep php | sort = list of all php packages with their names and architecture type sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{ARCH}\n' | grep php | wc -l = total number of all php packages with their names and  architecture type&lt;br /&gt;&lt;br /&gt;rpm –querytags = list of all rpm query tags&lt;br /&gt;rpm –querytags | wc -l = total number of rpm tags&lt;br /&gt;rpm -Va = verify all installed packages&lt;br /&gt;rpm -Va | grep php = verify php packages only&lt;br /&gt;rpm -Vv | grep php = check php packages only with verbose&lt;br /&gt;&lt;br /&gt;root = superuser, who has permission to do anything&lt;br /&gt;/root = root account's home directory&lt;br /&gt;&lt;br /&gt;sha1sum xyz.iso = checksum verification&lt;br /&gt;stat filename = prints access/modification right to a file&lt;br /&gt;set = list of all enviornmental variables&lt;br /&gt;set | wc -l = total number of enviornmental variables&lt;br /&gt;set history = 60 = history of commands set to 60&lt;br /&gt;set | less = prints all shell variables, scroll bar fixed&lt;br /&gt;&lt;br /&gt;setserial -g /dev/ttys0 /dev/ttys1 /dev/ttys2 /dev/tty3 = info about serial ports&lt;br /&gt;setserial -ga  /dev/ttys0 = info about one serial port&lt;br /&gt;stty -F /dev/ttys0 -a = info about serial port&lt;br /&gt;&lt;br /&gt;service httpd start = starts apache server&lt;br /&gt;service mysqld start = starts mysql server&lt;br /&gt;service --status-all = service status of all the services installed&lt;br /&gt;&lt;br /&gt;shutdown = shutdowns the pc&lt;br /&gt;shutdown -r = reboot&lt;br /&gt;shutdown -0 (Zero) = reboot&lt;br /&gt;shutdown – h = halt&lt;br /&gt;&lt;br /&gt;sort filename | uniq = sorting only unique lines in output &lt;br /&gt;sort&lt;filename = sorts the content alphabetically&lt;br /&gt;sort&lt;originalfilename&gt;tempfile = sorted in a separate file&lt;br /&gt;&lt;br /&gt;/sbin/ifconfig = network info&lt;br /&gt;/sbin/lspci | grep -i vga = graphics card info&lt;br /&gt;&lt;br /&gt;strings /bin/ls | grep -i libc = finds all occurrences of libc in ls&lt;br /&gt;strings /bin/ls = lists all ASCII text in ls&lt;br /&gt;su -c 'gedit /etc/yum.conf' = opens yum.conf file in gedit&lt;br /&gt;&lt;br /&gt;tail -3 ok = last 3 lines from a file named ok&lt;br /&gt;tail -6 .bash_history = last 6 commands&lt;br /&gt;tail -5 filename.txt = prints last 5 lines of the file to the screen&lt;br /&gt;tail -n 5 filename.txt = prints last 5 lines of the file&lt;br /&gt;tail -f /var/log/messages = updates size of text file as it gets bigger&lt;br /&gt;tail -f /var/log/messages  = displays system messages live&lt;br /&gt;tail -f /var/log/maillog = displays mail server messages live&lt;br /&gt;tail -f /var/log/httpd/access_log = displays web server messages live&lt;br /&gt;&lt;br /&gt;tar cvf abc.tar abc.txt = tars a file with verbose&lt;br /&gt;tar xvf abc.tar = untars a file with verbose&lt;br /&gt;tar c abc.txt | gzip -c &gt; abc.tar.gz = archives file and zips a file (two steps)&lt;br /&gt;tar czf abc.tar.gz abc.txt = archieves and zips a file (one step, z = unzip, c = create)&lt;br /&gt;tar czvf abc.tar.gz abc.txt = archieves and zips a file with verbose&lt;br /&gt;tar cjvf abc.tar.bz2 abc.txt = archieves and zips a file with bzip2&lt;br /&gt;tar xzvf abc.tar.gz = unzips and untars file (one step, x = untar)&lt;br /&gt;tar xjvf abc.tar.bz2 = unzips and untars file (one step, j = bzip2)&lt;br /&gt;&lt;br /&gt;time = prints current time&lt;br /&gt;time yum/command name = command's excution time&lt;br /&gt;top = lists process with cpu usage&lt;br /&gt;top -d 5 = changes update delay to 5 seconds (from default 3)&lt;br /&gt;top -u james = process info for user james&lt;br /&gt;top -p 190,2690 = process for for id 190 and 2690&lt;br /&gt;top -n 10 = refreshs the screen 10 times before quitting&lt;br /&gt;top -b = runs in non-interative non-screen-oriented mode&lt;br /&gt;touch name.txt = creates a file named name.txt&lt;br /&gt;touch /var/log/btmp = enables recording of bad attempts&lt;br /&gt;tree -dx = directory structure of the os&lt;br /&gt;type php = path of executables/shell commands&lt;br /&gt;&lt;br /&gt;tr a A &lt; filename.txt = replaces a with A&lt;br /&gt;tr -d a &lt; filename.txt = deletes all a characters&lt;br /&gt; &lt;br /&gt;uname = operating system name &lt;br /&gt;uname -a = architecture type&lt;br /&gt;uname -r = Linux version&lt;br /&gt;uname -o = operating system name&lt;br /&gt;uname -m = system architecture&lt;br /&gt;uname -n = host name&lt;br /&gt;uname -p = processor architecture&lt;br /&gt;uname -s = os name&lt;br /&gt;uname -v = Linux update time&lt;br /&gt;uname –hardware-platform&lt;br /&gt;uuidgen = strange key&lt;br /&gt;ulimit -a = limit on a variety of system resources&lt;br /&gt;unmount /mnt/cdrom = unmounts cd rom&lt;br /&gt;uptime = how long the computer has been up and running&lt;br /&gt;&lt;br /&gt;unix2dos abc.txt xyz.txt = converts file into dos format&lt;br /&gt;&lt;br /&gt;/usr/share/background/images = database of background images &lt;br /&gt;&lt;br /&gt;/var/log/lastlog = login database, open with vi etc&lt;br /&gt;/var/log/wtmp = history of all logins and attempts&lt;br /&gt;&lt;br /&gt;vmstat = virtual memory usage&lt;br /&gt;vmstat 5 = updates virtual memory every 5 seconds&lt;br /&gt;vmstat -k = virtual memory in 1000-byte kilobytes&lt;br /&gt;vmstat -K = virtual memory in 1024-byte kilobytes&lt;br /&gt;vmstat -m = virtual memory in 1000-kilobyte megabytes&lt;br /&gt;vmstat -M = virtual memory in 1024-kilobyte megabytes&lt;br /&gt;vmstat -m | less = kernel memory slab&lt;br /&gt;vmstat -S M -s | less = displays statictics in megabytes&lt;br /&gt;&lt;br /&gt;watch 'cat /proc/loadavg' = check command output every 2 seconds, press Ctl+C to stop...&lt;br /&gt;watch -n 10 'ls -l' = checks command ouput every 10 seconds&lt;br /&gt;watch 'ls -l download.jpg' = checks file size as it is being downloaded &lt;br /&gt;wc -w filename = no. of words in a file&lt;br /&gt;wc -l filename = no of lines&lt;br /&gt;whatis php = info about php modules&lt;br /&gt;whatis php-pdo = info about php-pdo module&lt;br /&gt;whereis php = locations of php binary, source and man pages&lt;br /&gt;whereis -m php = location/path of the php manual&lt;br /&gt;whereis -m php | awk '{print $2}' = 2nd part of the command output&lt;br /&gt;which php = full path of executables/shell commands&lt;br /&gt;who | sort = names of users logged in&lt;br /&gt;who | wc -l = no of users&lt;br /&gt;whoami = who is logged in&lt;br /&gt;who = who is logged in&lt;br /&gt;&lt;br /&gt;wget ftp.foldername.xyz.jpg = downloads a file &lt;br /&gt;&lt;br /&gt;xrandr -q = srceen resolution&lt;br /&gt;&lt;br /&gt;yum clean all = &lt;br /&gt;yum clean headers = &lt;br /&gt;yum clean metadata = &lt;br /&gt;yum clean packagename = clean packages left in cache &lt;br /&gt;yum –enablerepo =livna install mplayer = enable livna repo &amp; install mplayer&lt;br /&gt;yum --disablerepo = livna search php = disable livna repo and search other repos for php &lt;br /&gt;yum groupinfo = &lt;br /&gt;yum grouplist = &lt;br /&gt;yum groupinstall XFCE = installs entire group XFCE&lt;br /&gt;yum groupremove php = remove entire php group &lt;br /&gt;yum groupupdate XFCE = updates for group XFCE&lt;br /&gt;yum install php/perl/etc = installs packages&lt;br /&gt;yum install php* = installs all php packages&lt;br /&gt;yum install hwbrowser = &lt;br /&gt;yum install lshw = &lt;br /&gt;yum list available = lists all packages available for installation&lt;br /&gt;yum list extras – packages not installed from any repo&lt;br /&gt;yum list installed = lists all installed softwares&lt;br /&gt;yum list php* = lists all php packages&lt;br /&gt;yum list updates = updates available&lt;br /&gt;yum list updates php = updates available for php&lt;br /&gt;yum localinstall xyz.rpm = installs packages from the HDD or CD/DVD&lt;br /&gt;yum remove php = remove php&lt;br /&gt;yum search "php" = &lt;br /&gt;yum update php/perl/etc = updates packages&lt;br /&gt;yum whatprovides php = &lt;br /&gt;&lt;br /&gt;-----------------------------------------------------------------------------------------------------------&lt;br /&gt;. = current directory&lt;br /&gt;.. = parent directory&lt;br /&gt;!! = repeat the last command&lt;br /&gt;!1003 = call a particular command&lt;br /&gt;!?php? = run last command containing the string php&lt;br /&gt;!rpm = run the last rpm command&lt;br /&gt;!yum = run the last yum command&lt;br /&gt;fc 140 = opens command number 140 in vi editor&lt;br /&gt;per* = without asteriks press 'Tab' key once to complete the command&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------------------&lt;br /&gt;Using Command Line Completion&lt;br /&gt;&lt;br /&gt; tracer &lt;Tab&gt; =  Completes to traceroute command&lt;br /&gt; cd /home/ch &lt;Tab&gt; = Completes to /home/chris directory&lt;br /&gt; cd ~jo &lt;Tab&gt; = Completes to /home/john&lt;br /&gt; echo $PA &lt;Tab&gt; = Env variable completion: Completes to $PATH&lt;br /&gt; ping &lt;Alt+@&gt; &lt;Tab&gt; = Show hosts from /etc/hosts&lt;br /&gt;&lt;br /&gt;!# /bin/bash filename.sh = executing a shell script&lt;br /&gt;&lt;br /&gt;/ = root directory for the entire system&lt;br /&gt;&lt;br /&gt;Type the first few letters of a command and then press the 'Tab' key twice to list the commands that start with those letters.&lt;br /&gt;Press the 'Tab' key twice at an empty command prompt and you will get a list of all the commands.&lt;br /&gt;Manual pages for each package ie php etc. are divided into 8 sections namely general user commands, system calls, programming routines, special files, configuration files, games, miscellaneous and administrative commands and respective daemons. &lt;br /&gt;-----------------------------------------------------------------------------------------------------------&lt;br /&gt;How to install downloaded binaries:&lt;br /&gt;&lt;br /&gt;bunzip xyz.123.tra.bz2tar xyz.123./ configure&lt;br /&gt;make&lt;br /&gt;su -root (make sure you are root or someone with the install privilege)&lt;br /&gt;make install&lt;br /&gt;make clean&lt;br /&gt;----------------------------------------------------------------------------------------------------------------&lt;br /&gt;Permissions:&lt;br /&gt;&lt;br /&gt;rwx rwx rwx&lt;br /&gt;1    2     3&lt;br /&gt;u    g     o&lt;br /&gt;&lt;br /&gt;u = user&lt;br /&gt;g = group&lt;br /&gt;o = other&lt;br /&gt;r = read = 4 &lt;br /&gt;w = write = 2&lt;br /&gt;x = execute = 1&lt;br /&gt;&lt;br /&gt;+ = add user&lt;br /&gt;- = remove user&lt;br /&gt;chmod o-r = remove/delete the read permission from other group&lt;br /&gt;g+w = add write permission to group&lt;br /&gt;-------------------------------------------------------------------------------------------------------------&lt;br /&gt;MySQL:&lt;br /&gt;&lt;br /&gt;grant all privileges on *.* to root@”localhost” identified by 'password';&lt;br /&gt;grants all privileges on all databases to root &lt;br /&gt;-------------------------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-7815535428435748985?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/7815535428435748985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2011/05/all-commands-in-random-order.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/7815535428435748985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/7815535428435748985'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2011/05/all-commands-in-random-order.html' title='All commands in alphabetical order'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-272236450298499885</id><published>2009-12-17T05:21:00.000-08:00</published><updated>2009-12-17T05:24:05.672-08:00</updated><title type='text'>Useful Links</title><content type='html'>&lt;a href="http://www.rain.org/%7Emkummel/unix.html"&gt;Useful Fedora commands&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-272236450298499885?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/272236450298499885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/12/useful-links.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/272236450298499885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/272236450298499885'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/12/useful-links.html' title='Useful Links'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-2815118978888443308</id><published>2009-04-04T03:27:00.001-07:00</published><updated>2009-04-04T03:27:34.970-07:00</updated><title type='text'>ECHO command</title><content type='html'>echo $SHELL = prints the default shell name&lt;br /&gt;echo $OSTYPE = prints the operating system name&lt;br /&gt;echo 'text' = prints what is held in the quotes&lt;br /&gt;echo $HOME = prints home directory&lt;br /&gt;echo $USER = who is currently using the system&lt;br /&gt;echo $HISTFILE = location of history file&lt;br /&gt;echo $HISTFILESIZE = history's set size&lt;br /&gt;echo $HISTSIZE = history's set size&lt;br /&gt;echo “test” | mail -v -s test xyz@abc.com = sending e-mail from a terminal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-2815118978888443308?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/2815118978888443308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/echo-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/2815118978888443308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/2815118978888443308'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/echo-command.html' title='ECHO command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-3679383990266246439</id><published>2009-04-04T03:24:00.000-07:00</published><updated>2009-04-04T03:25:06.912-07:00</updated><title type='text'>MAN command</title><content type='html'>man -f php = info about php modules&lt;br /&gt;man -k php = info about php modules&lt;br /&gt;man php = php manual pages&lt;br /&gt;man man = info about manual pages and their format&lt;br /&gt;man 3 php = shows entries for php in 3rd section of the manual&lt;br /&gt;man php | grep word = searches for a particular word in php manual&lt;br /&gt;man hier = info about directories&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-3679383990266246439?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/3679383990266246439/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/man-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/3679383990266246439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/3679383990266246439'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/man-command.html' title='MAN command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-3947075860761632147</id><published>2009-04-04T03:23:00.001-07:00</published><updated>2009-04-04T03:23:47.340-07:00</updated><title type='text'>LSPCI command</title><content type='html'>lspci = info about pci devices/ports&lt;br /&gt;lspci | grep VGA = graphics card info&lt;br /&gt;lspci | grep audio = audio card info&lt;br /&gt;lspci | grep -i modem = modem info&lt;br /&gt;lspci | grep -i usb = usb ports info&lt;br /&gt;lspci | grep -i ethernet = ethernet card info&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-3947075860761632147?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/3947075860761632147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/lspci-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/3947075860761632147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/3947075860761632147'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/lspci-command.html' title='LSPCI command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-2345636165023375970</id><published>2009-04-04T03:20:00.001-07:00</published><updated>2009-04-04T03:29:04.220-07:00</updated><title type='text'>LS command</title><content type='html'>ls /var/www/html/*.html = lists all html files&lt;br /&gt;ls .??* = lists all directory names that start with a dot .&lt;br /&gt;ls /etc/rc.d = prints all directories for all available run levels&lt;br /&gt;ls /etc/rc.d/init.d = list of system services' scripts&lt;br /&gt;ls -l = lists files and folders in the current directory&lt;br /&gt;ls -la = lists files and folders in the current directory with a dot&lt;br /&gt;ls li = files with their inodes&lt;br /&gt;ls -lt = files recently modified&lt;br /&gt;ls -lu = lists files by their accss time&lt;br /&gt;ls -ln = user names and groups numerically displayed&lt;br /&gt;ls -lh = human readable file sizes&lt;br /&gt;ls -lR = displays all the files and their folders&lt;br /&gt;ls -F = lists files by type&lt;br /&gt;ls -c = lists files columnwise&lt;br /&gt;ls –color =always = shows filenames in colors&lt;br /&gt;&lt;br /&gt;ls -l /var/lib/rpm = rpm database &lt;br /&gt;ls = lists contents of a directory&lt;br /&gt;ls . = lists contents of a directory&lt;br /&gt;ls .. = lists contents of a directory&lt;br /&gt;ls / = lists all system directories&lt;br /&gt;ls = lists directories in current directory&lt;br /&gt;ls /var = lists all subdirectories under the /var directory &lt;br /&gt;ls /proc | wc -l = number of subdirectories in /proc directory&lt;br /&gt;ls -ltr = &lt;br /&gt;ls -l filename.ext = checks permissions for a file&lt;br /&gt;ls -l /etc = permission status of all subdirectories&lt;br /&gt;ls -a = shows hidden . Dot directories. A kind of special configuration files not be messed with&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-2345636165023375970?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/2345636165023375970/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/ls-command_04.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/2345636165023375970'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/2345636165023375970'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/ls-command_04.html' title='LS command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-6396749209875355436</id><published>2009-04-04T03:19:00.001-07:00</published><updated>2009-04-04T03:19:51.475-07:00</updated><title type='text'>LOCATE command</title><content type='html'>locate xyz = locates file xyz case-sensitive&lt;br /&gt;locate -i xyz = locates file xyz not case-sensitive&lt;br /&gt;locate -r /ls$ = locates files ending in /ls&lt;br /&gt;locate -r james*bond = locate files with james and bond in their names&lt;br /&gt;locate -r ^ boot/grub/me = locate files beginning with boot/grub/me&lt;br /&gt;locate *.jpg &gt; Desktop/myjpgs.txt = stores results of search in a file named myjpgs.txt&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-6396749209875355436?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/6396749209875355436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/locate-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/6396749209875355436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/6396749209875355436'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/locate-command.html' title='LOCATE command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-4174664120011793835</id><published>2009-04-04T03:18:00.001-07:00</published><updated>2009-04-04T03:18:35.277-07:00</updated><title type='text'>HISTORY command</title><content type='html'>history | wc -l = total history commands&lt;br /&gt;history | grep rpm = search through history for rpm commands&lt;br /&gt;history = list of all commands used so far&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-4174664120011793835?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/4174664120011793835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/history-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/4174664120011793835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/4174664120011793835'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/history-command.html' title='HISTORY command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-1094386425093005231</id><published>2009-04-04T02:57:00.000-07:00</published><updated>2009-04-04T02:58:19.926-07:00</updated><title type='text'>DMIDECODE command</title><content type='html'>dmidecode = BIOS info&lt;br /&gt;dmidecode | head -n10 = first 10 lines of BIOS info&lt;br /&gt;dmidecode –-type baseboard = baseboard info&lt;br /&gt;dmidecode –-type cache = cache info&lt;br /&gt;dmidecode –-type chassis = chassis info&lt;br /&gt;dmidecode –-type connector = connector info&lt;br /&gt;dmidecode –-type memory = memory info&lt;br /&gt;dmidecode –type processor = processor info&lt;br /&gt;dmidecode –-type slot = slot info&lt;br /&gt;dmidecode –-type system = system info&lt;br /&gt;dmidecode –-type wrongtype = gives right words/types&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-1094386425093005231?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/1094386425093005231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/dmidecode-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/1094386425093005231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/1094386425093005231'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/dmidecode-command.html' title='DMIDECODE command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-310675733111801137</id><published>2009-04-04T02:56:00.001-07:00</published><updated>2009-04-04T02:56:27.890-07:00</updated><title type='text'>CAT command</title><content type='html'>cat /var/log/yum.log&lt;br /&gt;cat /var/log/yum.log | grep mysql = mysql install and update dates&lt;br /&gt;cat /proc/meminfo = prints memory info&lt;br /&gt;cat /proc/cpuinfo = prints cpu info&lt;br /&gt;cat /var/log/manylogs/mylogonly.log = prints output of a file&lt;br /&gt;cat /selinux/enforce = current status of selinux&lt;br /&gt;cat /etc/shells = lists all installed shells on the os&lt;br /&gt;cat /etc/inittab = info about run levels&lt;br /&gt;cat filename | sort = sorting output in alphabetical order&lt;br /&gt;cat /etc/x11/xorg.conf = monitor info&lt;br /&gt;cat filename1 filename2&gt;filename3 = merges the files&lt;br /&gt;cat /etc/fstab = list of all devices&lt;br /&gt;cat /etc/filesystems = of file systems&lt;br /&gt;cat /var/log/messages | grep -F ntpd =&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-310675733111801137?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/310675733111801137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/cat-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/310675733111801137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/310675733111801137'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/04/cat-command.html' title='CAT command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-6981253984655217205</id><published>2009-03-21T23:59:00.000-07:00</published><updated>2009-03-22T00:01:59.090-07:00</updated><title type='text'>Permissions in Fedora Linux</title><content type='html'>Permissions:&lt;br /&gt;&lt;br /&gt;rwx rwx rwx&lt;br /&gt;1    2     3&lt;br /&gt;u    g     o&lt;br /&gt;&lt;br /&gt;u = user&lt;br /&gt;g = group&lt;br /&gt;o = other&lt;br /&gt;r = read = 4 &lt;br /&gt;w = write = 2&lt;br /&gt;x = execute = 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-6981253984655217205?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/6981253984655217205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/permissions-in-fedora-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/6981253984655217205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/6981253984655217205'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/permissions-in-fedora-linux.html' title='Permissions in Fedora Linux'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-2812521302761436062</id><published>2009-03-21T23:55:00.000-07:00</published><updated>2009-03-21T23:56:18.283-07:00</updated><title type='text'>SERVICE command</title><content type='html'>service httpd start = starts apache server&lt;br /&gt;&lt;br /&gt;service mysqld start = starts mysql server&lt;br /&gt;&lt;br /&gt;service --status-all = service status of all the services installed&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-2812521302761436062?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/2812521302761436062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/service-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/2812521302761436062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/2812521302761436062'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/service-command.html' title='SERVICE command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-4474092999900120198</id><published>2009-03-21T23:52:00.000-07:00</published><updated>2009-04-04T02:52:10.555-07:00</updated><title type='text'>YUM command</title><content type='html'>yum clean all = &lt;br /&gt;yum clean headers = &lt;br /&gt;yum clean metadata = &lt;br /&gt;yum clean packagename = clean packages left in cache &lt;br /&gt;yum –enablerepo =livna install mplayer = enable livna repo &amp; install mplayer&lt;br /&gt;yum --disablerepo = livna search php = disable livna repo and search other repos for php &lt;br /&gt;yum groupinfo = &lt;br /&gt;yum grouplist = &lt;br /&gt;yum groupinstall XFCE = installs entire group XFCE&lt;br /&gt;yum groupupdate XFCE = updates for group XFCE&lt;br /&gt;yum list available = lists all packages available for installation&lt;br /&gt;yum list extras – packages not installed from any repo&lt;br /&gt;yum list installed = lists all installed softwares&lt;br /&gt;yum list updates = updates available&lt;br /&gt;yum list updates php = updates available for php&lt;br /&gt;yum localinstall xyz.rpm = installs packages from the HDD or CD/DVD&lt;br /&gt;yum update php/perl/etc = updates packages&lt;br /&gt;yum install php/perl/etc = installs packages&lt;br /&gt;yum install php* = installs all php packages&lt;br /&gt;yum install hwbrowser = &lt;br /&gt;yum install lshw = &lt;br /&gt;yum list php* = lists all php packages&lt;br /&gt;yum remove php = remove php&lt;br /&gt;yum groupremove php = remove entire php group &lt;br /&gt;yum search "php" = &lt;br /&gt;yum whatprovides php =&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-4474092999900120198?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/4474092999900120198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/yum-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/4474092999900120198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/4474092999900120198'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/yum-command.html' title='YUM command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-4280992463330735476</id><published>2009-03-21T23:50:00.000-07:00</published><updated>2009-03-21T23:51:19.916-07:00</updated><title type='text'>CAL command for calendar</title><content type='html'>cal = shows calendar&lt;br /&gt;&lt;br /&gt;cal 2009 = shows 2009 calendar&lt;br /&gt;&lt;br /&gt;cal -j = prints current month's calendar where days are numbered&lt;br /&gt;&lt;br /&gt;cal -m = pritns current month's calendar where Monday is the 1st day&lt;br /&gt;&lt;br /&gt;cal -y = prints current year's calendar&lt;br /&gt;&lt;br /&gt;cal 12 2005 = prints December month of 2005&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-4280992463330735476?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/4280992463330735476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/cal-command-for-calendar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/4280992463330735476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/4280992463330735476'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/cal-command-for-calendar.html' title='CAL command for calendar'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-3182845651415708957</id><published>2009-03-21T23:44:00.000-07:00</published><updated>2009-04-04T02:54:38.473-07:00</updated><title type='text'>GREP command</title><content type='html'>grep india /usr/share/dict/words = looks for the word 'india' in dictionary&lt;br /&gt;grep “word” filename = prints lines with the “word ” in them&lt;br /&gt;grep -n “word” filename = line numbers with the word in them printed&lt;br /&gt;grep -vn “word” filename = lines without the “word” in them&lt;br /&gt;grep -c “word” filename = total no. of occurrences of “word”&lt;br /&gt;grep -n “word” * = lists all lines from all files that contain “word”&lt;br /&gt;grep -x “word” * = only “word” a line&lt;br /&gt;grep word filename = searchers for the word in the file&lt;br /&gt;grep -i word filename = searchers for the word in the file&lt;br /&gt;grep -i word1 word2 filename = searchers for the word in the file&lt;br /&gt;groups = list of groups&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-3182845651415708957?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/3182845651415708957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/grep-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/3182845651415708957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/3182845651415708957'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/grep-command.html' title='GREP command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-2982504446064271415</id><published>2009-03-21T23:41:00.001-07:00</published><updated>2009-03-21T23:41:52.759-07:00</updated><title type='text'>SHUTDOWN command</title><content type='html'>shutdown -r = reboot&lt;br /&gt;&lt;br /&gt;shutdown -0 (Zero) = reboot&lt;br /&gt;&lt;br /&gt;shutdown – h = halt&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-2982504446064271415?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/2982504446064271415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/shutdown-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/2982504446064271415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/2982504446064271415'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/shutdown-command.html' title='SHUTDOWN command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-8419214774662885953</id><published>2009-03-21T23:38:00.000-07:00</published><updated>2009-04-04T03:01:48.847-07:00</updated><title type='text'>LAST command</title><content type='html'>last = last log in details&lt;br /&gt;lastlog [-u root] = last log in time&lt;br /&gt;last [root] = entire log in history, the feature needs to be activated first&lt;br /&gt;lastb [root] = prints failed login attempts&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-8419214774662885953?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/8419214774662885953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/last-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/8419214774662885953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/8419214774662885953'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/last-command.html' title='LAST command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-1937317234906799265</id><published>2009-03-21T23:33:00.000-07:00</published><updated>2009-04-04T03:13:25.300-07:00</updated><title type='text'>RPM command</title><content type='html'>rpm -e xyz = removes package xyz&lt;br /&gt;rpm -e –nodeps xyz-5.6.fc5.i386 = removes 32+ bit version of package if more versions available&lt;br /&gt;rpm -ivh xyz.rpm = install package xyz  (i=install, v=verbose, h=hash)&lt;br /&gt;rpm -ivh http://ftp.abc.com/xyz.rpm = install package xyz from the site&lt;br /&gt;rpm -Uvh xyz.rpm = update package xyz (U=update)&lt;br /&gt;rpm -q --scripts kernel |less = list of all preinstall &amp; post-install scripts&lt;br /&gt;rpm -q php = php version no.&lt;br /&gt;rpm -qi php = php install info &lt;br /&gt;rpm -qi fedora-release = Fedora installation info&lt;br /&gt;rpm -qi php/per/python/ruby = version info for the package&lt;br /&gt;rpm -qa grun = prints grub version no.&lt;br /&gt;rpm -qa php = prints php version no.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm -qa | grep php = prints version nos. of all php related packages&lt;br /&gt;rpm -qa | head = only 10 softwares listed&lt;br /&gt;rpm -qa | head -n5 = first 5 software listed&lt;br /&gt;rpm -qa | wc -l = total no of packages installed on the system&lt;br /&gt;rpm -ql php = lists all files in a particular package&lt;br /&gt;rpm -qal | grep php = find php in all installed packages&lt;br /&gt;rpm -ql php | wc -l = total no. of files in a particular package&lt;br /&gt;rpm -qa | grep php | wc -l = count the total number of php modules&lt;br /&gt;rpm -qf /var/lib/php = what package a particular file belongs to&lt;br /&gt;rpm -q --scripts mysql = scripts of a package&lt;br /&gt;rpm -qa php | wc -l = total no. of php packages&lt;br /&gt;rpm -qi php = info about php&lt;br /&gt;rpm -q –last php = installation date of php&lt;br /&gt;rpm -qi php | grep -i vendor = php vendor name&lt;br /&gt;rpm -qi fedora-release | grep -i vendor = prints vendor name from a file named fedora-release&lt;br /&gt;rpm -v = rpm version&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm -qa --queryformat '%{NAME}==%{VENDOR}\n' | grep -v "Red Hat" | sort = list of installed packages with their vendor names except Red Hat&lt;br /&gt;rpm -qa --qf '%{NAME}==%{VENDOR}\n' | grep "Red Hat" | sort = list of installed packages with their vendor name as Red Hat&lt;br /&gt;rpm -qa --qf '%{NAME}==%{VENDOR}\n' | sort = list of installed packages with their vendor names &lt;br /&gt;rpm -qa --qf '%{NAME}==%{VENDOR}\n' | grep  "Red Hat" | wc -l = total number of installed packages with Red Hat as their vendor &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{LICENSE}\n' | sort = list of all installed packages with their licence type sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{LICENSE}\n' | wc -l = total number of installed packages with their licence type&lt;br /&gt;rpm -qa --qf '%{NAME}==%{LICENSE}\n' | grep php | sort = list of all php packages with their licence types sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{LICENSE}\n' | grep php | wc -l = total number of all php packages with their licence types&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SIZE}\n' | sort = list of all installed packages with their names and sizes in bytes sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SIZE}\n' | grep php | sort = list of all php packages with their names and sizes in bytes sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SIZE}\n' | grep php | wc -l = total number of installed php packages with their names and sizes in bytes &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SUMMARY}\n' | sort = list of all installed packages with their names and functions sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SUMMARY}\n' | grep php | sort = list of all php packages with their names and functions sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{SUMMARY}\n' | grep php | wc -l = total number of all php packages with their names and functions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{BUILDHOST}\n' | sort = list of all installed packages with their names and buildhosts sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{BUILDHOST}\n' | grep php | sort = list of all php packages with their names and buildhosts sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{BUILDHOST}\n' | grep php | wc -l = total number of all php packages with their names and buildhosts&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{URL}\n' | sort = list of all installed packages with their names and urls sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{URL}\n' | grep php | sort = list of all php packages with their names and urls sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{URL}\n' | grep php | wc -l = total number of all php packages with their names and urls&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm -qa --qf '%{NAME}==%{ARCH}\n' | sort = list of all installed packages with their names and architecture type sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{ARCH}\n' | grep php | sort = list of all php packages with their names and architecture type sorted alphabetically&lt;br /&gt;rpm -qa --qf '%{NAME}==%{ARCH}\n' | grep php | wc -l = total number of all php packages with their names and  architecture type&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rpm –querytags = list of all rpm query tags&lt;br /&gt;rpm –querytags | wc -l = total number of rpm tags&lt;br /&gt;rpm -Va = verify all installed packages&lt;br /&gt;rpm -Va | grep php = verify php packages only&lt;br /&gt;rpm -Vv | grep php = check php packages only with verbose&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-1937317234906799265?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/1937317234906799265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/rpm-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/1937317234906799265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/1937317234906799265'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/rpm-command.html' title='RPM command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-3853727140322375025</id><published>2009-03-21T22:49:00.000-07:00</published><updated>2009-04-04T03:00:01.397-07:00</updated><title type='text'>FIND command</title><content type='html'>find -iname filename.ext = find a file by name&lt;br /&gt;find . = lists all files and subdirectories in the current directory&lt;br /&gt;find . -size +200M = finds files more than 200M in size&lt;br /&gt;find . -size +200M -ls = more details&lt;br /&gt;find . -name *.txt -size +40K = finds .txt file names of more than 40 k in size&lt;br /&gt;find /usr/share/docs | xargs grep -l 'keyword' = finds files that contain the keyword from documents&lt;br /&gt;finger = log in details&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-3853727140322375025?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/3853727140322375025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/find-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/3853727140322375025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/3853727140322375025'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/find-command.html' title='FIND command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3959189707324799526.post-532380580057024273</id><published>2009-03-21T22:46:00.000-07:00</published><updated>2009-03-21T22:48:34.447-07:00</updated><title type='text'>UNAME command</title><content type='html'>   	&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt;&lt;title&gt;&lt;/title&gt;&lt;meta name="GENERATOR" content="OpenOffice.org 2.0  (Linux)"&gt;&lt;meta name="CREATED" content="20070820;15055000"&gt;&lt;meta name="CHANGED" content="20071020;8425400"&gt; 	 	 	 	 	&lt;style&gt; 	&lt;!-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	--&gt; 	&lt;/style&gt;  &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname = operating system name&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname -r = Linux version&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname -o = operating system name&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname -m = system architecture&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname -n = host name&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname -p = processor architecture&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname -s = os name&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname -v = Linux update time&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0in;" lang="en-US"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-size:100%;"&gt;uname –hardware-platform&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3959189707324799526-532380580057024273?l=fedoralinuxcommands.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://fedoralinuxcommands.blogspot.com/feeds/532380580057024273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/uname-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/532380580057024273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3959189707324799526/posts/default/532380580057024273'/><link rel='alternate' type='text/html' href='http://fedoralinuxcommands.blogspot.com/2009/03/uname-command.html' title='UNAME command'/><author><name>james</name><uri>http://www.blogger.com/profile/09402335086452177407</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
