|
Unix
Shared Hosting
Starting
Using Your Account
FTP
to your account, and change to the public_html directory.
This is where all of your web-site data has to be kept. Delete
the index.html page (this was the default welcome page). Now
upload your own web-site's index.html or index.htm & other
pages of your site. It will ask to Replace the index.html
(this is the default welcome page we place after setting the
account), do say yes & you are ready to use the account
Back
to top
Using
Telnet / SSH2 Access
Telnet
is a remote administration tool which advanced users may find
useful for account maintenance. Telnet allows you to log in
to the web server and execute Unix commands to manipulate
your site's content. At 1Uphost we provide SSH Access.
SSH
Secure Shell is a program that allows secure network services
over an insecure network, such as the Internet. Data sent
through an SSH2 session is encrypted.
There
are two versions of ssh: ssh1 and ssh2. They are different
protocols and they are not compatible. SSH2 is more secure.
You
can download SSH2 from the official website. Click Here.
Another
popular SSH client is Putty
Back
to top
Unix
Basic Commands
Do
note the following while using Unix :
- Unix
is case-sensitive.
- Unix
distinguishes between upper and lower case letters in the
names of files and programs. Thus, while ls is a valid Unix
command, LS is not.
- Login
names and passwords are also case-sensitive.
Some
basic commands are as follows:
- mkdir
- Make a new directory.
Typing mkdir xyz will create a new subdirectory,
in your current
directory, called xyz.
- rm
- Remove a file.
Typing rm file will remove the named file
from your account. Once it is removed, there is no way to
get it back!
- rmdir
- Remove a directory.
Typing rmdir name will remove a subdirectory.
The directory must be
completely empty of files before this will work.
- ls
- List the contents of a directory.
The current directory is normally listed. If a subdirectory
name is given, that subdirectory is listed. Two useful options
are -l which will give a long list showing the size, owner
and modification date of each file and -a which will show
all files.
- cd
- Changes to a directory.
With no arguments, this will move you back to your home
directory. If a an argument is given, it will move you to
that directory (if it exists).
Back
to top
|