Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/a26f9f83/public_html/articles/includes/config.php on line 159
Quick Summary of Basic and Common Linux Commands > NetSparsh - Viral Content you Love & Share

Quick Summary of Basic and Common Linux Commands

There are many commands that are used in linux on a daily basis, ones that everyone should know just to get by. Like back in the days of DOS, you had to know how to work with the command line and how to navigate around. Learning new commands is always hard, especially when there are so many new ones that don't always seem to make sense in their names.


Change directory - this command is essential for traversing folders and moving about your linux computer. Its quite straight forward, cd /where/you/want/togo or cd .. to go up a level. It's pretty basic, but be aware of absolute and relative paths. If you are currently in the folder /home/puppy/pictures then you can type cd .. to move up to /home/puppy/ or you could type cd /home/puppy/ not to mention cd ~/puppy/. You must learn how to traverse folders effectively before you can use the operating system.


The ls command gives you a directory listing. This command has many options, but basically provides you with the same information as the "dir" command in DOS. The most common use of ls is probably "ls -la" infact many people have an alias setup, so whenever they type "ls" it actually runs "ls -la".


The disk usage command gives you a summary of how much space a program or some piece of data is using. Normally this command uses the -h feature, which simply means it will tell you if the number it gives you is in bytes, kilobytes, etc. -h gives you the human readable output.


Move! The mv command is the move command, but it is far more powerful than the old DOS commands. You must be very careful when using the mv command, if you tell it to move a program to a new location, it will overwrite the stuff that was there, if the same file name exists. In addition the mv command is also the rename command! If I type: mv file1 file2 I just moved or effectively renamed file1 to file2!


The date command displays the current date and time of your server to the screen, and can be formatted in many ways, but date by itself will display something similar to: Sat Apr 30 23:58:41 EDT 2005


The copy command is a great program, and is very powerful. Often used with the -R (recursive) option, it can be used to copy single files, or entire paths around with ease.


Remove directory is a command that I personally don't use very often. To remove a directory it must be empty, rarely do I take the time to empty a directory before I delete it. Instead I use a variation of the rm command.


This is the mother of all linux commands. Remove. You must always be very careful when you use this program. There aren't too many options with this program, its quite straight forward, you use it to delete things. -R is recursive and -f is force. If you want to clear a big folder and you are 100% sure you want it gone in a hurry, type: rm -Rf /directoryname


Change group - this command is used to change the group ownership on a file. For the most part this is more of an administrative thing, and end users don't typically have to worry too often about this. You must know about the design of the linux file system before you worry about the chgrp command.


Change owner - this command very similar to the chgrp command, and changes the owner instead of the group. Again you must really understand the design of the linux file system before this becomes really important. File ownership is an important part of security and permissions in linux.


Make directory - this is a very straight forward command in linux, easy to use, just mkdir newfoldername


This is a text editor in linux, its extremely powerful, but not exactly user friendly. I highly suggest that you take the time to learn this program, or at least the most common features. If you want to play with this program, you might get stuck inside it, remember these words. Escape, Colon, q, ! ( escape key, :q! ) That gets you out of interactive or insert mode, then gets you to the menu, then quit without saving!


Switch user - the su command lets you login from your account to another account. If you are root, you can type su - username and jump to any account without a password. If you are a normal user account and want to go to root then type su - root. If you do not put the hyphen then you will not use that users environment. Generally if you are logging in as a user it's a good idea to be in their working environment!


Print working directory - this command gives you the current directory you are working in.

$ pwd - me running command

/home/username/my_pics - this is the output from that command

As I mentioned earlier, there are so many different commands to learn, it really just takes time and effort to play with them and learn their options. The manual (MAN) pages in linux are really great and full of information. Many of the most common commands are located in the /bin folder, check it out!

Ken Dennis

In The News:

This RSS feed URL is deprecated, please update. New URLs can be found in the footers at


This Call May Be Monitored for Tone and Emotion
We all know how it feels to be low on energy at the end of a long work day. Some call-center agents at insurer MetLife are watched over by software that knows how it sounds. A program called Cogito presents a cheery notification when the toll of hours ...


Tesla Autopilot keeps impressing owners with its latest software update
Now the update has reached more Tesla owners and they have been able to test the new software more thoroughly – giving us a better look at the latest version of Autopilot. Home Solar Power. The update works on Autopilot 2.0/2.5 cars and owners who ...

and more »

GlobeNewswire (press release)

TidalScale Software-Defined Servers Now Support SUSE Linux Enterprise Server
GlobeNewswire (press release)
CAMPBELL, Calif., March 19, 2018 (GLOBE NEWSWIRE) -- TidalScale, the leader in Software-Defined Servers, announced today that working in partnership with SUSE, the world's first provider of Enterprise Linux, TidalScale has achieved SUSE Ready ...
TidalScale Extends its Lead in Software-Defined ServersEconoTimes

all 3 news articles »

