You create web pages locally on your computer. Then use an FTP program such as ws_ftp to upload or download files from your remote site. Use the following commands at the Telnet prompt for direct control of the remote computer. Remember: UNIX is case sensitive!
- man
- Command Reference Manual
- ls -al
- View contents of directory
- vdir
- View contents of directory
- cd
- Change to another directory
- mkdir
- Make a new directory
- rmdir
- Delete an empty directory
- chmod
- Change the permissions of a directory or file
- cp
- Copy file
- mv
- Move File (same as copy file, then delete oldfile)
- rm
- Remove (delete) file
- man
- Display an explanation of a command from the online manual
- Syntax:
- man
command
- Examples:
- man ls
man cd
- ls -al
- View contents of directory
- Syntax:
- ls -al
- Example:
- ls -al
- vdir
- View contents of directory
- Syntax:
- vdir
- Example:
- vdir
- cd
- Change directory
- Syntax:
- cd
directory_name
- Examples:
- cd acct
- cd ../a.directory/directory.bbb
- cd /abc/fed/xyz
- mkdir
- Make a new directory
- Syntax:
- mkdir
directory_name
- Examples:
- mkdir abc
mkdir fed/ihg
- rmdir
- Remove an empty directory
- Syntax:
- rmdir
directory_name
- Examples:
- rmdir dataspot
- rmdir ../xxyyzzcd
- chmod
- Change the permissions of a directory or file
- Syntax:
- chmod
{a,u,g,o}{+,-,=}{r,w,x} directory_name
- chmod
{a,u,g,o}{+,-,=}{r,w,x} file_name
- vdir command displays permissions in this format:
duuugggooo
||||||||||_____"x"
if permission for others to execute
|||||||||______"w"
if permission for others to write files
||||||||_______"r"
if permission for others to read files
|||||||________"x"
if permission for group to execute
||||||_________"w"
if permission for group to write files
|||||__________"r"
if permission for group to read files
||||___________"x"
if permission for user to execute
|||____________"w"
if permission for user to write files
||_____________"r"
if permission for user to read files
|______________"d"
if directory; "-" if file
a
all
u
user
g
group
o
other
+
add permission
-
delete permission
=
set permission, reset all other
r
permission to read
w
permission to write
x
permission to execute (run) program file
- Examples:
- chmode u+r myfile.htm
- chmode g-w big.sub.directory
- cp
- Copy a file
- Syntax:
- cp
from_file to_file
- Examples:
- cp myfile.htm nqdir/myfile.htm
- cp myfile.htm anewfile.htm
- mv
- Move a file (copy file, then delete oldfile)
- Syntax:
- mv
from_file to_file
- Examples:
- mv myfile.htm nqdir/myfile.htm
- mv myfile.htm anewfile.htm
- rm
- Remove (delete) a file
- Syntax:
- rm
file_name
- Examples:
- rm myfile
- rm alkgud