<?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-7443584082875439538</id><updated>2011-09-04T11:18:44.002-04:00</updated><category term='Ubuntu Troubleshooting X problems'/><category term='This is a VERY useful post'/><title type='text'>Ubuntu Linux</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-7656171865737347380</id><published>2008-06-02T14:49:00.003-04:00</published><updated>2008-06-02T14:53:36.614-04:00</updated><title type='text'>Ubuntu Hardy Heron upgrade breaks VMWARE</title><content type='html'>Here is a comprehensive tutorial on upgrading to Sun's Virtualbox. which compliles correctly during install.&lt;br /&gt;&lt;br /&gt;VirtualBox&lt;br /&gt;&lt;ul&gt;&lt;li&gt;is Open Source&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Uses USB better easeier and without limitations&lt;/li&gt;&lt;li&gt;Allows you to convert existing Vmware virtual machines to VBox.&lt;/li&gt;&lt;/ul&gt;&lt;a href="https://wiki.ubuntu.com/UbuntuMagazine/HowTo/Switching_From_VMWare_To_VirtualBox:_.vmdk_To_.vdi_Using_Qemu_+_VdiTool"&gt;https://wiki.ubuntu.com/UbuntuMagazine/HowTo/Switching_From_VMWare_To_VirtualBox:_.vmdk_To_.vdi_Using_Qemu_+_VdiTool&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-7656171865737347380?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/7656171865737347380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=7656171865737347380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/7656171865737347380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/7656171865737347380'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2008/06/ubuntu-hardy-heron-upgrade-breaks.html' title='Ubuntu Hardy Heron upgrade breaks VMWARE'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-6397678526404999100</id><published>2007-08-10T23:48:00.002-04:00</published><updated>2008-07-19T23:19:05.259-04:00</updated><title type='text'>Ubuntu / Debian Quick References</title><content type='html'>&lt;span style="font-weight: bold;font-size:130%;" &gt;Links to Cheat Sheets&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://fosswire.com/wp-content/uploads/2007/08/fwunixref.pdf"&gt;http://fosswire.com/wp-content/uploads/2007/08/fwunixref.pdf&lt;/a&gt;&lt;br /&gt;A great cheat sheet&lt;br /&gt;&lt;a class="user" href="http://people.debian.org/%7Edebacle/refcard/refcard-en-a4.pdf"&gt;http://people.debian.org/~debacle/refcard/refcard-en-a4.pdf&lt;/a&gt;&lt;br /&gt;A small 4x5.5 quick reference&lt;br /&gt;&lt;a href="http://www.xminc.com/linux/linuxcheatsheet.pdf"&gt;http://www.xminc.com/linux/linuxcheatsheet.pdf&lt;/a&gt;&lt;br /&gt;A good guide for CLI&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;Bash Command Line A to Z&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;a href="http://www.ss64.com/bash/alias.html"&gt;alias&lt;/a&gt; Create an alias&lt;br /&gt;apropos Search Help manual pages (man -k)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/gawk.html"&gt;awk&lt;/a&gt; Find and Replace text, database sort/validate/index&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/break.html"&gt;break&lt;/a&gt; Exit from a loop&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/builtin.html"&gt;builtin&lt;/a&gt; Run a shell builtin&lt;br /&gt;bzip2 Compress or decompress named file(s)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cal.html"&gt;cal&lt;/a&gt; Display a calendar&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/case.html"&gt;case&lt;/a&gt; Conditionally perform a command&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cat.html"&gt;cat&lt;/a&gt; Display the contents of a file&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cd.html"&gt;cd&lt;/a&gt; Change Directory&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cfdisk.html"&gt;cfdisk&lt;/a&gt; Partition table manipulator for Linux&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/chgrp.html"&gt;chgrp&lt;/a&gt; Change group ownership&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/chmod.html"&gt;chmod&lt;/a&gt; Change access permissions&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/chown.html"&gt;chown&lt;/a&gt; Change file owner and group&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/chroot.html"&gt;chroot&lt;/a&gt; Run a command with a different root directory&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cksum.html"&gt;cksum&lt;/a&gt; Print CRC checksum and byte counts&lt;br /&gt;clear Clear terminal screen&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cmp.html"&gt;cmp&lt;/a&gt; Compare two files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/comm.html"&gt;comm&lt;/a&gt; Compare two sorted files line by line&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/command.html"&gt;command&lt;/a&gt; Run a command - ignoring shell functions&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/continue.html"&gt;continue&lt;/a&gt; Resume the next iteration of a loop&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cp.html"&gt;cp&lt;/a&gt; Copy one or more files to another location&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cron.html"&gt;cron&lt;/a&gt; Daemon to execute scheduled commands&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/crontab.html"&gt;crontab&lt;/a&gt; Schedule a command to run at a later time&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/csplit.html"&gt;csplit&lt;/a&gt; Split a file into context-determined pieces&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/cut.html"&gt;cut&lt;/a&gt; Divide a file into several parts&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/date.html"&gt;date&lt;/a&gt; Display or change the date &amp;amp; time&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/dc.html"&gt;dc&lt;/a&gt; Desk Calculator&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/dd.html"&gt;dd&lt;/a&gt; Data Dump - Convert and copy a file&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/declare.html"&gt;declare&lt;/a&gt; Declare variables and give them attributes&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/df.html"&gt;df&lt;/a&gt; Display free disk space&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/diff.html"&gt;diff&lt;/a&gt; Display the differences between two files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/diff3.html"&gt;diff3&lt;/a&gt; Show differences among three files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/dig.html"&gt;dig&lt;/a&gt; DNS lookup&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/dir.html"&gt;dir&lt;/a&gt; Briefly list directory contents&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/dircolours.html"&gt;dircolors&lt;/a&gt; Colour setup for `ls'&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/dirname.html"&gt;dirname&lt;/a&gt; Convert a full pathname to just a path&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/dirs.html"&gt;dirs&lt;/a&gt; Display list of remembered directories&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/du.html"&gt;du&lt;/a&gt; Estimate file space usage&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/echo.html"&gt;echo&lt;/a&gt; Display message on screen&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/egrep.html"&gt;egrep&lt;/a&gt; Search file(s) for lines that match an extended expression&lt;br /&gt;eject Eject removable media&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/enable.html"&gt;enable&lt;/a&gt; Enable and disable builtin shell commands&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/env.html"&gt;env&lt;/a&gt; Environment variables&lt;br /&gt;ethtool Ethernet card settings&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/eval.html"&gt;eval&lt;/a&gt; Evaluate several commands/arguments&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/exec.html"&gt;exec&lt;/a&gt; Execute a command&lt;br /&gt;exit Exit the shell&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/expand.html"&gt;expand&lt;/a&gt; Convert tabs to spaces&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/export.html"&gt;export&lt;/a&gt; Set an environment variable&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/expr.html"&gt;expr&lt;/a&gt; Evaluate expressions&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/false.html"&gt;false&lt;/a&gt; Do nothing, unsuccessfully&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/fdformat.html"&gt;fdformat&lt;/a&gt; Low-level format a floppy disk&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/fdisk.html"&gt;fdisk&lt;/a&gt; Partition table manipulator for Linux&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/fgrep.html"&gt;fgrep&lt;/a&gt; Search file(s) for lines that match a fixed string&lt;br /&gt;file Determine file type&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/find.html"&gt;find&lt;/a&gt; Search for files that meet a desired criteria&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/fmt.html"&gt;fmt&lt;/a&gt; Reformat paragraph text&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/fold.html"&gt;fold&lt;/a&gt; Wrap text to fit a specified width.&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/for.html"&gt;for&lt;/a&gt; Expand &lt;var&gt;words&lt;/var&gt;, and execute &lt;var&gt;commands&lt;/var&gt;&lt;br /&gt;format Format disks or tapes&lt;br /&gt;free Display memory usage&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/fsck.html"&gt;fsck&lt;/a&gt; File system consistency check and repair&lt;br /&gt;ftp File Transfer Protocol&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/function.html"&gt;function&lt;/a&gt; Define Function Macros&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/gawk.html"&gt;gawk&lt;/a&gt; Find and Replace text within file(s)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/getopts.html"&gt;getopts&lt;/a&gt; Parse positional parameters&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/grep.html"&gt;grep&lt;/a&gt; Search file(s) for lines that match a given pattern&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/groups.html"&gt;groups&lt;/a&gt; Print group names a user is in&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/gzip.html"&gt;gzip&lt;/a&gt; Compress or decompress named file(s)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/hash.html"&gt;hash&lt;/a&gt; Remember the full pathname of a name argument&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/head.html"&gt;head&lt;/a&gt; Output the first part of file(s)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/history.html"&gt;history&lt;/a&gt; Command History&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/hostname.html"&gt;hostname&lt;/a&gt; Print or set system name&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/id.html"&gt;id&lt;/a&gt; Print user and group id's&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/if.html"&gt;if&lt;/a&gt; Conditionally perform a command&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/ifconfig.html"&gt;ifconfig&lt;/a&gt; Configure a network interface&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/import.html"&gt;import&lt;/a&gt; Capture an X server screen and save the image to file&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/install.html"&gt;install&lt;/a&gt; Copy files and set attributes&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/join.html"&gt;join&lt;/a&gt; Join lines on a common field&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/kill.html"&gt;kill&lt;/a&gt; Stop a process from running&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/less.html"&gt;less&lt;/a&gt; Display output one screen at a time&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/let.html"&gt;let&lt;/a&gt; Perform arithmetic on shell variables&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/ln.html"&gt;ln&lt;/a&gt; Make links between files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/local.html"&gt;local&lt;/a&gt; Create variables&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/locate.html"&gt;locate&lt;/a&gt; Find files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/logname.html"&gt;logname&lt;/a&gt; Print current login name&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/logout.html"&gt;logout&lt;/a&gt; Exit a login shell&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/look.html"&gt;look&lt;/a&gt; Display lines beginning with a given string&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/lpc.html"&gt;lpc&lt;/a&gt; Line printer control program&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/lpr.html"&gt;lpr&lt;/a&gt; Off line print&lt;br /&gt;lprint Print a file&lt;br /&gt;lprintd Abort a print job&lt;br /&gt;lprintq List the print queue&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/lprm.html"&gt;lprm&lt;/a&gt; Remove jobs from the print queue&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/ls.html"&gt;ls&lt;/a&gt; List information about file(s)&lt;br /&gt;lsof List open files&lt;br /&gt;make Recompile a group of programs&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/man.html"&gt;man&lt;/a&gt; Help manual&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/mkdir.html"&gt;mkdir&lt;/a&gt; Create new folder(s)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/mkfifo.html"&gt;mkfifo&lt;/a&gt; Make FIFOs (named pipes)&lt;br /&gt;mkisofs Create an hybrid ISO9660/JOLIET/HFS filesystem&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/mknod.html"&gt;mknod&lt;/a&gt; Make block or character special files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/more.html"&gt;more&lt;/a&gt; Display output one screen at a time&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/mount.html"&gt;mount&lt;/a&gt; Mount a file system&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/mtools.html"&gt;mtools&lt;/a&gt; Manipulate MS-DOS files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/mv.html"&gt;mv&lt;/a&gt; Move or rename files or directories&lt;br /&gt;netstat Networking information&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/nice.html"&gt;nice&lt;/a&gt; Set the priority of a command or job&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/nl.html"&gt;nl&lt;/a&gt; Number lines and write files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/nohup.html"&gt;nohup&lt;/a&gt; Run a command immune to hangups&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/nslookup.html"&gt;nslookup&lt;/a&gt; Query Internet name servers interactively&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/passwd.html"&gt;passwd&lt;/a&gt; Modify a user password&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/paste.html"&gt;paste&lt;/a&gt; Merge lines of files&lt;br /&gt;pathchk Check file name portability&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/ping.html"&gt;ping&lt;/a&gt; Test a network connection&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/popd.html"&gt;popd&lt;/a&gt; Restore the previous value of the current directory&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/pr.html"&gt;pr&lt;/a&gt; Prepare files for printing&lt;br /&gt;printcap Printer capability database&lt;br /&gt;printenv Print environment variables&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/printf.html"&gt;printf&lt;/a&gt; Format and print data&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/ps.html"&gt;ps&lt;/a&gt; Process status&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/pushd.html"&gt;pushd&lt;/a&gt; Save and then change the current directory&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/pwd.html"&gt;pwd&lt;/a&gt; Print Working Directory&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/quota.html"&gt;quota&lt;/a&gt; Display disk usage and limits&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/quotacheck.html"&gt;quotacheck&lt;/a&gt; Scan a file system for disk usage&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/quotactl.html"&gt;quotactl&lt;/a&gt; Set disk quotas&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/ram.html"&gt;ram&lt;/a&gt; ram disk device&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/rcp.html"&gt;rcp&lt;/a&gt; Copy files between two machines.&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/read.html"&gt;read&lt;/a&gt; read a line from standard input&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/readonly.html"&gt;readonly&lt;/a&gt; Mark variables/functions as readonly&lt;br /&gt;remsync Synchronize remote files via email&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/return.html"&gt;return&lt;/a&gt; Exit a shell function&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/rm.html"&gt;rm&lt;/a&gt; Remove files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/rmdir.html"&gt;rmdir&lt;/a&gt; Remove folder(s)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/rsync.html"&gt;rsync&lt;/a&gt; Remote file copy (Synchronize file trees)&lt;br /&gt;screen Terminal window manager&lt;br /&gt;scp Secure copy (remote file copy)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/sdiff.html"&gt;sdiff&lt;/a&gt; Merge two files interactively&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/sed.html"&gt;sed&lt;/a&gt; Stream Editor&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/select.html"&gt;select&lt;/a&gt; Accept keyboard input&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/seq.html"&gt;seq&lt;/a&gt; Print numeric sequences&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/set.html"&gt;set&lt;/a&gt; Manipulate shell variables and functions&lt;br /&gt;sftp Secure File Transfer Program&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/shift.html"&gt;shift&lt;/a&gt; Shift positional parameters&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/shopt.html"&gt;shopt&lt;/a&gt; Shell Options&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/shutdown.html"&gt;shutdown&lt;/a&gt; Shutdown or restart linux&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/sleep.html"&gt;sleep&lt;/a&gt; Delay for a specified time&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/sort.html"&gt;sort&lt;/a&gt; Sort text files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/period.html"&gt;source&lt;/a&gt; Run commands from a file `.'&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/split.html"&gt;split&lt;/a&gt; Split a file into fixed-size pieces&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Secure_Shell"&gt;ssh&lt;/a&gt; Secure Shell client (remote login program)&lt;br /&gt;strace Trace system calls and signals&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/su.html"&gt;su&lt;/a&gt; Substitute user identity&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/sum.html"&gt;sum&lt;/a&gt; Print a checksum for a file&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/symlink.html"&gt;symlink&lt;/a&gt; Make a new name for a file&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/sync.html"&gt;sync&lt;/a&gt; Synchronize data on disk with memory&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/tail.html"&gt;tail&lt;/a&gt; Output the last part of files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/tar.html"&gt;tar&lt;/a&gt; Tape ARchiver&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/tee.html"&gt;tee&lt;/a&gt; Redirect output to multiple files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/test.html"&gt;test&lt;/a&gt; Evaluate a conditional expression&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/time.html"&gt;time&lt;/a&gt; Measure Program running time&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/times.html"&gt;times&lt;/a&gt; User and system times&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/touch.html"&gt;touch&lt;/a&gt; Change file timestamps&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/top.html"&gt;top&lt;/a&gt; List processes running on the system&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/traceroute.html"&gt;traceroute&lt;/a&gt; Trace Route to Host&lt;br /&gt;trap Run a command when a signal is set(bourne)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/tr.html"&gt;tr&lt;/a&gt; Translate, squeeze, and/or delete characters&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/true.html"&gt;true&lt;/a&gt; Do nothing, successfully&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/tsort.html"&gt;tsort&lt;/a&gt; Topological sort&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/tty.html"&gt;tty&lt;/a&gt; Print filename of terminal on stdin&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/type.html"&gt;type&lt;/a&gt; Describe a command&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/ulimit.html"&gt;ulimit&lt;/a&gt; Limit user resources&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/umask.html"&gt;umask&lt;/a&gt; Users file creation mask&lt;br /&gt;umount Unmount a device&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/alias.html"&gt;unalias&lt;/a&gt; Remove an alias&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/uname.html"&gt;uname&lt;/a&gt; Print system information&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/unexpand.html"&gt;unexpand&lt;/a&gt; Convert spaces to tabs&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/uniq.html"&gt;uniq&lt;/a&gt; Uniquify files&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/units.html"&gt;units&lt;/a&gt; Convert units from one scale to another&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/unset.html"&gt;unset&lt;/a&gt; Remove variable or function names&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/unshar.html"&gt;unshar&lt;/a&gt; Unpack shell archive scripts&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/until.html"&gt;until&lt;/a&gt; Execute commands (until error)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/useradd.html"&gt;useradd&lt;/a&gt; Create new user account&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/usermod.html"&gt;usermod&lt;/a&gt; Modify user account&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/users.html"&gt;users&lt;/a&gt; List users currently logged in&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/uuencode.html"&gt;uuencode&lt;/a&gt; Encode a binary file&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/uuencode.html"&gt;uudecode&lt;/a&gt; Decode a file created by uuencode&lt;br /&gt;v Verbosely list directory contents (`ls -l -b')&lt;br /&gt;vdir Verbosely list directory contents (`ls -l -b')&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/vi.html"&gt;vi&lt;/a&gt; Text Editor&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/watch.html"&gt;watch&lt;/a&gt; Execute/display a program periodically&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/wc.html"&gt;wc&lt;/a&gt; Print byte, word, and line counts&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/whereis.html"&gt;whereis&lt;/a&gt; Report all known instances of a command &lt;a href="http://www.ss64.com/bash/which.html"&gt;which&lt;/a&gt; Locate a program file in the user's path.&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/while.html"&gt;while&lt;/a&gt; Execute commands&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/who.html"&gt;who&lt;/a&gt; Print all usernames currently logged in&lt;br /&gt;whoami Print the current user id and name (`id -un')&lt;br /&gt;Wget Retrieve web pages or files via HTTP, HTTPS or FTP&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/xargs.html"&gt;xargs&lt;/a&gt; Execute utility, passing constructed argument list(s)&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/yes.html"&gt;yes&lt;/a&gt; Print a string until interrupted&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/period.html"&gt;.period&lt;/a&gt; Run commands from a file&lt;br /&gt;&lt;a href="http://www.ss64.com/bash/rem.html"&gt;###&lt;/a&gt; Comment / Remark&lt;/pre&gt;&lt;br /&gt;&lt;h2&gt;&lt;a href="http://www.blogger.com/http://www.unixguide.net/linux/linuxshortcuts.shtml//"&gt;Essential shortcuts and commands&lt;/a&gt;&lt;/h2&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Ctrl Alt F1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;tt style="font-weight: bold;"&gt;&lt;ctrl&gt;&lt;alt&gt;&lt;f1&gt;&lt;/f1&gt;&lt;/alt&gt;&lt;/ctrl&gt;&lt;/tt&gt;Switch to the first text terminal. Under Linux you can have several (6 in&lt;br /&gt;standard setup) terminals opened at the same time.&lt;br /&gt;&lt;p&gt;&lt;tt style="font-weight: bold;"&gt;&lt;ctrl&gt;&lt;alt&gt;&lt;fn&gt;Ctrl Alt F&lt;span style="font-style: italic;"&gt;n&lt;/span&gt;&lt;br /&gt;&lt;/fn&gt;&lt;/alt&gt;&lt;/ctrl&gt;&lt;/tt&gt;&lt;span style="font-weight: bold;"&gt;(&lt;span style="font-style: italic;"&gt;n&lt;/span&gt;=1..6) &lt;/span&gt;&lt;br /&gt;Switch to the nth text terminal. &lt;/p&gt;&lt;tt style="font-weight: bold;"&gt;tty&lt;/tt&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;br /&gt;Print the name of the terminal in which you are typing this command. &lt;tt style="font-weight: bold;"&gt;&lt;ctrl&gt;&lt;/ctrl&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;&lt;tt style="font-weight: bold;"&gt;Ctrl Alt F7&lt;/tt&gt;&lt;br /&gt;Switch to the first GUI terminal (if X-windows is running on this terminal).&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;tt style="font-weight: bold;"&gt;Ctrl Alt F&lt;span style="font-style: italic;"&gt;n&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;(&lt;span style="font-style: italic;"&gt;n&lt;/span&gt;=7..12) &lt;/span&gt;&lt;br /&gt;Switch to the nth GUI terminal (if a GUI terminal is running on screen&lt;br /&gt;n-1). On default, nothing is running on terminals 8 to 12, but you can run another server there. &lt;/p&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;Tab&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;tt style="font-weight: bold;"&gt;&lt;tab&gt;&lt;/tab&gt;&lt;/tt&gt;(In a text terminal) Autocomplete the command if there is only one option,or else show all the available options. It even works at LILO prompt!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Arrow Up&lt;/span&gt;&lt;br /&gt;Scroll and edit the command history. Press &lt;enter&gt;&lt;span style="font-weight: bold;"&gt;enter&lt;/span&gt; to execute. &lt;/enter&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;tt style="font-weight: bold;"&gt;&lt;shift&gt;&lt;pgup&gt;&lt;/pgup&gt;&lt;/shift&gt;&lt;/tt&gt;&lt;span style="font-weight: bold;"&gt;Shift PgUp&lt;/span&gt;&lt;br /&gt;Scroll terminal output up. Work also at the login prompt, so you can scroll through your bootup messages. &lt;/p&gt;&lt;span style="font-weight: bold;"&gt;Shift PgDn&lt;/span&gt;&lt;br /&gt;Scroll terminal output down.&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt; &lt;span style="font-family: monospace;"&gt;Ctrl Alt +&lt;/span&gt;&lt;/span&gt;&lt;tt style="font-weight: bold;"&gt;&lt;ctrl&gt;&lt;alt&gt;&lt;/alt&gt;&lt;/ctrl&gt;&lt;/tt&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;(in X-windows) Change to the next X-server resolution (if you set up the X-server to more than one resolution). For multiple resolutions on my standard SVGA card/monitor, I have the following line in the file &lt;tt&gt;/etc/X11/XF86Config &lt;/tt&gt;(the first resolution starts on default, the largest determines the size of the "virtual screen"): &lt;tt&gt;Modes "1024x768" "800x600" "640x480" "512x384" "480x300" "400x300" "1152x864"&lt;/tt&gt; &lt;/p&gt;&lt;tt style="font-weight: bold;"&gt;&lt;ctrl&gt;&lt;alt&gt;Ctrl Alt -&lt;/alt&gt;&lt;/ctrl&gt;&lt;/tt&gt;&lt;br /&gt;(in X-windows) Change to the previous X-server resolution.&lt;br /&gt;&lt;p&gt;&lt;tt style="font-weight: bold;"&gt;&lt;ctrl&gt;&lt;alt&gt;&lt;bkspc&gt;&lt;/bkspc&gt;&lt;/alt&gt;&lt;/ctrl&gt;&lt;/tt&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Ctrl Alt Bkspc&lt;/span&gt;&lt;br /&gt;(in X-windows) Kill the current X-windows server. Use if the X-windows server crushes&lt;br /&gt;and cannot be exited normally. &lt;/p&gt;&lt;span style="font-weight: bold;"&gt;Ctrl Alt Del&lt;/span&gt;&lt;br /&gt;Shutdown the system and reboot. This is the normal shutdown command for a user at the text-mode console. Don't just press the "reset" button for shutdown.&lt;del&gt;&lt;/del&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;ctrl c&lt;/span&gt;&lt;br /&gt;Kill the current process (mostly in the text mode for small applications).&lt;del&gt; &lt;/del&gt;&lt;/p&gt;&lt;span style="font-weight: bold;"&gt;ctrl d&lt;/span&gt;&lt;br /&gt;Log out from the current terminal. See also the next command.&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;ctrl d&lt;/span&gt;&lt;br /&gt;Send [End-of-File] to the current process. Don't press it twice else you also log out (see the previous command). &lt;/p&gt;&lt;span style="font-weight: bold;"&gt;ctrl s&lt;/span&gt;&lt;br /&gt;Stop the transfer to the terminal.&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;ctrl q&lt;/span&gt;&lt;br /&gt;Resume the transfer to the terminal. Try if your terminal mysteriously stops responding. &lt;/p&gt;&lt;span style="font-weight: bold;"&gt;ctrl z&lt;/span&gt;&lt;br /&gt;Send the current process to the background.&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;exit&lt;/span&gt;&lt;br /&gt;Logout. I can also use logout for the same effect. (If you have started a second shell, e.g., using bash the second shell will be exited and you will be back in the first shell, not logged out.) &lt;/p&gt;&lt;span style="font-weight: bold;"&gt;reset &lt;/span&gt;&lt;br /&gt;Restore a screwed-up terminal (a terminal showing funny characters) to default setting. Use if you tried to "cat" a binary file. You may not be able to see the command as you type it.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Ctrl Shift v&lt;/span&gt;&lt;br /&gt;Paste the text which is currently highlighted somewhere else.&lt;br /&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;Ctrl v&lt;/span&gt;&lt;br /&gt;This is the normal "copy-paste" operation in Linux. (It doesn't work with Netscape and WordPerfect which use the MS Windows-style "copy-paste". It does work in the text terminal if you enabled "gpm" service using "setup".) Best used with a Linux-ready 3-button mouse&lt;br /&gt;(Logitech or similar) or else set "3-mouse button emulation"). &lt;/p&gt;&lt;br /&gt;~ (tilde) My home directory (normally the directory&lt;br /&gt;&lt;p&gt;/home/my_login_name). For example, the command cd ~/my_dir will change&lt;br /&gt;my working directory to the subdirectory "my_dir" under my home&lt;br /&gt;directory. Typing just "cd" alone is an equivalent of the command "cd&lt;br /&gt;~". &lt;/p&gt;&lt;br /&gt;&lt;p&gt;.&lt;br /&gt;(dot) Current directory. For example, ./my_program will attempt to&lt;br /&gt;execute the file "my_program" located in your current working&lt;br /&gt;directory. &lt;/p&gt;..&lt;br /&gt;(two dots) Directory parent to the current one. For example, the command cd .. will change my current working directory one one level up.&lt;span style="font-family: monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;br /&gt;Common Linux commands--system info&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;pwd&lt;/span&gt; Print working directory, i.e., display the name of my current directory on the screen.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;hostname&lt;/span&gt; Print the name of the local host (the machine on which you are working). Use netconf (as root) to change the name of the machine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;whoami &lt;/span&gt;Print my login name.&lt;br /&gt;&lt;br /&gt;id username Print user id (uid) and his/her group id (gid), effective id (if different than the real id) and the supplementary groups.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;date &lt;/span&gt;Print or change the operating system date and time. E.g., I could change the date and time to 2000-12-31 23:57 using this command: &lt;span style="font-weight: bold;"&gt;date 123123572009&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;setclock&lt;br /&gt;&lt;/span&gt;To set the hardware (BIOS) clock from the system (Linux) clock, use the command (as root)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;time &lt;/span&gt;Determine the amount of time that it takes for a process to complete + other info. Don't confuse it with the date command. E.g. I can find out how long it takes to display a directory content using: time ls&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;who &lt;/span&gt;Determine the users logged on the machine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rwho -a&lt;/span&gt;(=remote who) Determine all users logged on your network. The rwho service must be enabled for this command to run. If it isn't, run setup as root to enable "rwho".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;finger user_name &lt;/span&gt;System info about a user. Try: finger root&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;last &lt;/span&gt;Show listing of users last logged-in on your system.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;history | more &lt;/span&gt;Show the last (1000 or so) commands executed from the command line on the current account. The "| more" causes the display to stop after each screenful.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;uptime &lt;/span&gt;Show the amount of time since the last reboot.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ps&lt;/span&gt; (=print status) List the processes currently run by the current user.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ps axu | more&lt;/span&gt; List all the processes currently running, even those without the controlling terminal, together with the name of the user that owns each process.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;top &lt;/span&gt;Keep listing the currently running processes, sorted by cpu usage (top users first). In KDE, you can get GUI-based Ktop from "K"menu under "System"-"Task Manager" (or by executing "ktop" in an X-terminal).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;uname -a&lt;/span&gt; (= Unix name with option "all") Info on your (local) server. I can also use guname (in X-window terminal) to display the info more nicely.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;free&lt;/span&gt; Memory info (in kilobytes).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;df -h &lt;/span&gt;(=disk free) Print disk info about all the filesystems (in human-readable form)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;du / -bh | more &lt;/span&gt;(=disk usage) Print detailed disk usage for each subdirectory starting at the "/" (root) directory (in human legible form).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cat /proc/cpuinfo &lt;/span&gt;Cpu info--it show the content of the file cpuinfo. Note that the files in the /proc directory are not real files--they are hooks to look at information available to the kernel.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cat /proc/interrupts&lt;/span&gt; List the interrupts in use.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cat /proc/version&lt;/span&gt; Linux version and other info&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cat /proc/filesystems&lt;/span&gt; Show the types of filesystems currently in use.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cat /etc/printcap &lt;/span&gt;Show the setup of printers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;lsmod &lt;/span&gt;(As root. Use /sbin/lsmod to execute this command when you are a non-root user.) Show the kernel modules currently loaded.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;set|more &lt;/span&gt;Show the current user environment.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;echo $PATH &lt;/span&gt;Show the content of the environment variable "PATH". This command can be used to show other environment variables as well. Use "set" to see the full environment.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;dmesg | less &lt;/span&gt;Print kernel messages (the content of the so-called kernel ring buffer). Press "q" to quit "less". Use less /var/log/dmesg to see what "dmesg" dumped into this file right after the last system bootup.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Basic operations&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;any_command --help |more &lt;/span&gt;Display a brief help on a command (works with most commands). "--help" works similar to DOS "/h" switch. The "more" pipe is needed if the output is longer than one screen.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;man topic &lt;/span&gt;Display the contents of the system manual pages (help) on the topic. Try man man first. Press "q" to quit the viewer. The command info topic works similar and may contain more up-to-date information. Manual pages can be hard to read. Try any_command --help for short, easy to digest help on a command. If more info needed, have a look to the directory /usr/doc. To display manual page from a specific section, I may use something like in this example: man 3 exit (this displays an info on the command exit from section 3 of the manual pages).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;apropos topic &lt;/span&gt;Give me the list of the commands that have something to to do with my topic.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;help command &lt;/span&gt;Display brief info on a bash (shell) build-in command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ls &lt;/span&gt;List the content of the current directory. Under Linux, the command "dir" is an alias to ls. Many users have "ls" to be an alias to "ls --color".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ls -al |more &lt;/span&gt;List the content of the current directory, all files (also those starting with a dot), and in a long form. Pipe the output through the "more" command, so that the display pauses after each screenful.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cd directory &lt;/span&gt;Change directory. Using "cd" without the directory name will take you to your home directory. "cd -" will take you to your previous directory and is a convenient way to toggle between two directories. "cd .." will take you one directory up.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cp source destination &lt;/span&gt;Copy files. E.g., cp /home/stan/existing_file_name . will copy a file to my current working directory. Use the "-r" option (for recursive) to copy the contents of whole directories, e.g. , cp -r my_existing/dir/ ~ will copy a subdirectory under my current working directory to my home directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mcopy source destination &lt;/span&gt;Copy a file from/to a DOS filesystem (no mounting necessary). E.g., mcopy a:\autoexec.bat ~/junk . See man mtools for related commands: mdir, mcd, mren, mmove, mdel, mmd, mrd, mformat ....&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mv source destination &lt;/span&gt;Move or rename files. The same command is used for moving and renaming files and directories.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ln source destination &lt;/span&gt;Create a hard link called destination to the file called source. The link appears as a copy of the original files, but in reality only one copy of the file is kept, just two (or more) directory entries point to it. Any changes the file are automatically visible throughout. When one directory entry is removed, the other(s) stay(s) intact. The limitation of the hard links are: the files have to be on the same filesystem, hard links to directories or special files are impossible.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ln -s source destination &lt;/span&gt;Create a symbolic (soft) link called "destination" to the file called "source". The symbolic link just specifies a path where to look for the file. In contradistinction to hard links, the source and destination don't not have to tbe on the same filesystem. In comparison to hard links, the drawback of symbolic links are: if the original file is removed, the link is "broken", symbolic links can also create circular references (like circular references in spreadsheets or databases, e.g., "a" points to "b" and "b" points back to "a").&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rm files &lt;/span&gt;Remove (delete) files. You must own the file in order to be able to remove it. On many systems, you will be asked or confirmation of deletion, if you don't want this, use the "-f" (=force) option, e.g., &lt;span style="color: rgb(255, 0, 0);"&gt;rm -f *&lt;/span&gt; will remove all files in my current working directory, no questions asked. &lt;span style="color: rgb(255, 0, 0);"&gt;(Almost always not a good choice)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mkdir directory &lt;/span&gt;Make a new directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rmdir directory &lt;/span&gt;Remove an empty directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rm -r files &lt;/span&gt;(recursive remove) Remove files, directories, and their subdirectories. Careful with this command as root--you can easily remove all files on the system with such a command executed on the top of your directory tree, and there is no undelete in Linux (yet). But if you really wanted to do it (reconsider), here is how (as root): rm -rf /*&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cat filename | more&lt;/span&gt; View the content of a text file called "filename", one page a time. The "|" is the "pipe" symbol (on many American keyboards it shares the key with "\") The pipe makes the output stop after each screenful. For long files, it is sometimes convenient to use the commands head and tail that display just the beginning and the end of the file. If you happened to use "cat" a binary file and your terminal displays funny characters afterwards, you can restore it with the command "reset".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;less filename &lt;/span&gt;Scroll through a content of a text file. Press q when done. "Less" is roughly equivalent to "more" , the command you know from DOS, although very often "less" is more convenient than "more".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;pico filename &lt;/span&gt;Edit a text file using the simple and standard text editor called pico.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;pico -w filename &lt;/span&gt;Edit a text file, while disabling the long line wrap. Handy for editing configuration files, e.g. /etc/fstab.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;find / -name "filename" &lt;/span&gt;Find the file called "filename" on your filesystem starting the search from the root directory "/". The "filename" may contain wildcards (*,?).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;locate filename&lt;/span&gt; Find the file name of which contains the string "filename". Easier and faster than the previous command but depends on a database that normally rebuilds at night.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;./program_name&lt;/span&gt; Run an executable in the current directory, which is not on your PATH.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;touch filename &lt;/span&gt;Change the date/time stamp of the file filename to the current time. Create an empty file if the file does not exist.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;xinit &lt;/span&gt;Start a barebone X-windows server (without a windows manager).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;startx &lt;/span&gt;Start an X-windows server and the default windows manager. Works like typing "win" under DOS with Win3.1&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;startx -- :1 &lt;/span&gt;Start another X-windows session on the display 1 (the default is opened on display 0). You can have several GUI terminals running concurrently. Switch between them using , , etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;xterm &lt;/span&gt;(in X terminal) Run a simple X-windows terminal. Typing exit will close it. There are other, more advanced "virtual" terminals for X-windows. I like the popular ones: konsole and kvt (both come with kde) and gnome-terminal (comes with gnome). If you need something really fancy-looking, try Eterm.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;xboing &lt;/span&gt;(in X terminal). Very nice, old-fashioned game. Many small games/programs are probably installed on your system. I also like xboard (chess).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;shutdown -h&lt;/span&gt; now (as root) Shut down the system to a halt. Mostly used for a remote shutdown. Use for a shutdown at the console (which can be done by any user).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;halt reboot &lt;/span&gt;(as root, two commands) Halt or reboot the machine. Used for remote shutdown, simpler to type than the previous command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Network apps.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;netscape&lt;/span&gt; (in X terminal) Run netscape (requires a separate Netscape installation). The current versions of Netscape (4.x) are known to be big and buggy. They occasionally crash by vanishing (no other harm done). Also, when not connected to the network , Netscape likes to refuse to do anything (looks like it hanged)-it revives when you connect.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;netscape -display host:0.0 &lt;/span&gt;(in X terminal) Run netscape on the current machine and direct the output to machine named "host" display 0 screen 0. Your current machine must have a permission to display on the machine "host" (typically given by executing the command xhost current_machine_name in the xterminal of the machine host. Other X-windows program can be run remotely the same way.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;lynx file.html &lt;/span&gt;View an html file or browse the net from the text mode.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;pine &lt;/span&gt;A good text-mode mail reader. Another good and standard one is elm. Your Netscape mail will read the mail from your Internet account. pine will let you read the "local" mail, e.g. the mail your son or a cron process sends to you from a computer on your home network. The command mail could also be used for reading/composing mail, but it would be inconvenient--it is meant to be used in scripts for automation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;elm &lt;/span&gt;A good tex-mode mail reader. See the previous command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mutt&lt;/span&gt; A really basic but extremely useful and fast mail reader.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mail &lt;/span&gt;A basic operating system tool for e-mail. Look at the previous commands for a better e-mail reader. mail is good if you wanted to send an e-mail from a shell script.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;licq&lt;/span&gt; (in X term) An icq "instant messaging" client. Another good one is kxicq. Older distributions don't have an icq client installed, you have to do download one and install it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;talk username1 &lt;/span&gt;Talk to another user currently logged on your machine (or use "talk username1@machinename" to talk to a user on a different computer) . To accept the invitation to the conversation, type the command "talk username2". If somebody is trying to talk to you and it disrupts your work, your may use the command "mesg n" to refuse accepting messages. You may want to use "who" or "rwho" to determine the users who are currently logged-in.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mc &lt;/span&gt;Launch the "Midnight Commander" file manager (looks like "Norton Commander" for Linux).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;telnet server &lt;/span&gt;Connect to another machine using the TELNET protocol. Use a remote machine name or IP address. You will be prompted for your login name and password--you must have an account on the remote machine to login. Telnet will connect you to another machine and let you operate on it as if you were sitting at its keyboard (almost). Telnet is not very secure--everything you type goes in open text, even your password!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rlogin server&lt;/span&gt; (=remote login) Connect to another machine. The login name/password from your current session is used; if it fails you are prompted for a password.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rsh server &lt;/span&gt;(=remote shell) Yet another way to connect to a remote machine. The login name/password from your current session is used; if it fails you are prompted for a password.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ftp server &lt;/span&gt;Ftp another machine. (There is also ncftp which adds extra features and gftp for GUI .) Ftp is good for copying files to/from a remote machine. Try user "anonymous" if you don't have an account on the remote server. After connection, use "?" to see the list of available ftp commands. The essential ftp command are: ls (see the files on the remote system), ASCII, binary (set the file transfer mode to either text or binary, important that you select the proper one ), get (copy a file from the remote system to the local system), mget (get many files at once), put (copy a file from the local system to the remote system), mput (put many files at once), bye (disconnect). For automation in a script, you may want to use ncftpput and ncftpget, for example: ncftpput -u my_user_name -p my_password -a remote.host.domain remote_dir *local.html&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;minicom &lt;/span&gt;Minicom program (looks like "Procomm for Linux").&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;File (de)compression&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;tar -zxvf filename.tar.gz &lt;/span&gt;(=tape archiver) Untar a tarred and compressed tarball (*.tar.gz or *.tgz) that you downloaded from the Internet.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;tar -xvf filename.tar &lt;/span&gt;Untar a tarred but uncompressed tarball (*.tar).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;gunzip filename.gz &lt;/span&gt;Decompress a zipped file (*.gz" or *.z). Use gzip (also zip or compress) if you wanted to compress files to this file format.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;bunzip2 filename.bz2&lt;/span&gt; (=big unzip) Decompress a file (*.bz2) zipped with bzip2 compression utility. Used for big files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;unzip filename.zip &lt;/span&gt;Decompress a file (*.zip) zipped with a compression utility compatible with PKZIP for DOS.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;unarj e filename.arj &lt;/span&gt;Extract the content of an *.arj archive.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;uudecode -o outputfile filename&lt;/span&gt; Decode a file encoded with uuencode. uu-encoded files are typically used for transfer of non-text files in e-mail (uuencode transforms any file into an ASCII file).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Process control&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;ps &lt;/span&gt;(=print status) Display the list of currently running processes with their process IDs (PID) numbers. Use ps axu to see all processes currently running on your system (also those of other users or without a controlling terminal), each with the name of the owner. Use "top" to keep listing the processes currently running.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;fg PID &lt;/span&gt;Bring a background or stopped process to the foreground.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;bg PID S&lt;/span&gt;end the process to the background. Opposite to fg. The same can be accomplished with z. If you have stopped jobs, you have to type exit twice in row to log out.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;any_command&amp;amp; &lt;/span&gt;Run any command in the background (the symbol "&amp;amp;" means "run the proceeding command in the background").&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;batch any_command &lt;/span&gt;Run any command (usually one that is going to take more time) when the system load is low. I can logout, and the process will keep running.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;at 17:00 &lt;/span&gt;Execute a command at a specified time. You will be prompted for the command(s) to run, until you press d.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;kill PID &lt;/span&gt;Force a process shutdown. First determine the PID of the process to kill using ps.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;killall program_name &lt;/span&gt;Kill program(s) by name.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;xkill (in an xwindow terminal) &lt;/span&gt;Kill a GUI-based program with mouse. (Point with your mouse cursor at the window of the process you want to kill and click.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;lpc (as root) C&lt;/span&gt;heck and control the printer(s). Type "?" to see the list of available commands.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;lpq &lt;/span&gt;Show the content of the printer queue. Under KDE (X-Windows), you may use GUI-based "Printer Queue" available from "K"menu-Utilities.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;lprm job_number &lt;/span&gt;Remove a printing job "job_number" from the queue.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;nice program_name &lt;/span&gt;Run program_name adjusting its priority. Since the priority is not specified in this example, it will be adjusted by 10 (the process will run slower), from the default value (usually 0). The lower the number (of "niceness" to other users on the system), the higher the priority. The priority value may be in the range -20 to 19. Only root may specify negative values. Use "top" to display the priorities of the running processes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;renice -1 PID (as root) &lt;/span&gt;Change the priority of a running process to -1. Normal users can only adjust processes they own, and only up from the current value (make them run slower).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ctrl c, z, s, &lt;/span&gt;and &lt;span style="font-weight: bold;"&gt;q&lt;/span&gt; also belong to this chapter but they were described previously. In short they mean: stop the current command, send the current command to the background, stop the data transfer, resume the data transfer.&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Basic administration commands&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;printtool (as root in X-terminal) &lt;/span&gt;Configuration tool for your printer(s). Settings go to the file /etc/printcap.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;setup (as root) &lt;/span&gt;Configure mouse, soundcard, keyboard, X-windows, system services. There are many distribution-specific configuration utilities, setup is the default on RedHat. Mandrake 7.0 offers very nice DrakConf .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;linuxconfig (as root, either in text or graphical mode).&lt;/span&gt; You can access and change hundreds of setting from it. Very powerful--don't change too many things at the same time, and be careful with changing entries you don't understand.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;xvidtune (in X-terminal). &lt;/span&gt;Adjust the settings of the graphical display for all resolutions so as to eliminate black bands, shift the display right/left/up/down, etc. (First use the knobs on your monitor to fit your text mode correctly on the screen.) To make the changes permanent, display the frequencies on the screen and transfer them to the setup file /etc/X11/XF86Config.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;alias ls="ls --color=tty" &lt;/span&gt;Create an alias for the command "ls" to enhance its format with color. In this example, the alias is also called "ls" and the "color" option is only envoke when the output is done to a terminal (not to files). Put the alias into the file /etc/bashrc if you would like the alias to be always accessible to all users on the system. Type "alias" alone to see the list of aliases on your system.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;adduser user_name &lt;/span&gt;Create a new account (you must be root). E.g., adduser barbara Don't forget to set up the password for the new user in the next step. The user home directory is /home/user_name.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;useradd user_name &lt;/span&gt;The same as the command " adduser user_name ".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;userdel user_name &lt;/span&gt;Remove an account (you must be a root). The user's home directory and the undelivered mail must be dealt with separately (manually because you have to decide what to do with the files).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;groupadd group_name &lt;/span&gt;Create a new group on your system. Non-essential but can be handy even on a home machine with a small number of users.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;passwd &lt;/span&gt;Change the password on your current account. If you are root, you can change the password for any user using: passwd user_name&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;chmod perm filename (=change mode)&lt;/span&gt; Change the file access permission for the files you own (unless you are root in which case you can change any file). You can make a file accessible in three modes: read (r), write (w), execute (x) to three classes of users: owner (u), members of the same group as the owner (g), others on the system (o). Check the current access permissions using: ls -l filename If the file is accessible to all users in all modes it will show:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rwxrwxrwx &lt;/span&gt;The first triplet shows the file permission for the owner of the file, the second for his/her group, the third for others. A "no" permission is shown as "-". E.g., this command will add the permission to read the file "junk" to all (=user+group+others):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;chmod a+r junk &lt;/span&gt;This command will remove the permission to execute the file junk from others:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;chmod o-x junk &lt;/span&gt;Also try here for more info. You can set the default file permissions for the news files that you create using the command umask (see man umask).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;chown new_ownername filename chgrp new_groupname filename &lt;/span&gt;Change the file owner and group. You should use these two commands after you copy a file for use by somebody else.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;su (=substitute user id) &lt;/span&gt;Assume the superuser (=root) identity (you will be prompted for the password). Type "exit" to return you to your previous login. Don't habitually work on your machine as root. The root account is for administration and the su command is to ease your access to the administration account when you require it. You can also use "su" to assume any other user identity, e.g. su barbara will make me "barbara" (password required unless I am a superuser).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;kernelcfg (as root in X terminal). &lt;/span&gt;GUI to to add/remove kernel modules. You can do the same from the command line using the command "insmod", but "insmode" is less "newbie-friendly".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;lsmod&lt;/span&gt; List currently loaded kernel modules. A module is like a device driver--it provides operating system kernel support for a particular piece of hardware or feature.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;modprobe -l |more &lt;/span&gt;List all the modules available for your kernel. The available modules are determined by how your Linux kernel was compliled. Every possible module/feature can be compiled on linux as either "hard wired" (fast, non-removable), "module" (maybe slower, but loaded/removable on demand), or "no" (no support for this feature at all).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;insmod parport insmod ppa (as root) &lt;/span&gt;Insert modules into the kernel (a module is roughly an equivalent of a DOS device driver). This example shows how to insert the modules for support of the external parallel port zip drive (it appears to be a problem to get the external zip drive to work in any other way under RH6.0 ).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rmmod module_name (as root, not essential). &lt;/span&gt;Remove the module module_name from the kernel.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;setserial /dev/cua0 port 0x03f8 irq 4 (as root) &lt;/span&gt;Set a serial port to a non-standard setting. The example here shows the standard setting for the first serial port (cua0 or ttyS0). The standard PC settings for the second serial port (cua1or ttyS1) are: address of i/o port 0x02f8, irq 3. The third serial port (cua2 or ttyS2): 0x03e8, irq 4. The forth serial port (cua3 or ttyS3): 0x02e8, irq 3. Add your setting to /etc/rc.d/rc.local if you want it to be set at the boot time. See man setserial for good a overview.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;fdisk (as root) &lt;/span&gt;Linux hard drive partitioning utility (DOS has a utility with the same name).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cd /usr/src/linux-2.0.36 make xconfig (as root in X terminal).&lt;/span&gt; Nice GUI front-end for configuration of the kernel options in preparation for compilation of your customized kernel. (The directory name contains the version of your Linux kernel so you may need to modify the directory name if your Linux kernel version is different than 2.0.36 used in this example. You also need the "Tk" interpreter and the kernel source code installed. ) The alternatives to "make xconfig" are: "make config" (runs a scripts that asks you questions in the text mode) and "make menuconfig" (runs a text-based menu-driven configuration utility). Try: less /usr/doc/HOWTO/Kernel-HOWTO for more information. After the configuration, you may choose to proceed with kernel compilation of the new kernel by issuing the following commands: make dep make zImage The last command will take some time to complete (maybe 0.5 h, depending on your hardware). It produces the file "zImage", which is your new Linux kernel. Next: make modules make modules_install Read: /usr/doc/HOWTO/Kernel-HOWTO for information on how to install the new kernel. You will probably also find it useful to read "man depmode". Configuration, compilation and installation of a new kernel is not difficult but it CAN lead to problems if you don't know what you are doing.&lt;br /&gt;&lt;br /&gt;Compilation of a kernel is a good way to test your hardware, because it involves a massive amount of computing. If your hardware is "flaky", you will most likely receive the "signal 11" error (read the beatiful /usr/doc/FAQ/txt/GCC-SIG11-FAQ). See this for details on kernel upgrade.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;depmod -a (as root) &lt;/span&gt;Build the module dependency table for the kernel. This can, for example, be useful after installing and booting a new kernel. Use "modprobe -a" to load the modules.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ldconfig (as root) R&lt;/span&gt;e-create the bindings and the cache for the loader of dynamic libraries ("ld"). You may want to run ldconfig after an installation of new dynamically linked libraries on your system. (It is also re-run every time you boot the computer, so if you reboot you don't have to run it manually.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mknod /dev/fd0 b 2 0 (=make node, as root) &lt;/span&gt;Create a device file. This example shows how to create a device file associated with your first floppy drive and could be useful if you happened to accidentally erase it. The options are: b=block mode device (c=character mode device, p=FIFO device, u=unbuffered character mode device). The two integers specify the major and the minor device number.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;fdformat /dev/fd0H1440 mkfs -c -t ext2 (=floppy disk format, two commands, as root) &lt;/span&gt;Perform a low-level formatting of a floppy in the first floppy drive (/dev/fd0), high density (1440 kB). Then make a Linux filesystem (-t ext2), checking/marking bad blocks (-c ). Making the files system is an equivalent to the high-level format.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;badblocks /dev/fd01440 1440 (as root) &lt;/span&gt;Check a high-density floppy for bad blocks and display the results on the screen. The parameter "1440" specifies that 1440 blocks are to be checked. This command does not modify the floppy.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;fsck -t ext2 /dev/hda2 (=file system check, as root) &lt;/span&gt;Check and repair a filesystem. The example uses the partition hda2, filesystem type ext2.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;dd if=/dev/fd0H1440 of=floppy_image dd if=floppy_image of=/dev/fd0H1440 (two commands, dd="data duplicator") &lt;/span&gt;Create an image of a floppy to the file called&lt;span style="font-weight: bold;"&gt; "floppy_image"&lt;/span&gt; in the current directory.&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;Then copy floppy_image (file) to another floppy disk. Works like DOS "DISKCOPY".&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Program installation&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;rpm -ivh filename.rpm&lt;/span&gt; (=RedhatPackageManager, install, verbose, hashes displayed to show progress, as root.) Install a content of RedHat rpm package(s) and print info on what happened. Keep reading if you prefer a GUI installation.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rpm -qpi filename.rpm&lt;/span&gt; (=RedhatPackageManager, query, package, list.) Read the info on the content of a yet uninstalled package filename.rpm.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rpm -qpl filename.rpm&lt;/span&gt; (=RedhatPackageManager, query, package, information.) List the files contained in a yet uninstalled package filename.rpm.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rpm -qf filename &lt;/span&gt;(=RedhatPackageManager, query, file.) Find out the name of the *.rpm package to which the file filename (on your hardrive) belongs.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;rpm -e packagename&lt;/span&gt; (=RedhatPackageManager, erase=uninstall.) Uninstall a package pagckagename. Packagname is the same as the beginning of the *.rpm package file but without the dash and version number.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;kpackage gnorpm glint &lt;/span&gt;(in X terminal, as root if you want to be able to install packages) GUI fronts to the Red Hat Package Manager (rpm). "glint" comes with RH5.2, "gnorpm" with RH6.0, "kpackage" comes with RH6.1 or must be installed separately but is the best of the three. Use any of them to view which software packages are installed on your system and the what not-yet-installed packages are available on your RedHat CD, display the info about the packages, and install them if you want (installation must be done as root).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Accessing drives/partitions&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;mount &lt;/span&gt;&lt;br /&gt;Examples are shown in the next commands.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mount -t auto /dev/fd0 /mnt/floppy&lt;/span&gt; (as root) Mount the floppy. The directory /mnt/floppy must exist, be empty and NOT be your current directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mount -t auto /dev/cdrom /mnt/cdrom &lt;/span&gt;(as root) Mount the CD. You may need to create/modify the /dev/cdrom file depending where your CDROM is. The directory /mnt/cdrom must exist, be empty and NOT be your current directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mount /mnt/floppy&lt;/span&gt; (as user or root) Mount a floppy as user. The file /etc/fstab must be set up to do this. The directory /mnt/floppy must not be your current directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mount /mnt/cdrom &lt;/span&gt;(as user or root) Mount a CD as user. The file /etc/fstab must be set up to do this. The directory /mnt/cdrom must not be your current directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;umount /mnt/floppy &lt;/span&gt;Unmount the floppy. The directory /mnt/floppy must not be your (or anybody else's) current working directory. Depending on your setup, you might not be able to unmount a drive that you didn't mount.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;Network administration tools&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;netconf &lt;/span&gt;(as root) A very good menu-driven setup of your network.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;pingmachine_name &lt;/span&gt;Check if you can contact another machine (give the machine's name or IP), press C when done (it keeps going).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;route -n &lt;/span&gt;Show the kernel routing table.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;nslookup host_to_find &lt;/span&gt;Query your default domain name server (DNS) for an Internet name (or IP number) host_to_find. This way you can check if your DNS works. You can also find out the name of the host of which you only know the IP number.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;traceroute host_to_trace &lt;/span&gt;Have a look how you messages trave to host_to_trace (which is either a host name or IP number).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ipfwadm -F -p m&lt;/span&gt;(for RH5.2, seen next command for RH6.0) Set up the firewall IP forwarding policy to masquerading. (Not very secure but simple.) Purpose: all computers from your home network will appear to the outside world as one very busy machine and, for example, you will be allowed to browse the Internet from all computers at once.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;echo 1 &gt; /proc/sys/net/ipv4/ip_forward ipfwadm-wrapper -F -p deny ipfwadm-wrapper -F -a m -S xxx.xxx.xxx.0/24 -D 0.0.0.0/0 &lt;/span&gt;(three commands, RH6.0). Does the same as the previous command. Substitute the "x"s with digits of your class "C" IP address that you assigned to your home network.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ifconfig &lt;/span&gt;(as root) Display info on the network interfaces currently active (ethernet, ppp, etc). Your first ethernet should show up as eth0, second as eth1, etc, first ppp over modem as ppp0, second as ppp1, etc. The "lo" is the "loopback only" interface which should be always active. Use the options (see ifconfig --help) to configure the interfaces.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ifup interface_name&lt;/span&gt; (/sbin/ifup to it run as a user) Startup a network interface. E.g.: ifup eth0 ifup ppp0 Users can start up or shutdown the ppp interface only when the right permission was checked during the ppp setup (using netconf ). To start a ppp interface (dial-up connection), I normally use kppp available under kde menu "internet".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ifdown interface_name&lt;/span&gt; (/sbin/ifdown to run it as a user). Shut down the network interface. E.g.: ifdown ppp0 Also, see the previous command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;netstat | more &lt;/span&gt;Displays a lot (too much?) information on the status of your network.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Graphics-related commands&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;kghostview my_file.ps &lt;/span&gt;Display a postscript file on screen. I can also use the older-looking ghostview or gv for the same end effect.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ps2pdf my_file.ps my_file.pdf &lt;/span&gt;Make a pdf (Adobe portable document format) file from a postscript file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;gimp &lt;/span&gt;(in X terminal) A humble looking but very powerful image processor. Takes some learning to use, but it is great for artists, there is almost nothing you can't do with gimp. Use your mouse right button to get local menus, and learn how to use layers. Save your file in the native gimp file format *.xcf (to preserve layers) and only then flatten it and save as png (or whatever). There is a large user manual /usr/&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;gphoto &lt;/span&gt;(in X terminal) Powerful photo editor.&lt;br /&gt;&lt;del&gt;&lt;del&gt;&lt;/del&gt;&lt;/del&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-6397678526404999100?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/6397678526404999100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=6397678526404999100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/6397678526404999100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/6397678526404999100'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/08/ubuntu-debian-quick-references.html' title='Ubuntu / Debian Quick References'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-1013753294668326524</id><published>2007-08-09T20:21:00.000-04:00</published><updated>2007-11-14T13:08:07.971-05:00</updated><title type='text'>Must have these Ubuntu Aps!</title><content type='html'>&lt;div style="WIDTH: 600px"&gt;&lt;a href="http://pidgin.im/pidgin/home/"&gt;Pidgin&lt;/a&gt; is a&lt;br /&gt;multi-protocol Instant Messaging client that allows you to use all of&lt;br /&gt;your IM accounts at once.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="WIDTH: 600px"&gt;&lt;a href="http://pidgin.im/pidgin/home/"&gt;Pidgin&lt;/a&gt; can&lt;br /&gt;work with:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;AIM &lt;/li&gt;&lt;li&gt;Bonjour &lt;/li&gt;&lt;li&gt;Gadu-Gadu &lt;/li&gt;&lt;li&gt;Google Talk &lt;/li&gt;&lt;li&gt;Groupwise &lt;/li&gt;&lt;li&gt;ICQ &lt;/li&gt;&lt;li&gt;IRC&lt;/li&gt;&lt;li&gt;MSN &lt;/li&gt;&lt;li&gt;QQ &lt;/li&gt;&lt;li&gt;SILC&lt;/li&gt;&lt;li&gt;SIMPLE&lt;/li&gt;&lt;li&gt;Sametime&lt;/li&gt;&lt;li&gt;XMPP &lt;/li&gt;&lt;li&gt;Yahoo!&lt;/li&gt;&lt;li&gt;Zephyr &lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="WIDTH: 600px"&gt;&lt;p&gt;With &lt;a href="http://alltray.sourceforge.net/"&gt;AllTray&lt;/a&gt; you&lt;br /&gt;can dock any application with no native tray icon (like Evolution,&lt;br /&gt;Thunderbird, Terminals) into the system tray. A high-light feature is&lt;br /&gt;that a click on the "close" button will minimize back to system tray.&lt;br /&gt;It works well with Gnome, KDE, XFCE 4*, Fluxbox* and WindowMaker* &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;/div&gt;&lt;a href="http://bp1.blogger.com/_nPOqLQNRPEk/Rru881a1viI/AAAAAAAAAEI/hTIWGE77Eiw/s1600-h/alltray.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5096875156617674274" style="FLOAT: left; MARGIN: 0px 10px 10px 0px" alt="" src="http://bp1.blogger.com/_nPOqLQNRPEk/Rru881a1viI/AAAAAAAAAEI/hTIWGE77Eiw/s320/alltray.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;* Do not support grag'n'drop.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="WIDTH: 600px"&gt;&lt;a href="http://www.mythtv.org/"&gt;MythTV project&lt;/a&gt;, an&lt;br /&gt;open source software Personal Video Recorder. It lets you build a box&lt;br /&gt;similar to a TiVo or ReplayTV, but much more powerful - and more easily&lt;br /&gt;modified. &lt;/div&gt;&lt;a href="http://bp3.blogger.com/_nPOqLQNRPEk/Rru9TVa1vjI/AAAAAAAAAEQ/jxQCi3tlfqU/s1600-h/myth.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5096875543164730930" style="FLOAT: left; MARGIN: 0px 10px 10px 0px" alt="" src="http://bp3.blogger.com/_nPOqLQNRPEk/Rru9TVa1vjI/AAAAAAAAAEQ/jxQCi3tlfqU/s320/myth.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://gdesklets.zencomputer.ca/"&gt;gDesklets&lt;/a&gt;&lt;br /&gt;are simiar to Vista Sidebars and more akin to Mac OSX desktop widgets.&lt;br /&gt;&lt;a href="http://bp0.blogger.com/_nPOqLQNRPEk/Rru9kla1vkI/AAAAAAAAAEY/P_QAg4Tg9lk/s1600-h/gDesklets.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5096875839517474370" style="FLOAT: left; MARGIN: 0px 10px 10px 0px" alt="" src="http://bp0.blogger.com/_nPOqLQNRPEk/Rru9kla1vkI/AAAAAAAAAEY/P_QAg4Tg9lk/s320/gDesklets.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-1013753294668326524?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/1013753294668326524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=1013753294668326524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/1013753294668326524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/1013753294668326524'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/08/must-have-these-ubuntu-aps.html' title='Must have these Ubuntu Aps!'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_nPOqLQNRPEk/Rru881a1viI/AAAAAAAAAEI/hTIWGE77Eiw/s72-c/alltray.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-8475644401306323148</id><published>2007-07-26T21:55:00.000-04:00</published><updated>2007-07-26T21:59:22.102-04:00</updated><title type='text'>Install Java run-time on Ubuntu Fiesty</title><content type='html'>Download jre-6u2-linux-amd64.bin (or current version) This is the AMD 64Bit version.&lt;br /&gt;&lt;br /&gt;If saved to desktop, open a console&lt;br /&gt;&lt;br /&gt;cd ~/Desktop&lt;br /&gt;$sudo chmod a+x jre-6u2-linux-amd64.bin&lt;br /&gt;./ jre-6u2-linux-amd64.bin&lt;br /&gt;&lt;br /&gt;Scroll through the Terms and conditions, type yes and your done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-8475644401306323148?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/8475644401306323148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=8475644401306323148' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/8475644401306323148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/8475644401306323148'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/07/install-java-run-time-on-ubuntu.html' title='Install Java run-time on Ubuntu Fiesty'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-5803426986790698231</id><published>2007-03-05T10:02:00.000-05:00</published><updated>2007-03-05T10:28:34.910-05:00</updated><title type='text'>DSL and other linux on USB</title><content type='html'>These are the best and easiest instructions I've found so far for creating a Linux  bootable USB Flash Drive&lt;br /&gt;&lt;br /&gt;&lt;a href="http://pendrivelinux.com/2007/01/02/all-in-one-usb-dsl"&gt;http://pendrivelinux.com/2007/01/02/all-in-one-usb-dsl&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Substitute USBDSL.zip with other Distros to match your preference.&lt;br /&gt;Such as: USBEdgy.zip&lt;br /&gt;&lt;br /&gt;See this link for more Linux options&lt;br /&gt;&lt;a href="http://pendrivelinux.com/"&gt;http://pendrivelinux.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-5803426986790698231?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/5803426986790698231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=5803426986790698231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/5803426986790698231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/5803426986790698231'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/03/dsl-and-other-linux-on-usb.html' title='DSL and other linux on USB'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-6234036741624395320</id><published>2007-03-03T08:04:00.000-05:00</published><updated>2007-03-03T08:21:48.854-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Troubleshooting X problems'/><title type='text'>Ubuntu Troubleshooting X problems</title><content type='html'>&lt;a href="http://www.psychocats.net/ubuntu/nox"&gt;http://www.psychocats.net/ubuntu/nox&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Mount alternate installer CD instead of internet&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sudo apt-cdrom add&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To install the full Gnome desktop&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sudo aptitude updatesudo aptitude install ubuntu-desktop&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;To start Gnome&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sudo /etc/init.d/gdm start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-6234036741624395320?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/6234036741624395320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=6234036741624395320' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/6234036741624395320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/6234036741624395320'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/03/ubuntu-troubleshooting-x-problems.html' title='Ubuntu Troubleshooting X problems'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-7275676633915734298</id><published>2007-03-03T07:54:00.000-05:00</published><updated>2007-03-03T08:04:45.339-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='This is a VERY useful post'/><title type='text'>How to install ANYTHING in Ubuntu</title><content type='html'>&lt;a href="http://cutlersoftware.com/ubuntuinstall/"&gt;http://cutlersoftware.com/ubuntuinstall/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://cutlersoftware.com/ubuntuinstall/#installing_with_terminal"&gt;Installing software with the terminal&lt;/a&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;apt-get&lt;/li&gt;&lt;li&gt;aptitude&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;a href="http://cutlersoftware.com/ubuntuinstall/#installing_a_package_manually"&gt;Installing a package manually&lt;/a&gt; (&lt;a href="http://cutlersoftware.com/ubuntuinstall/#deb"&gt;.deb&lt;/a&gt;, &lt;a href="http://cutlersoftware.com/ubuntuinstall/#rpm"&gt;.rpm&lt;/a&gt;, &lt;a href="http://cutlersoftware.com/ubuntuinstall/#source"&gt;.tar.gz&lt;/a&gt;, &lt;a href="http://cutlersoftware.com/ubuntuinstall/#autopackage"&gt;.package&lt;/a&gt;, &lt;a href="http://cutlersoftware.com/ubuntuinstall/#klik"&gt;klik:// → .cmg&lt;/a&gt;, &lt;a href="http://cutlersoftware.com/ubuntuinstall/#script"&gt;.sh&lt;/a&gt;, &lt;a href="http://cutlersoftware.com/ubuntuinstall/#installer"&gt;.bin&lt;/a&gt;, &lt;a href="http://cutlersoftware.com/ubuntuinstall/#exe"&gt;.exe&lt;/a&gt;, ...)&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Source Package (.tar, .tar.gz, .tgz, .tar.bz, ...) &lt;/li&gt;&lt;li&gt;Klik package (klik:// → .cmg) &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;GUI&lt;/p&gt;&lt;ul&gt;&lt;li&gt;synaptic&lt;/li&gt;&lt;li&gt;(.deb)&lt;/li&gt;&lt;li&gt;(.rpm)&lt;/li&gt;&lt;li&gt;Themes (.tar, .tar.gz, .tgz, .tar.bz, ...) &lt;/li&gt;&lt;li&gt;Source Package (.tar, .tar.gz, .tgz, .tar.bz, ...) &lt;/li&gt;&lt;li&gt;Klik package (klik:// → .cmg) &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-7275676633915734298?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/7275676633915734298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=7275676633915734298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/7275676633915734298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/7275676633915734298'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/03/how-to-install-anything-in-ubuntu.html' title='How to install ANYTHING in Ubuntu'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-8280734576515919876</id><published>2007-03-03T07:46:00.000-05:00</published><updated>2007-03-03T07:48:02.009-05:00</updated><title type='text'>Getting Back to a Pure XFCE on Ubuntu</title><content type='html'>This tutorial will show you how to remove KDE, Gnome and return to pure xfce&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.psychocats.net/ubuntu/purexfce"&gt;http://www.psychocats.net/ubuntu/purexfce&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-8280734576515919876?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/8280734576515919876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=8280734576515919876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/8280734576515919876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/8280734576515919876'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/03/getting-back-to-pure-xfce-on-ubuntu.html' title='Getting Back to a Pure XFCE on Ubuntu'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-4478137506093006525</id><published>2007-03-02T15:38:00.000-05:00</published><updated>2007-03-02T15:39:59.149-05:00</updated><title type='text'>Install and Configure Xserver</title><content type='html'>To install GUI&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;sudo aptitude install xorg&lt;br /&gt;then either one of gdm, xdm, or kdm.&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;sudo aptitude install gdm/xdm/kdm&lt;br /&gt;then either xubuntu-desktop, ubuntu-desktop, kubuntu-desktop. Or xfce/gnome/kde/openbox/etc I use xfce so I did.&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;sudo aptitude install xfce4&lt;br /&gt;&lt;br /&gt;The difference between xfce and xubuntu is that xubuntu comes with more apps. I think the same applies to gnome/ubuntu kde/kubuntu.&lt;br /&gt;&lt;br /&gt;If you decide to go the Xubuntu route, but choose to install the xfce4 package make sure to installing thunar alongside it, otherwise you'll have no file browser.Edit: Although xfce4 might install Thunar automatically, it's probably safer to install the xubuntu-desktop metapackage.&lt;br /&gt;The command to reconfigure the x-server is&lt;br /&gt;&lt;br /&gt;Code:&lt;br /&gt;sudo dpkg-reconfigure xserver-xorg&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-4478137506093006525?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/4478137506093006525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=4478137506093006525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/4478137506093006525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/4478137506093006525'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/03/install-and-configure-xserver.html' title='Install and Configure Xserver'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-7377045402677680040</id><published>2007-02-25T22:41:00.000-05:00</published><updated>2007-11-14T12:54:59.873-05:00</updated><title type='text'>Mounting Devices</title><content type='html'>&lt;h3&gt;&lt;/h3&gt;&lt;br /&gt;&lt;h3&gt;&lt;samp&gt;/etc/fstab&lt;/samp&gt;: Automating the mount process&lt;/h3&gt;&lt;p&gt;The file &lt;samp&gt;/etc/fstab&lt;/samp&gt; (it stands for "file system table") contains descriptions of filesystems that you mount often. These filesystems can then be mounted with a shorter command, such as &lt;samp&gt;mount /cdrom&lt;/samp&gt;. You can also configure filesystems to mount automatically when the system boots. You'll probably want to mount all of your hard disk filesystems when you boot. &lt;/p&gt;&lt;p&gt;Look at this file now, by typing &lt;samp&gt;more /etc/fstab&lt;/samp&gt;. It will have two or more entries that were configured automatically when you installed the system. It probably looks something like this: &lt;/p&gt;&lt;pre&gt;     # /etc/fstab: static file system information.&lt;br /&gt;    #&lt;br /&gt;    # &lt;file&gt;     &lt;mount&gt;   &lt;type&gt;  &lt;options&gt;   &lt;dump&gt;  &lt;pass&gt;&lt;br /&gt;    /dev/hda1            /               ext2    defaults    0       1&lt;br /&gt;    /dev/hda3            none            swap    sw          0       0&lt;br /&gt;    proc                 /proc           proc    defaults    0       0&lt;br /&gt;  &lt;br /&gt;    /dev/hda5            /tmp            ext2    defaults    0       2&lt;br /&gt;    /dev/hda6            /home           ext2    defaults    0       2&lt;br /&gt;    /dev/hda7            /usr            ext2    defaults    0       2&lt;br /&gt;  &lt;br /&gt;    /dev/hdc             /cdrom          iso9660 ro          0       0&lt;br /&gt;    /dev/fd0             /floppy         auto    noauto,sync 0       0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The first column lists the device the filesystem resides on. The second lists the mount point, the third the filesystem type. The line beginning &lt;samp&gt;proc&lt;/samp&gt; is a special filesystem explained in &lt;a href="http://www.blogger.com/post-create.g?blogID=7443584082875439538#s-files-advanced-proc"&gt;The &lt;samp&gt;proc&lt;/samp&gt; filesystem, Section 4.8.3&lt;/a&gt;. Notice that the swap partition (&lt;samp&gt;/dev/hda3&lt;/samp&gt; in the example) has no mount point, so the mount point column contains &lt;samp&gt;none&lt;/samp&gt;. &lt;/p&gt;&lt;p&gt;The last three columns may require some explanation. &lt;/p&gt;&lt;p&gt;The fifth column is used by the &lt;samp&gt;dump&lt;/samp&gt; utility to decide when to back up the filesystem. FIXME: cross ref to &lt;samp&gt;dump&lt;/samp&gt; &lt;/p&gt;&lt;p&gt;The sixth column is used by &lt;samp&gt;fsck&lt;/samp&gt; to decide in what order to check filesystems when you boot the system. The root filesystem should have a &lt;samp&gt;1&lt;/samp&gt; in this field, filesystems which don't need to be checked (such as the swap partition) should have a &lt;samp&gt;0&lt;/samp&gt;, and all other filesystems should have a &lt;samp&gt;2&lt;/samp&gt;. FIXME: cross ref to &lt;samp&gt;fsck&lt;/samp&gt;, also, is the swap partition really a filesystem? &lt;/p&gt;&lt;p&gt;Column four contains one or more options to use when mounting the filesystem. Here's a brief summary (some of these probably won't make much sense yet - they're here for future reference): &lt;/p&gt;&lt;dl&gt;&lt;dt&gt;&lt;samp&gt;async&lt;/samp&gt; and &lt;samp&gt;sync&lt;/samp&gt; &lt;/dt&gt;&lt;dd&gt;Do I/O synchronously or asynchronously. Synchronous I/O writes changes to files immediately, while asynchronous I/O may keep data in buffers and write it later, for efficiency reasons. FIXME: cross ref to section on sync for full explanation. Also, should recommend when to choose one or the other. &lt;/dd&gt;&lt;/dl&gt;&lt;dl&gt;&lt;dt&gt;&lt;samp&gt;ro&lt;/samp&gt; and &lt;samp&gt;rw&lt;/samp&gt; &lt;/dt&gt;&lt;dd&gt;Mount the filesystem read-only or read-write. If you don't need to make any changes to the filesystem, it's a good idea to mount it read-only so you don't accidentally mess something up. Also, read-only devices (such as CD-ROM drives and floppy disks with write protection tabs) should be mounted read-only. &lt;/dd&gt;&lt;/dl&gt;&lt;dl&gt;&lt;dt&gt;&lt;samp&gt;auto&lt;/samp&gt; and &lt;samp&gt;noauto&lt;/samp&gt; &lt;/dt&gt;&lt;dd&gt;When the system boots, or whenever you type &lt;samp&gt;mount -a&lt;/samp&gt;, &lt;samp&gt;mount&lt;/samp&gt; tries to mount all the filesystems listed in &lt;samp&gt;/etc/fstab&lt;/samp&gt;. If you don't want it to automatically mount a filesystem, you should use the &lt;samp&gt;noauto&lt;/samp&gt; option. It's probably a good idea to use &lt;samp&gt;noauto&lt;/samp&gt; with removable media such as floppy disks, because there may or may not be a disk in the drive. You'll want to mount these filesystems manually after you put in a disk. &lt;/dd&gt;&lt;/dl&gt;&lt;dl&gt;&lt;dt&gt;&lt;samp&gt;dev&lt;/samp&gt; and &lt;samp&gt;nodev&lt;/samp&gt; &lt;/dt&gt;&lt;dd&gt;Use or ignore device files on this filesystem. You might use &lt;samp&gt;nodev&lt;/samp&gt; if you mount the root directory of another system on your system - you don't want your system to try to use the devices on the other system. &lt;/dd&gt;&lt;/dl&gt;&lt;dl&gt;&lt;dt&gt;&lt;samp&gt;user&lt;/samp&gt; and &lt;samp&gt;nouser&lt;/samp&gt; &lt;/dt&gt;&lt;dd&gt;Permit or forbid ordinary users to mount the filesystem. &lt;samp&gt;nouser&lt;/samp&gt; means that only root can mount the filesystem. This is the normal arrangement. You might use the &lt;samp&gt;user&lt;/samp&gt; option to access the floppy drive without having to be root. &lt;/dd&gt;&lt;/dl&gt;&lt;dl&gt;&lt;dt&gt;&lt;samp&gt;exec&lt;/samp&gt; and &lt;samp&gt;noexec&lt;/samp&gt; &lt;/dt&gt;&lt;dd&gt;Allow or do not allow the execution of files on this filesystem. Probably you won't need these options. &lt;/dd&gt;&lt;/dl&gt;&lt;dl&gt;&lt;dt&gt;&lt;samp&gt;suid&lt;/samp&gt; and &lt;samp&gt;nosuid&lt;/samp&gt; &lt;/dt&gt;&lt;dd&gt;Allow or do not allow the suid bit to take effect. Probably you won't need these options. See &lt;a href="http://www.blogger.com/post-create.g?blogID=7443584082875439538#s-files-advanced-permissions-suid"&gt;Making files suid/sgid, Section 4.8.4.2&lt;/a&gt;. &lt;/dd&gt;&lt;/dl&gt;&lt;dl&gt;&lt;dt&gt;&lt;samp&gt;defaults&lt;/samp&gt; &lt;/dt&gt;&lt;dd&gt;Equivalent to: &lt;samp&gt;rw&lt;/samp&gt;, &lt;samp&gt;dev&lt;/samp&gt;, &lt;samp&gt;suid&lt;/samp&gt;, &lt;samp&gt;exec&lt;/samp&gt;, &lt;samp&gt;auto&lt;/samp&gt;, &lt;samp&gt;nouser&lt;/samp&gt;, &lt;samp&gt;async&lt;/samp&gt;. You can specify &lt;samp&gt;defaults&lt;/samp&gt; followed by other options to override specific aspects of &lt;samp&gt;defaults&lt;/samp&gt;.&lt;/dd&gt;&lt;/dl&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;u&gt;fstab Syntax&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="MARGIN: 5px 20px 20px 100px"&gt;&lt;div class="smallfont" style="MARGIN-BOTTOM: 2px"&gt;Quote:&lt;/div&gt;&lt;table cellspacing="0" cellpadding="6" width="100%" border="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="ubuntu_quotebackground"&gt;[Device] [Mount Point] [File_system] [Options] [dump] [fsck order] &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Device = Physical location.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;/dev/hd&lt;span style="color:red;"&gt;x&lt;/span&gt;&lt;span style="color:green;"&gt;y&lt;/span&gt; or /dev/sd&lt;span style="color:red;"&gt;x&lt;/span&gt;&lt;span style="color:green;"&gt;y&lt;/span&gt;.&lt;br /&gt;&lt;span style="color:red;"&gt;x&lt;/span&gt; will be a letter starting with a, then b,c,....&lt;br /&gt;&lt;span style="color:green;"&gt;y&lt;/span&gt; will be a number starting with 1, then 2,3,....&lt;br /&gt;Thus hda1 = First partition on the master HD.&lt;br /&gt;&lt;/div&gt;&lt;blockquote style="MARGIN-LEFT: 80px"&gt;See &lt;a href="http://ubuntuforums.org/showthread.php?t=282018" target="_blank"&gt;Basic partitioning&lt;/a&gt; for more information&lt;/blockquote&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;u&gt;&lt;b&gt;Note&lt;/b&gt;&lt;/u&gt;&lt;b&gt;: zip discs are always numbered "4".&lt;/b&gt;&lt;br /&gt;Example: USB Zip = /dev/sda&lt;span style="color:red;"&gt;4&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Note&lt;/b&gt;&lt;/u&gt;&lt;b&gt;: You can also identify a device by udev, volume label (AKA LABEL), or uuid.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;These fstab techniques are helpful for removable media because the device (/dev/sd&lt;span style="color:red;"&gt;x&lt;/span&gt;y) may change. For example, sometimes the USB device will be assigned /dev/sda1, other times /dev/sdb1. This depends on what order you connect USB devices, and where (which USB slot) you use to connect. This can be a major aggravation as you must identify the device before you can mount it. fstab does not work well if the device name keeps changing.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To list your devices, first put connect your USB device (it does not need to be mounted).&lt;br /&gt;&lt;u&gt;By volume label&lt;/u&gt;: &lt;/div&gt;&lt;div style="MARGIN: 5px 20px 20px 100px"&gt;&lt;div class="smallfont" style="MARGIN-BOTTOM: 2px"&gt;Code:&lt;/div&gt;&lt;pre class="ubuntu_codebackground" style="BORDER-RIGHT: 1px inset; PADDING-RIGHT: 6px; BORDER-TOP: 1px inset; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; MARGIN: 0px; OVERFLOW: auto; BORDER-LEFT: 1px inset; WIDTH: 515px; PADDING-TOP: 6px; BORDER-BOTTOM: 1px inset; HEIGHT: 34px"&gt;&lt;div style="TEXT-ALIGN: left"&gt;ls /dev/disk/by-label -lah&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;u&gt;By id&lt;/u&gt;: &lt;/div&gt;&lt;div style="MARGIN: 5px 20px 20px 100px"&gt;&lt;div class="smallfont" style="MARGIN-BOTTOM: 2px"&gt;Code:&lt;/div&gt;&lt;pre class="ubuntu_codebackground" style="BORDER-RIGHT: 1px inset; PADDING-RIGHT: 6px; BORDER-TOP: 1px inset; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; MARGIN: 0px; OVERFLOW: auto; BORDER-LEFT: 1px inset; WIDTH: 512px; PADDING-TOP: 6px; BORDER-BOTTOM: 1px inset; HEIGHT: 34px"&gt;&lt;div style="TEXT-ALIGN: left"&gt;ls /dev/disk/by-id -lah&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;u&gt;By uuid&lt;/u&gt;: &lt;/div&gt;&lt;div style="MARGIN: 5px 20px 20px 100px"&gt;&lt;div class="smallfont" style="MARGIN-BOTTOM: 2px"&gt;Code:&lt;/div&gt;&lt;pre class="ubuntu_codebackground" style="BORDER-RIGHT: 1px inset; PADDING-RIGHT: 6px; BORDER-TOP: 1px inset; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; MARGIN: 0px; OVERFLOW: auto; BORDER-LEFT: 1px inset; WIDTH: 515px; PADDING-TOP: 6px; BORDER-BOTTOM: 1px inset; HEIGHT: 34px"&gt;&lt;div style="TEXT-ALIGN: left"&gt;ls /dev/disk/by-uuid -lah&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;b&gt;IMO, LABEL is easiest to use as you can set a label and it is human readable.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;The format to use instead of the device name in the fstab file is&lt;/u&gt;:&lt;br /&gt;LABEL=&lt;label&gt; (Where &lt;label&gt;is the volume label name, ex. "data").&lt;br /&gt;UUID=&lt;uuid&gt; (Where &lt;uuid&gt;is some alphanumeric (hex) like fab05680-eb08-4420-959a-ff915cdfcb44).&lt;br /&gt;Again, IMO, using a label has a strong advantage with &lt;b&gt;removable media&lt;/b&gt; (flash drives).&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;See &lt;u&gt;How to use Labels&lt;/u&gt; below.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;u&gt;For udev&lt;/u&gt;: udev does the same thing as LABEL, but I find it more complicated.&lt;br /&gt;See &lt;a href="http://ubuntuforums.org/showthread.php?t=168221" target="_blank"&gt;How to udev&lt;/a&gt; for a very nice how to on udev.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;Mount point.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;This is where the partition is mounted or accessed within the "tree" (ie /mnt/hda1).&lt;br /&gt;You can use any name you like.&lt;br /&gt;In general &lt;/div&gt;&lt;ol style="MARGIN-LEFT: 80px; LIST-STYLE-TYPE: decimal"&gt;&lt;li&gt;/mnt Typically used for fixed hard drives HD/SCSI. &lt;/li&gt;&lt;li&gt;/media Typically used for removable media (CD/DVD/USB/Zip).&lt;/li&gt;&lt;/ol&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;Examples: &lt;/div&gt;&lt;ol style="MARGIN-LEFT: 80px; LIST-STYLE-TYPE: decimal"&gt;&lt;li&gt;/mnt/windows &lt;/li&gt;&lt;li&gt;/mnt/data &lt;/li&gt;&lt;li&gt;/media/usb&lt;/li&gt;&lt;/ol&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;u&gt;To make a mount point&lt;/u&gt;: &lt;/div&gt;&lt;div style="MARGIN: 5px 20px 20px 100px"&gt;&lt;div class="smallfont" style="MARGIN-BOTTOM: 2px"&gt;Code:&lt;/div&gt;&lt;pre class="ubuntu_codebackground" style="BORDER-RIGHT: 1px inset; PADDING-RIGHT: 6px; BORDER-TOP: 1px inset; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; MARGIN: 0px; OVERFLOW: auto; BORDER-LEFT: 1px inset; WIDTH: 537px; PADDING-TOP: 6px; BORDER-BOTTOM: 1px inset; HEIGHT: 34px"&gt;&lt;div style="TEXT-ALIGN: left"&gt;sudo mkdir /media/usb&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;span style="font-size:85%;"&gt;&lt;b&gt;File types:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;u&gt;Linux file systems&lt;/u&gt;: ext2, ext3, jfs, reiserfs, reiser4, xfs, swap.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Windows&lt;/u&gt;:&lt;br /&gt;vfat = FAT 32, FAT 16&lt;br /&gt;ntfs= NTFS&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Note&lt;/u&gt;: For NTFS rw &lt;a href="http://ubuntuforums.org/showthread.php?t=217009" target="_blank"&gt;ntfs-3g&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;CD/DVD/iso&lt;/u&gt;: iso9660 &lt;/div&gt;&lt;blockquote style="MARGIN-LEFT: 80px"&gt;&lt;u&gt;To mount an iso image (*.iso NOT CD/DVD device)&lt;/u&gt;: &lt;div style="MARGIN: 5px 20px 20px"&gt;&lt;div class="smallfont" style="MARGIN-BOTTOM: 2px"&gt;Code:&lt;/div&gt;&lt;pre class="ubuntu_codebackground" style="BORDER-RIGHT: 1px inset; PADDING-RIGHT: 6px; BORDER-TOP: 1px inset; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; MARGIN: 0px; OVERFLOW: auto; BORDER-LEFT: 1px inset; WIDTH: 532px; PADDING-TOP: 6px; BORDER-BOTTOM: 1px inset; HEIGHT: 34px"&gt;&lt;div style="TEXT-ALIGN: left"&gt;sudo mount -t iso9660 -o ro,loop=/dev/loop0 &lt;iso_file&gt; &lt;mount_point&gt;&lt;/div&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div style="MARGIN-LEFT: 80px"&gt;&lt;u&gt;Network file systems&lt;/u&gt;:&lt;br /&gt;&lt;u&gt;nfs&lt;/u&gt; Example: &lt;/div&gt;&lt;div style="MARGIN: 5px 20px 20px 100px"&gt;&lt;div class="smallfont" style="MARGIN-BOTTOM: 2px"&gt;Quote:&lt;/div&gt;&lt;table cellspacing="0" cellpadding="6" width="100%" border="0"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="ubuntu_quotebackground"&gt;server:/shared_directory /mnt/nfs nfs &lt;options&gt;0 0 &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="MARGIN-TOP: 5px; MARGIN-BOTTOM: 20px; MARGIN-RIGHT: 20px"&gt;&lt;h3&gt;Make a directory for each device to mount it&lt;/h3&gt;makedir /floppy&lt;br /&gt;makedir /cdrom&lt;br /&gt;makedir /usb&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Mounting a filesystem&lt;/h3&gt;Before mounting a filesystem, or to actually create a filesystem on a disk that doesn't have one yet, it's necessary to refer to the devices themselves. All devices have names, and these are located in the &lt;samp&gt;/dev&lt;/samp&gt; directory. If you type &lt;samp&gt;ls /dev&lt;/samp&gt; now, you'll see a pretty lengthy list of every possible device you could have on your Debian system. &lt;p&gt;Possible devices include: &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;samp&gt;/dev/hda&lt;/samp&gt; is IDE drive A, usually called &lt;samp&gt;C:\&lt;/samp&gt; on a DOS or Windows system. In general, this will be a hard drive. IDE refers to the type of drive - if you don't know what it means, you probably have this kind of drive, because it's the most common. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;samp&gt;/dev/hdb&lt;/samp&gt; is IDE drive B, as you might guess. This could be a second hard drive, or perhaps a CD-ROM drive. Drives A and B are the first and second (master and slave) drives on the primary IDE controller. Drives C and D are the first and second drives on the secondary controller. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;samp&gt;/dev/hda1&lt;/samp&gt; is the first &lt;em&gt;partition&lt;/em&gt; of IDE drive A. Notice that different drives are lettered, while specific partitions of those drives are numbered as well. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;samp&gt;/dev/sda&lt;/samp&gt; is SCSI disk A. SCSI is like IDE, only if you don't know what it is you probably &lt;em&gt;don't&lt;/em&gt; have one. They're not very common in home Intel PC's, though they're often used in servers and Macintoshes often have SCSI disks. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;samp&gt;/dev/fd0&lt;/samp&gt; is the first floppy drive, generally &lt;samp&gt;A:\&lt;/samp&gt; under DOS. Since floppy disks don't have partitions, they only have numbers, rather than the letter-number scheme used for hard drives. However, for floppy drives the numbers refer to the drive, and for hard drives the numbers refer to the partitions. &lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;samp&gt;/dev/ttyS0&lt;/samp&gt; is one of your serial ports. &lt;samp&gt;/dev&lt;/samp&gt; contains the names of many devices, not just disk drives. &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;To mount a filesystem, tell Linux to associate whatever filesystem it finds on a particular device with a particular mount point.&lt;br /&gt;&lt;/p&gt;&lt;ol type="1"&gt;&lt;li&gt;&lt;samp&gt;su&lt;/samp&gt; &lt;p&gt;If you haven't already, you need to either log in as root or gain root privileges with the &lt;samp&gt;su&lt;/samp&gt; (super user) command. If you use &lt;samp&gt;su&lt;/samp&gt;, enter the root password when prompted. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ol type="1" start="2"&gt;&lt;li&gt;&lt;samp&gt;ls /cdrom&lt;/samp&gt; &lt;p&gt;See what's in the &lt;samp&gt;/cdrom&lt;/samp&gt; directory before you start. If you don't have a &lt;samp&gt;/cdrom&lt;/samp&gt; directory, you may have to make one using &lt;samp&gt;mkdir /cdrom&lt;/samp&gt;. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ol type="1" start="3"&gt;&lt;li&gt;&lt;samp&gt;mount&lt;/samp&gt; &lt;p&gt;Typing simply &lt;samp&gt;mount&lt;/samp&gt; with no arguments lists the currently mounted filesystems. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ol type="1" start="4"&gt;&lt;li&gt;&lt;samp&gt;mount -t iso9660 &lt;var&gt;CD device&lt;/var&gt; /cdrom&lt;/samp&gt; &lt;p&gt;For this command, you should substitute the name of your CD-ROM device for &lt;samp&gt;&lt;var&gt;CD device&lt;/var&gt;&lt;/samp&gt; in the above command line. If you aren't sure, &lt;samp&gt;/dev/hdc&lt;/samp&gt; is a good guess. If that fails, try the different IDE devices: &lt;samp&gt;/dev/hda&lt;/samp&gt;, etc. You should see a message like: &lt;/p&gt;&lt;pre&gt;     mount: block device /dev/hdc is write-protected, mounting read-only&lt;br /&gt;&lt;/pre&gt;&lt;p&gt;The &lt;samp&gt;-t&lt;/samp&gt; option specifies the type of the filesystem, in this case &lt;samp&gt;iso9660&lt;/samp&gt;. Most CDs are &lt;samp&gt;iso9660&lt;/samp&gt;. The next argument is the name of the device to mount, and the final argument is the mount point. There are many other arguments to &lt;samp&gt;mount&lt;/samp&gt;; see the man page for details. (For example, you could avoid the above message by specifying read-only on the command line.) &lt;/p&gt;&lt;p&gt;Once a CD is mounted, you may find that your drive tray will not open. You must unmount the CD before removing it. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ol type="1" start="5"&gt;&lt;li&gt;&lt;samp&gt;ls /cdrom&lt;/samp&gt; &lt;p&gt;Confirm that &lt;samp&gt;/cdrom&lt;/samp&gt; now contains whatever is on the CD in your drive. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ol type="1" start="6"&gt;&lt;li&gt;&lt;samp&gt;mount&lt;/samp&gt; &lt;p&gt;Look at the list of filesystems again, noticing that your CD drive is now mounted. &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ol type="1" start="7"&gt;&lt;li&gt;&lt;samp&gt;umount /cdrom&lt;/samp&gt; &lt;p&gt;This unmounts the CD. It's now safe to remove the CD from the drive. Notice that the command is &lt;samp&gt;umount&lt;/samp&gt; with no "n", even though it's used to u&lt;em&gt;n&lt;/em&gt;mount the filesystem.&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;/label&gt;&lt;/label&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-7377045402677680040?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/7377045402677680040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=7377045402677680040' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/7377045402677680040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/7377045402677680040'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/02/mounting-devices.html' title='Mounting Devices'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-234182951033065496</id><published>2007-02-24T17:43:00.001-05:00</published><updated>2007-02-24T17:43:27.320-05:00</updated><title type='text'>Rights and installing</title><content type='html'>&lt;div class="titlepage"&gt; &lt;div&gt; &lt;div&gt; &lt;h2 class="title" style="clear: both;"&gt;Apt-Get&lt;/h2&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;The &lt;span&gt;&lt;strong class="application"&gt;apt-get&lt;/strong&gt;&lt;/span&gt; command is a  powerful command-line tool used to work with Ubuntu's &lt;span class="emphasis"&gt;&lt;em&gt;Advanced Packaging Tool&lt;/em&gt;&lt;/span&gt; (APT) performing such  functions as installation of new software packages, upgrade of existing software  packages, updating of the package list index, and even upgrading the entire  Ubuntu system. &lt;/p&gt;  &lt;p&gt;Being a simple command-line tool, &lt;span&gt;&lt;strong class="application"&gt;apt-get&lt;/strong&gt;&lt;/span&gt; has numerous advantages over other  package management tools available in Ubuntu for server administrators. Some of  these advantages include ease of use over simple terminal connections (SSH) and  the ability to be used in system administration scripts, which can in turn be  automated by the &lt;span&gt;&lt;strong class="application"&gt;cron&lt;/strong&gt;&lt;/span&gt; scheduling  utility. &lt;/p&gt;  &lt;p&gt;Some examples of popular uses for the &lt;span&gt;&lt;strong class="application"&gt;apt-get&lt;/strong&gt;&lt;/span&gt; utility: &lt;/p&gt;  &lt;div class="itemizedlist"&gt; &lt;ul type="disc"&gt;&lt;li&gt; &lt;p&gt;&lt;span class="bold"&gt;&lt;strong&gt;Install a Package&lt;/strong&gt;&lt;/span&gt;: Installation of  packages using the &lt;span&gt;&lt;strong class="application"&gt;apt-get&lt;/strong&gt;&lt;/span&gt; tool  is quite simple. For example, to install the network scanner &lt;span class="italics"&gt;nmap&lt;/span&gt;, type the following: &lt;/p&gt;&lt;pre class="screen"&gt;&lt;span&gt;&lt;strong class="command"&gt;sudo apt-get install nmap&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;  &lt;/li&gt;&lt;li&gt; &lt;p&gt;&lt;span class="bold"&gt;&lt;strong&gt;Remove a Package&lt;/strong&gt;&lt;/span&gt;: Removal of a  package or packages is also a straightforward and simple process. To remove the  nmap package installed in the previous example, type the following: &lt;/p&gt;&lt;pre class="screen"&gt;&lt;span&gt;&lt;strong class="command"&gt;sudo apt-get remove nmap&lt;/strong&gt;&lt;/span&gt; &lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-234182951033065496?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/234182951033065496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=234182951033065496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/234182951033065496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/234182951033065496'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/02/rights-and-installing.html' title='Rights and installing'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-5955732400316898832</id><published>2007-02-24T17:17:00.001-05:00</published><updated>2007-02-24T17:17:36.319-05:00</updated><title type='text'>Ubuntu command line package install</title><content type='html'>&lt;h3 id="head-c0628aa246e0b55ea2009705d1b5a84ede8736b5"&gt;Installing downloaded packages&lt;/h3&gt;   &lt;p&gt;Sometimes you might want to install a package which you have downloaded from a website, rather than from a software repository. These packages are called .deb files. Because they may have been created for a different Linux distribution, they may have unmet dependencies on Ubuntu and so may not be installable. &lt;/p&gt;   &lt;h4 id="head-d1a1547c82fc99e53146b816d06a260a0bb09aff"&gt;Using GDebi to install packages&lt;/h4&gt;   &lt;p&gt;GDebi is a graphical application used to install packages. It automatically checks packages for their dependencies and will try to download them from the Ubuntu software repositories if possible. You may first need to install GDebi - simply install the &lt;tt&gt;gdebi&lt;/tt&gt; package using one of the package managers listed above, or open a Terminal and type &lt;tt&gt;sudo apt-get install gdebi&lt;/tt&gt;. &lt;/p&gt;  &lt;p&gt;Once you have installed GDebi, use the File Browser to find the package you wish to install. Package files will look similar to this: &lt;/p&gt;  &lt;p&gt;&lt;img src="https://help.ubuntu.com/community/InstallingSoftware?action=AttachFile&amp;do=get&amp;amp;target=deb_package.png" alt="deb_package.png" /&gt; &lt;/p&gt;  &lt;p&gt;Double-click the package to open it with GDebi. If all dependencies have been met for the selected package, simply click the 'Install package' button to install it. GDebi will warn you if there are unmet dependencies. &lt;/p&gt;   &lt;h4 id="head-633598394d7d35ea7e38b7e8f1720fb1dd393f9f"&gt;Using the Kubuntu Package Management Utility&lt;/h4&gt;   &lt;p&gt;To install a .deb file in Kubuntu, right-click on the .deb file, and choose Kubuntu Package Menu-&gt;Install Package. &lt;/p&gt;   &lt;h4 id="head-5949468ef5cd7684b9bfca74de5147558d8d2152"&gt;Using dpkg to install packages&lt;/h4&gt;   &lt;p&gt;dpkg is a command-line tool used to install packages. To install a package with dpkg, open a Terminal and type the following: &lt;/p&gt;  &lt;pre&gt;cd directory&lt;br /&gt;sudo dpkg -i package_name.deb&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;&lt;em&gt;Note: replace &lt;tt&gt;directory&lt;/tt&gt; with the directory in which the package is stored and &lt;tt&gt;package_name&lt;/tt&gt; with the filename of the package.&lt;/em&gt; &lt;/p&gt;  &lt;p&gt;It is recommended that you read the dpkg manual page before using dpkg, as improper use may break the package management database. To view the manual page for dpkg, open a Terminal and type &lt;tt&gt;man dpkg&lt;/tt&gt;. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-5955732400316898832?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/5955732400316898832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=5955732400316898832' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/5955732400316898832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/5955732400316898832'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/02/ubuntu-command-line-package-install.html' title='Ubuntu command line package install'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7443584082875439538.post-2317874994387518845</id><published>2007-02-24T17:09:00.000-05:00</published><updated>2007-02-24T17:10:46.103-05:00</updated><title type='text'>Can't login after installing Gnome, KDE</title><content type='html'>&lt;ul&gt; &lt;li&gt;&lt;p&gt; &lt;strong&gt;NEVER&lt;/strong&gt; use sudo to start graphical programs. You should always use &lt;tt&gt;gksudo&lt;/tt&gt; or &lt;tt&gt;kdesu&lt;/tt&gt; to run such programs, otherwise new login attempts may fail. If this happens and at login an error message reports: "Unable to read ICE authority file", log in using the failsafe terminal and execute the command below substituting user for your username. &lt;/p&gt; &lt;/li&gt; &lt;/ul&gt;   &lt;pre&gt;rm /home/user/.{ICE,X}authority&lt;br /&gt;&lt;/pre&gt;  &lt;ul&gt; &lt;li&gt;&lt;p&gt; To start a &lt;em&gt;root shell&lt;/em&gt; (i.e. a command window where you can run root commands) use: &lt;/p&gt; &lt;/li&gt; &lt;/ul&gt;   &lt;pre&gt;sudo -i&lt;br /&gt;&lt;/pre&gt;  &lt;ul&gt; &lt;li&gt;&lt;p&gt; To login as another user (on the command line, use something like gdmflexiserver for a graphical login) &lt;/p&gt; &lt;/li&gt; &lt;/ul&gt;   &lt;pre&gt;sudo -i -u username&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7443584082875439538-2317874994387518845?l=chris-linux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://chris-linux.blogspot.com/feeds/2317874994387518845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7443584082875439538&amp;postID=2317874994387518845' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/2317874994387518845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7443584082875439538/posts/default/2317874994387518845'/><link rel='alternate' type='text/html' href='http://chris-linux.blogspot.com/2007/02/cant-login-after-installing-gnome-kde.html' title='Can&apos;t login after installing Gnome, KDE'/><author><name>Chris</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_nPOqLQNRPEk/SatLWOWgfgI/AAAAAAAAAGQ/jTWIvRRgi10/S220/images.jpg'/></author><thr:total>0</thr:total></entry></feed>