Forbes Has New Software for SMBs...And Other Small Business Tech News This Week
1 — Salesforce launches simplified software aimed at small businesses. This week, Inc introduced new sales and customer service software tailored specifically for small businesses. Called 'Essentials,' the apps are a simplified version ...

Channel NewsAsia

Software bug in authentication server behind SingPass, CorpPass service disruptions
Channel NewsAsia
SINGAPORE: The recent disruptions to the SingPass and CorpPass system were caused by a software bug in the authentication server provided by a commercial vendor, said Senior Minister of State for Communications and Information Janil Puthucheary on ...
Parliament: SingPass outages traced to 'elusive' software bug in vendor's system, says Janil PuthuchearyThe Straits Times

all 3 news articles »


Xilinx debuts software programmable chip design in data center push
This enables a fundamentally different software centric design flow since all of the connectivity infrastructure is natively software programmable." Xilinx CEO Victor Peng explained that the company's past products have all had some level of ...

and more »

The Australian Financial Review

Australian tech firm QA Software acquired by US company InEight
The Australian Financial Review
Melbourne-based technology firm QA Software has been acquired by US construction project management software firm InEight in a deal the US firm hopes will help it grow in the local market and begin selling QA's product globally. QA Software has been a ...
QA Software snapped up by US suitorThe Australian

all 4 news articles »

Duco Taps Trostinsky to Oversee Hybrid SaaS Software
Duco Taps Trostinsky to Oversee Hybrid SaaS Software. Duco's new hire Julian Trostinsky will take ownership of Hybrid SaaS and oversee the newest edition of Duco Cube. Copyright Infopro Digital Limited 2017. All rights reserved. You may share using our ...

and more »

Public Sector Executive

Software Asset Management in the Education Sector
Public Sector Executive
Ben Eagling of License Dashboard discusses the advantages of using Software Asset Management (SAM) in the education sector to ensure compliance in both higher and further education. When compared to businesses, software licensing in the education ...

Software creates 'dashboard' for diabetes docs
St. Louis Public Radio
The dashboard software collects data common to many health conditions and chronic illnesses, but the main focus is on delivering better treatment for diabetics. Created by the medical school in 2008, the dashboard is now marketed nationally by Cerner ...

Google News

Manufacturing Solutions for Microsoft Great Plains ? Overview for Consultant

Microsoft Business Solutions Great Plains has full-featured manufacturing set of... Read More

How To Develop Software For Your Business

Software development is a risky business.Many software developers are barely... Read More

How to Upgrade Dexterity Customization ? Tips for IT Manager

If you have Microsoft Great Plains and support it... Read More

Free Software - Powerful Alternatives to Budget-Busting Software

When you buy a computer, it most likely comes with... Read More

Microsoft Great Plains PM: Payables Management

Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More

Know-how in Microsoft Publisher

For those who still don't know, Microsoft Publisher helps computer... Read More

C++ Tutorial 2, Input and Variables

This is the tutorial where we really get into programming.... Read More

Database Guru James F. Koopmann Reviews DBxtra Reporting and Query Tool

DBxtra is a powerful query and reporting tool that hides... Read More

Microsoft CRM in Latin America: Implementation, Customization, Support ? Overview for Consultant

Microsoft Business Solutions CRM is present several years on the... Read More

Microsoft Great Plains implementation: Restaurants Supply Chain Management Example

Microsoft Great Plains serves majority of US based horizontal and... Read More

RFID: Strengthen the Position for SAP; United States

SAP Inc., a global leader in client/server enterprise application software... Read More

Best Spyware Removers

Finding the best spyware removers to detect and remove spyware... Read More

Save Your Resources - Combine Your IM Clients

There are so many different programs that clutter up your... Read More

The Tools and Features of Adobe Photoshop

Adobe Photoshop is one of the world's leading graphics editing... Read More

Understanding XML Server

XML Server can be a Web Server that stores the... Read More

Lotus Domino Implementation and Development: Infrastructure ? Present and Future

Domino server is a buffer between the operation system and... Read More

Inherent Dangers Of File Sharing Via The Internet.

Cyberspace has opened up a new frontier with exciting possibilities... Read More

Bill of Lading ? Custom Reporting for Microsoft Great Plains ? Overview for Consultant

Bill of Lading is required report for Logistics and Freight... Read More

Who?s Watching What You Type?

If someone entered your home, uninvited and installed numerous cameras... Read More

Microsoft Great Plains Dynamics on Pervasive SQL.2000 Data Repair ? Overview For DBAs

Some introduction into Great Plains Software products, now Microsoft Business... Read More

Microsoft CRM Development

Microsoft CRM is CRM answer from Microsoft Business Solutions.The whole... Read More

The Importance of Timely Timesheets

Whether you are a small consultancy firm, a medium sized... Read More

Four Easy Ways To Prevent Spyware

How would you like to prevent spyware and adware from... Read More

40/sec to 500/sec

IntroductionSurprised, by the title? well, this is a tour of... Read More

Groupware Finds Home in American Business: Collaboration Tool Analysis

What is Groupware?Have you ever had to manage document collaboration... Read More