THE VIRTUAL SERVER HANDBOOK
The Virtual Server Directory
structure
Now that you can connect to your Virtual Server, you may not understand
what you are seeing. This section is a crash course on the UNIX file system
as well as the Virtual Server directory and file structure.
The UNIX file System
The following is a sample of a UNIX path:
/usr/home/
login id
In the above path, the first forward slash (/) is the top level directory called
the "root" directory.  The "usr" is a subdirectory of the root directory.
"home" is a subdirectoy of "usr" and "login id" is a subdirectory of "home".
If your login id was "bob" then "bob" would appear in the place of "login 
id".  Each / after the root directory is just a separator.
To change to a directory you use the cd (change directory) command.  You
can cd to a directory by typing the absolute path meaning that the entire
path starting from root is typed out like the above sample, or you can
specify a relative path i.e.:
cd tmp
The above command uses a relative path to change to a subdirectory of the
current directory.
The following basic UNIX commands aid you in your navigation of the
UNIX file system.
Command
Example
What it does
ls
ls
list files in the current directory
ls  l
list files in the current directory in a long listing
ls  al
list all files including files beginning with a "."
ls /usr/home
list files in the /usr/home directory
pwd
pwd
print working directory   check the current
directory
cd
cd
changes to your assigned home directory
cd /usr/home
change directory to /usr/home
cd bob
change directory to bob
cd ..
change up one directory (.. represents parent
dir)
cd ../logs
change up one directory and down to the logs
directory
mkdir
mkdir tmp
make directory tmp under the present directory
rmdir
rmdir tmp
remove directory tmp
rm
rm test
remove the file test
rm  f test
remove the file test without prompting
rm  rf tmp
remove the tmp directory and all subdirectories
and files in tmp without prompting (be very
careful with this)
COPYRIGHT 
 1999  DIGITAL TOOLS  LLC.
34




  

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