THE VIRTUAL SERVER HANDBOOK
Basic UNIX commands
While connected to your server with Telnet or SSH, use any of the
following commands to work with your virtual server.
Command
Example
Definition
cd
cd
Change directory
cd ~/www
Change to the /usr/home/login id/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 Virtual Servers processes
quota
quota
Shows the Virtual Servers quota usage
rm
rm test.new
Remove the file 
test.new
rm  rf billdir
Remove the directory billdir
sinfo
sinfo
Shows the Virtual Server'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.
tar
tar  cvf abc.tar
Create a tar (tape archive) file called
abcdir
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 Virtual Server
traceroute
/usr/sbin/tracerout
Trace the route to a domain or IP number.
e domainname
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
vnl
vnl
Interactive mode
vnl  r
Remove the log files   ~/usr/log/messages,
~/www/logs/*_log.
vnl  h
Help screen for vnl
vpasswd
vpasswd
change or set passwords
COPYRIGHT 
 1999  DIGITAL TOOLS  LLC.
39




  

Home

About Services Network Support FAQ Order Contact
 

Web Cam WebHosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved