|
Useful Commands for Virtual Server Administration
System Commands
- passwd: Change your Administrative FTP Account password from telnet
- man: Online help system in UNIX man command gives a info on the command
- pwd: Print working directory with all the branches between that directory and the root.
- mkdir: Make directory command
- cd: Change directory [cd directory] or return to the root [cd]
- ls: List files. -l a gives complete list w/ dot files
- touch: Create an empty file [touch filename]
- more: View the contents of a file [more filename].
- cp: Copy files. [cp file1 file2] copies a file named file1 to a file named file2
- mv: Move and rename. [mv this that} renames file this to have the name that. If
done w/ directory, it moves and renames the file. [mv this /data/that] changes the name of this to that and moves
it to the directory /data. [mv this /data] moves the file this to the directory /data
- rm: Removes files [rm this] deletes the file this. -r removes directories. [rm -r
/data] removes the directory /data. rm -r is recursive and removes everything from the directory on down the file tree
including all files in directories and subdirectories beneath the directory being removed.
- pine: Starts the pine text-based email client on your Virtual Server
- pico: Starts the pico editor
- pilot: Starts the pilot file browser -a gives all files -v gives single column
Virtual Administration commands from Telnet
- vnewaliases: Updates the active email aliases on your Virtual Server according to your aliasesfile
- vadduser: Adds a new email account to a Virtual Server Pro
- vcleandb: Cleans out the IP #s for
relaying. This is the POP user authentication feature that
only will relay for IP numbers that have first picked up mail
from an authorized account on the virtual server. With some
ISPs, that use dynamic IP numbers, this database gets very
large and eventually will not accept new numbers. Putting a
call to vcleandb into the list of scheduled processes will
routinely clean
this
database and avoid the problem.
- vlistuser: Displays information about all the active email accounts on a Virtual Server Pro
- vedituser: Allows you to edit an email account on a Virtual Server Pro
- vrmuser: Removes an email account on a Virtual Server Pro
- vpasswd: Changes the password for an email or FTP account
- vnewvirtmaps: Updates the active email mappings on your Virtual Server according to your virtmaps file
- vmailhash: Updates each of the aliases, virtmaps, access and catchall databases and is much easier on the fingers than
typing each command individually.
- vnukelog: reset all of your Virtual Server's log files for you automatically Additionally, to aid in the administration
of Virtual Hosts, we have added the following command line options:
- vnukelog -a (a is for all) This will delete all of the log files for your main server, as well as for any virtual
hosts you may have.
- vnukelog -v domain.com (v is for virtual host) This will delete any log files for the virtual host domain.com only,
where domain.com is a virtually hosted domain on your Virtual Server.
- vnukelog -d domain (d is for domain) This will delete any log files which contain 'domain' where domain is
any string of text. This is useful if you have multiple canonical names as virtual hosts of the same domain such as something.domain.com, somethingelse.domain.com,
etc.
Ftp Commands from Telnet
- ls: lists the files in the current directory of the remote system
- pwd: displays the current directory on the remote system
- cd: changes the current directory on the remote system
- lcd: changes the current directory on the local machine that you are connecting from
- get: initiates a download to retrieve a file from the current directory of the remote system, and places it in the
current directory on the local machine that you are connecting from
- send: sends a file from the current directory of the machine that you are connecting from and places it in the current
directory of the remote system
- ascii or as: sets the FTP transfer mode to ASCII. Any text based file should be transferred in ASCII mode. Transferring
text files in binary mode will cause them to become corrupted. HTML files are text files and should be transferred using ASCII mode.
- binary or bi: sets the FTP transfer mode to binary. Any file that is not a text file should be transferred in binary
mode. Transferring binary files in ASCII mode will cause them to become corrupted.
- quit or bye: closes the connection with the remote system and exits the FTP program
To the Rhyton Support page |