dedicated server help
web hosting guides
dedicated server home dedicated server forums dedicated server reviews dedicated resources partners dedicated server resources contact dedicated servers

dedicated server guides
Getting Started
General Tutorials
cPanel Tutorials
Security Center
Name Servers
Server Monitoring
Server Backups
Hosting Interviews
Web Hosting News
Reviews
For Fun
Linux Tutorials
Hosting Articles
Web Hosting Tutorials
 
 
 
web hosting tutorials
About Us
RSS Feed
Disclaimer
Site Map

 

Basic Linux Commands

Last Updated: November 30, 1999


The following are a list of basic Linux commands that will help you in running your dedicated webserver. While these commands are not "required" to run the server they will help you run your dedicated server more efficiently. The commands below will be used once you SSH into your server. You will be SSHing using Putty.exe or your favorite SSH Utility. For information on using Putty.exe please click here Putty.exe



  1. How do I change directories?


    Type: cd <directory name> (Move
    to another directory)

    Type: cd .. (Move back a directory)

  2. How do I check permissions
    on a file?

    Type: ls -l (Will show permissions
    for all files in directory)

  3. How do I check disk space?


    Type: df -m (Will show all free space
    info for all drives)

  4. How do I see all the files
    in a directory?

    Type: ls

  5. How do I check all running
    services?

    Type: ps -xa

  6. How do I view the contents
    of a text file?

    Type: cat <filename>

  7. How do I edit a file?

    Type: pico <filename>

  8. How
    do I use PICO?
    <-- Click To Learn how to use PICO

  9. How do I debug a cgi script?


    Goto the directory the file is in.

    Type: ./filename.cgi

    Read outputs, and fix errors based on output read.

  10. How do I execute a program,
    but send it to the background?

    Execute the command normally but add an & at the end
    of it.

  11. How do I bring a program
    back from the background?

    Type: fg

  12. How do I know what my CPU
    Information is?

    Type:

    cat /proc/cpuinfo

  13. How do I know what my memory
    information is? RAM

    Type:

    cat /proc/meminfo

  14. How do I find out information
    about my hard drives?

    Type:

    fdisk -l

cpanel tutorials
cPanel Resources
Dedicated Servers