During a Telnet/SSH session, use any of the following commands to work with your Developer Server.
|
Command
|
Example
|
Definition
|
|
cd
|
cd
|
Change
to your home directory
|
|
cd
~/www
|
Change
to the /usr/home/login_name/www
|
|
cd
..
|
Move
up a directory
|
|
chmod
|
chmod
755 test
|
Change
the permissions of the file test to be rwxr-xr-x
|
|
cp
|
cp
test test.new
|
Copy
the file test
to test.new
|
|
grep
|
grep
test *.html
|
Search
for the word test
in the html files
|
|
kill
|
kill
2267
|
Kills
a process (the ps
or top
command will show you the process id)
|
|
ls
|
ls
-al
|
List
files
|
|
ll
|
Alias
setup to do a ls
-al
|
|
mkdir
|
mkdir
test
|
Make
a directory called test
|
|
more
|
ll
| more
|
Used
to display the directory listing one screen at a time
|
|
more
README
|
Display
the README
file one screen at a time
|
|
mv
|
mv
test test.new
|
Move
the file test
to test.new
|
|
ps
|
ps
-ax | grep aftpd
|
Lists all of the aftpd
processes
|
|
ps
-ax | more
|
Lists all of the 's
processes
|
|
quota
|
quota
|
Shows the 's
quota usage
|
|
rm
|
rm
test.new
|
Remove the file test.new
|
|
rm
-rf billdir
|
Remove the directory billdir.
Use this command with caution as there is no "undo"
command in UNIX.
|
|
sinfo
|
sinfo
|
Shows the 's
hostname, ip, login, and host server.
|
|
uptime
|
uptime
|
Shows how long the server
has been up and current load information.
|
|
tail
|
tail
-f message
|
Watch information being
added to a file. Watch the logs as they are being added to. Executed from
the directory where message exists (~/usr/log/
or ~/var/log/).
|
|
tar
|
tar
-cvf abc.tar abcdir
|
Create a tar
(tape archive) file called abc.tar
and include the abcdir
directory
|
|
tar
-xvf abc.tar
|
Extract all of the abc.tar
files into your current directory
|
|
top
|
top
|
Show the top
processes and load average on your
|
|
traceroute
|
/usr/sbin/traceroute
domainname
|
Trace the route to a
domain or IP number. Useful for troubleshooting slow connections.
|
|
vdiskuse
|
vdiskuse
| more
|
Shows the disk usage by
directory
|
|
vadduser
|
vadduser
|
Add a virtual user to
e-mail and ftp
|
|
vrmuser
|
vrmuser
|
Removes the virtual user
|
|
vlistuser
|
vlistuser
|
List the users on your
server
|
|
vnukelog
|
vnukelog
|
Interactive mode
|
|
vnukelog
-r
|
Remove the log files - ~/usr/log/messages,
~/www/logs/*_log
|
|
vnukelog
-h
|
Help screen for vnukelog
|
|
vpasswd
|
vpasswd
username
|
change or set passwords
|
|
virtual
|
virtual
sendmail -bp
|
Used for running programs
in the virtual environment.
|
|
virtual
./test.cgi
|
Test the test.cgi
from the command line
|