bookmark.com
Home About Us Privacy Terms of Service Add Your Link Submit Article
Search:   
Add Url
 

Drink & Food

Jobs & Employment

Computers & Networking

Policies & Law

Property & Estate

Children

Research & Science

Adventure & Sports

Society & Issues

Recreation & Entertainment

Banking & Finance

Malls & Shopping

Healthcare & Medicine

Online & Board Games

Automobile & Automotive

Hotels & Travel

Art & Culture

Home & Garden

News & Events

Education & Reference

Hygiene & Health

Fashion & Relationships

Self Help

Business & Services


 

Home –› Computers & Networking –› Paid Software
 

Important Unix Commands That You Should Know

 

Author: Bernard Peh

Unix is one of the most important operating system today. Its powerful features, scalability, strong security, and support for multiple users have made it the top choice operating systems for server, workstations and mainframes.

It is good to have some knowledge of Unix commands especially if your web host is Unix/Linux based. You could do alot of things by yourself by logging into the server via Secure Shell(SSH). This article will describe some of the important "need to know" Unix commands.

1. ls
This command will show you what files are in your current directory. If you add in a -F option, ie "ls -F xxx", there will be a "/" appended to the end of directory names, * to executables and @ to links. "ls -a xxx" will display all hidden files as well. This is also the most used command.

2. cd
Change directory. If you type "cd xx", it means to change to the specified directory "xx". "cd ~" means to change to your default home directory.

3. cp "a b"
Copy file a to b. If b is a directory, the new file will be named b/a.

4. mv "a b"
Move files from a to b. For example, if I type "mv songs.txt /tmp", the file songs.txt will be moved to /tmp/songs.txt. Moving a file is the same as renaming a file.

5. echo "text"
Print "text" to the terminal. If "text" is surrounded by double quotes, the text will be printed with any environment variables such as $HOME. If "text" is surrounded by single quotes, the "text" is printed without any special processing.

6. pwd
Print the current working directory. Useful command when you are lost in the directories.

7. cat "file"
Print the contents of the specified file(s) to the terminal.

8. less "file"
Display the specified file one screen at a time. Press the spacebar to go to the next screen. Press Q to quit. You often combine "less" with some other commands such as "cat abc | less". This command means you print the contents of the file abc and display it one page at a time.

9. ps
Display information about your running programs. This is a good command to use if your server is slow and you suspect that some applications are taking too much memory. The most famous command using ps is "ps aux". This will display useful information on the running programs.

10. rm
Remove or delete a file. If you type "rm -r directory", it will remove a directory and all the files underneath it recursively.

11. man
This is the most important command. man means "manual". If you are stuck with cat command for example, type "man cat" and you can see the help file.

Author Bio:

Bernard Peh

Bernard Peh is a great passioner of web technologies and one of the co-founders of Sitecritic.net Site Reviews. He works with experienced web designers and developers for more than 5 years, developing and designing commercial and non-commercial websites. During his free time, he does website reviews, freelance SEO and PHP work.

You can also reach this article by using: Important Unix Commands That You Should Know, Computers & Networking, Paid Software
 
 
 

Related Articles

 
Carwash Websites - A Brochure or Storefront?
 
A Quick Guide To Google Analytics
 
Cure your Outlook Malaise and Work Faster
 
Ignore the Hype - A Sensible Approach is Needed
 
Annoying Website Design
 
Free Internet Advertising - Unwritten Rules of Internet Forums
 
Design vs. SEO: Can My Site Look Good and Rank Well?
 
Inventory Management Software
 
Saving Money: Two Way Radios and Return on Investment
 
Monitoring Search Engine Positions
 
 
 
 
 

Would You Let A Dog Or A Butler Market Your Website?

The search engine optimization arena is about to change forever. Are you ready? - Michael Cheney
 

Search Engines - Inside Out

Term 'search engine' is generally used to describe search engines based on crawling technology and h ... - Paras Shah
 

Internet Marketing Tips for Beginners

If you are just starting out on the internet, it?s easy to become overwhelmed by the amount of infor ... - Waller Jamison
 
 

Monetizing Your Website

How to earn revenue from your site. Selling products or content on the Internet. Different advertisi ... - Javier Garcia
 

Blogging - Developing A Readership

You've finally created a blog and you've made your first post. Now how do you get people to actually ... - Rose DesRochers
 
 
Home -> Privacy -> Terms of Service
© 2006-2008 www.bookmarkedcontent.com All Rights Reserved Worldwide.