The basic commands used in the Unix shell are:
cd (directoryname)
(Changes directories to the one named. In Unix, you change directories one level at a time.)
cd ..
(Changes back up to the previous directory)
pwd
(Prints -- displays to the screen -- the "working" or current directory)
ls
(Lists the contents of the current directory to the screen)
ls -l
(Same as above, but it lists like the DOS DIR command with more information)
mkdir
(Make a directory -- same as DOS "md")
rmdir
(Remove a directory -- same as DOS "rd")
cat
("Concatenate," or show a files contents to the screen -- same as DOS "type.")
cp
(Copy -- same as DOS "copy")
mv
(Rename [or "move"] a file -- same as DOS "ren")
rm
(Remove [or "delete"] a file -- same as DOS "del")
logout
(Terminates a Unix Shell session)
|more
(When entered at the end of a command such as "cat" or ls -l", this displays a page of text, then stops and waits for you to issue the command to go on)
sz
(In the Unix shell, "sends" to your computer -- via ZMODEM -- the file named)
sx
(In the Unix shell, "sends" to your computer -- via XMODEM -- the file named)
rz
(In the Unix shell, tells the remote computer to "receive" a file from your computer. You need to return to your own computer and tell it to "send" a specific file or group of files)
tar -xf *file*
(extracts a tar file)
kill -9 *pid*
(Kills the process with the specified pid number. You can get the pid number of a process by using the ps x command described below. This command is useful for killing your Eggdrop if you're unable to shut it down by other means.)
ps x
(Shows all current 'processes' you have running on the shell)
pico -w *file*
(Opens the specified file in the pico text editor. The -w option prevents Tcl scripts from being messed up due to line wrapping)
netstat - Displays all connections going to and from the server
ps aux - Displays all processes running on the system and their resource usage
quota - Shows how much disk space is allocated to you, and may show much you're using (if not, try du -s).
top - Displays details about system resource usage.
uptime - Displays the current uptime and server load.
vhosts - This will display a list of vhosts available for you to use (note that not all shells have this command)





