THE VIRTUAL SERVER HANDBOOK
cp
cp test test.new
copy the file test to test.new
The following is list of file system symbols and definitions:
.
Current directory
..
Parent directory
/
When used by itself or at the beginning of a path it represents the root
directory. When used within a path it is a separator.
~ Alias for the path to users home directory /usr/home/login id.
Note: If you are logged in as Bob and your home directory is
/usr/home/bob then: cd ~/etc would change to /usr/home/bob/etc.
File Ownership and Permissions
During a Telnet or SSH session, the listed output results if you enter the
following command.
Command
ls l
Output
total 12
drwxr xr x
2
root
vuser
512
Jul 17 07:13
bin
drwxr xr x
2
root
vuser
512
Aug 7 1997
dev
drwxr xr x
3
trout
vuser
512
Aug 11 16:51
etc
drwxr xr x
3
trout
vuser
512
Aug 7 1997
ftp
drwx
2
trout
vuser
512
Aug 24 14:05
mail
rw
1
trout
vuser
320
Apr 16 10:39
msql.acl
drwx
3
trout
vuser
512
Apr 16 10:39
msql2db
drwxrwxr x 2
trout
vuser
512
Jul 3 23:56
pub
drwxr xr x
2
root
vuser
1024
Aug 7 1997
shlib
drwx
2
trout
vuser
512
Sep 13 23:17
tmp
drwx x x 8
trout
vuser
512
Aug 7 09:51
usr
drwxr xr x
3
trout
vuser
512
Mar 10 1998
var
lrwx
1
trout
vuser
19
Sep 13 23:17
www >
usr/local/etc/httpd
Defining Output
Starting with the column on the left, the following definitions apply.
The "drwx" and " rw" in the first column defines the file mode. The file
mode is the type of file and permissions on the file.
Number of links A file or directory can be a link to other files.
COPYRIGHT
1999 DIGITAL TOOLS LLC.
35