ls | Lists the contents of a given directory.
|
cd | change directory; 'cd files' changes you to 'files' directory. |
mkdir | make directory; 'mkdir music' creates a directory named 'music'. |
rm | remove; rm 'msapps.exe' deletes the file 'msapps.exe'. |
rmdir | remove directory; 'rmdir music' deletes the directory 'music'. |
pwd | present working directory; Use this to find out what directory you are in. |
su root | Type this when you need root acces. You'll be prompted for a password. |
ps -a | Type this to get a list of all active processes. |
kill | Terminates processes. 'kill 1033' terminates PID 1033. Get a processe's PID with 'ps'. |
exit | Exit root access or exit from terminal in X Windows. |
ifconfig | Get information or alter you network configuration. |
shutdown -h now | Shut down the system. |
shutdown -r now | Reboot the system. |
startx | Start X Windows. |
mount | Mount drives so you can access them. |
| 'mount -t msdos /dev/da0s1 /mnt/usbdrive' mounts a thumb drive. |
| Check '/dev' and ls directory for names of devices. Use mkdir to make |
| directories for floppy, cdrom, usbdrive, etc inside the '/mnt' directory. |
| I type 'cd /mnt/usbdrive' than ls to see whats in the usb drive. |
umount | 'umount /mnt/usbdrive' unmounts the thumb drive./tr>
|
cp | Copy files. 'cp /mnt/usbdr/dre.mp3 files/music/dre.mp3' copies file 'dre.mp3' from usbdr to music |
mv | Renames files. 'mv bond.txt powers.txt' renames bond.txt as powers.txt. |