For those of you needing a complete (more or less) list of Linux commands here you go.
Better yet->Kmenu>Help>UNIX manual pages. EXCELLENT RESOURCE
A few quick ways to glean info about your box-
Code:
cat /proc/pci
cat /proc/interrupts
cat /proc/bus/usb/devicecs
cat /proc/scsi/scsi
cat /proc/cpuinfo
cat /proc/cmdline
procinfo -f
free -m
X -version
df -h
du / |sort -nr|most
(will take a while on large drives)
xvidtune -show
xrandr|grep \*
nmap localhost
turn on/off energy star features:
To kill something that just won't die:
Mini How-to get shtuff done in Linux
Text editors
There are many text editors that you may choose from. Usually (not always) mc (Midnight Commander)comes with most distro because:
1)It's easy to use/learn.
2)You can install .deb and .rpm with mc.
3)It does ftp.
4)It's the same whether using a GUI or in text mode.
3) It's more nutritious than corn flakes.
Look at your Kmenu(If you use KDE of course). There should be a menu of text editors. kedit, xedit, kate (very excellent) emacs and so on. You can use any of them. Hell you can use Konqueror and default kedit for that matter just like M$ exploder. That's actually very easy to use.
*5 star tip-o-the-day*
Open a term,
konqueror
right click on any file/folder>Properties>Permissions tab
--------->If launched as root a very dangerous tool!!
It would be good to get away from using the start menu so much anyway-learn to launch apps from the CLI-many of them you can guess correctly. You can right click on the desktop>run program>blah and away you go. But the CLI is alot faster than a menu.
Alternatively, if you have a term open (I always have several) you can just enter the name of the text editor, the path and filename and away you go like this:
mcedit /etc/X11/XF86Config-4
That can be translated like this:
mc (use Midnight Commander) edit (to edit) /etc/X11/ (the path to the file) XF86Config-4 (the filename).
You can also do this:
cd /etc/X11
mcedit XF86Config-4
It's the same thing. You just don't need to provide a path because you are already there. You are said to be "in that directory". How do you know which directory you're in?
pwd
Present Working Directory
What if you don't know what the exact name of the file is?
cd /etc/X11
ls
Better yet:
The TAB key completes entries for you. Just type the beginnig letters of a path or file and hit TAB- you'll see.
To start a service on boot add a script to /etc/init.d and do:
sudo update-rc.d <scriptname> defaults