Knowledge Base


All content on this website is © Copyright 2000-2010 - All Rights Reserved
The content on this site may not be reused or republished.
Website template powered by VooWeb.com Website Templates

The Basics - Unix Basics

If you've been managing your Web files solely through FTP, the thought of learning Unix might be a little daunting. But it's actually not that bad once you get the hang of it. We'll get you started with a short introduction. Please note that only Basic accounts and above may log directly into the server. FTP accounts only have FTP access.

The first step is to log into the server using SSH.

Once you're logged in, type in the command "ls" (without the quotes). This gives you a listing of all your files and directories (which is the Unix word for folders). You should see a directory called public_html. This is your Web directory.

Now enter the command "cd public_html" to change into that directory. This is like double-clicking on a folder in an FTP program. Enter the (ls) command again to see what's in it.

Editing a File

Let's edit a file. Enter the command "pico filename" where filename is replaced with the name of one of your files. This willthe file in the pico text editor. You'll see command options at the bottom of the window. The "^" symbol means the "Ctrl" key. So to scroll down a page you would press the "Ctrl" and "V" keys at the same time.

Now exit the text editor by pressing "Ctrl" and "X". If you've made changes to the file it will ask if you want to save them. Hit "Y" to say yes, then hit "Enter."

Creating a Directory

Now let's create a brand new directory. Type "mkdir directoryname" where directoryname is the name of the new directory. Then, to enter the directory, type "cd directoryname."

Once you're in the new directory, you can create a new file by typing "pico newfilename" where newfilename is replaced with whatever you want to call it. You can edit and save the file the same as before.

You can return to your public_html directory by typing "cd .." This command will always take you up one level no matter where you are.

To Learn More

There are many other things that you can do with Unix. For now, you may just want to get comfortable with these commands. You can learn more about each of them by typing "man commandname" such as "man ls" or "man cd."

You can also find more help here:

» UNIX Beginners Guide

Please provide feedback on this article.




 
Related Links
» The Basics
» Frequently Asked Questions
» E-Mail
» E-Commerce
» Promotion
» Advertising on Your Site
» Glossary
» Authoring/Development
» About Your Account
» Our Network and Servers
» Billing

» Contact Tech Support

« Knowledge Base Home


 
 
pair Networks - World Class Web Hosting Collections

All content on this website is © Copyright 2000-2010 - All Rights Reserved
The content on this site may not be reused or republished.
Website template powered by VooWeb.com Website Templates

dhhzp.com v 4_3