EFY Times  
Thursday, July 31, 2014

 
GO
 
 
10 Basic Linux Commands For Beginners
 
Home >> Infotech >> Features
 
10 Basic Linux Commands For Beginners  
 
Haven't started using the command line on your Linux machine? Well, you are still away from the biggest charm of Linux. Here are 10 basic commands to get you started with Linux command line.   
Rate this news:  (13 Votes)
Thursday, September 26, 2013 We always say that the command line is the most powerful feature of Linux and once you have started to work through the command line, trust us you won't even feel like touching your mouse. But if you are a total newbie to Linux, you need something to start with. So here we bring to you 10 basic commands that explains some of the most used Linux commands and their basic usage. And if you aren't aware, these commands are meant to interact with your command like, type you command and press the ENTER to execute.

Linux, open source, linux commands, Linux commands for begginers, Linux command line, 10 Linux comand line for begginers




1. cat: Shows the contents of files to the screen.

Usage:
# cat file.txt
# Hello World

Also this command can be used to count the number of lines, words and characters in a file:
cat | wc -l

- number of lines
cat | wc -w

- number of words
cat | wc -c

- number of characters
To search for a word in a file you can use:
# cat | grep

2. df: Check the amount of free disk space on the filesystems.
Usage:
# df

To get a more easily readable (human-readable) output of the command use:
# df -h

3. cp: Copy files and directories
Usage:
# cp

Example:
# cp /root/file /tmp/

With this command you will make a copy of ‘file’ located in the ‘/root’ directory to the ‘/tmp’ directory if it does not exist. It will overwrite it in case the ‘file’ already exists.

4. cd: Change directory
the ‘cd’ command should be used followed by the name of a directory including the full path to that directory. If you execute ‘cd’ without arguments the working directory will be switched to your ‘home directory’.

Usage:
# cd /path/to/directory_name/

To move one directory up, you can use the shortcut command:
# cd ..

5. rm Removes directories, files, symbolic links, etc. from the filesystem.

Usage:
# rm


Print Email Post Comment 
(Total Views: 15634)
 
Share

 
 
Infotech News
   
Salesforce.com Joins BSA
LINE Corporation Announces 2014 Q2 Earnings
ShopClues.com Unveils Intensive Media Campaign To Strengthen Market Position
Koler ‘Police’ Mobile Ransomware Now Targets PCs As Well As Android, Features Exploit Kit
15 Finalists To Develop Internet-Of-Things Solutions In element14’s Most Popular Design Challenge Ever
 
 
 
     
     
     
     
     
     
Most popular
 

Daily

Weekly

Overall

Features
10 Useful Command Privileges On Linux Ubuntu
They are called privileges for a reason, make use of them......
8 Good TCP/IP Video Tutorials For Beginners
Video tutorials are an excellent way to get your basics right......
Here Are 8 Good TrueCrypt Alternatives For Linux
Now that TrueCrypt is gone, it's time to move on......
20 Amazing Linux Blogs For Beginners!
Well, if you want to stay updated, start reading now!...
Still On Windows? Keep These 10 'Free' Tools At Hand!
Being free/open source doesn't mean they are any less functional, go on and use them now......
7 Free Graphics/Image Software For Linux!
Use these tools for all your designing/imaging tasks. Also feel free to comment on your favorites......
8 Free Linux Online Video Tutorials For You To Get Started!
Videos are always an inspiring and better way to get your basics right......
Here Are 15 Useful C Shell Commands & Their Functions
Here's a handy list of shell commands for you. We will bring you more in the coming day......
10 Interactive Commands In Linux You Can Use While Running Top
The top command in Linux is quite a useful command line tool at that......
6 Good CSS Editors For Linux (Ubuntu) Users
The following CSS editors are free and open source. Make sure you use them....
8 Linux Programs For The Artistic Bend Of Mind
Looking for some inspiration?...
7 Highly Powerful CSS Tools For Designers!
The following tools are all open source and really amazing. Try them!...
10 Amazing Tools For PHP Developers!
The following open-source PHP tools are a must-have....
Make Google Chrome Lightening Quick With These Wild Hacks!
Chrome's Flags can be quite useful, use them......
Python How-Tos: Secure Password Hashing
Hashing passwords is more secure than encrypting them!...
 
  View All
Dialogue
 
10 Questions That Google Never Asks While Hiring!
Here is a list of 10 questions that Google just banned from their interviews....
For Enjay, Open Source Technology Is A Way Of Life
An entirely open source-based company, Enjay IT Solutions, has built itself a reputation in the OSS domain....
Switching To Tizen Doesn’t Mean We Are Abandoning Android: Samsung
The company has worked to build Tizen up from scratch and has now introduced it to developers and the general public with its latest range of wearable...
Venturing Into The Cloud? Develop A Customised Cloud Strategy First!
Diksha P Gupta speaks to Rushikesh Jadhav, cloud evangelist, ESDS Software Solution Pvt Ltd, on how the cloud has changed the way compan...
HTC Is Strong And There Are No Plans Of Sale Now Or In Future, Says HTC's Senior Director-Marketing
Atithya Amaresh from EFYTimes had an exclusive chat with Sirpa H. Ikola, senior director, Marketing, South Asia, HTC about its devices and its plans w...
   
  View All
Videos
 
First Look: LG Optimus G
The phone sports a high-end display and comes powered by a powerful processor. ...
Create QR-Codes For Free
TEC-IT releases the freeware QR-Code Studio to provide a quick and convenient way of QR code creation for every application scenario....
DoT Secretary Shares Plans For Growth Of Telecom Sector
M.F. Farooqui has recently taken charge as secretary, Department of Telecom....
Hands-On: Sony Xperia Z
Xperia Z is Sony's first entrant model in the big-screen smartphone category. ...
Hands On: Videocon A30 Smartphone
Videocon, the consumer electronics company which is known for its refrigerators, washing machine and air-conditioner has unveiled its Android-based sm...
   
View All
   
 
MWC 2014
 
MWC 2014: Tablet Lets People Feel Textures On Its Screen
Now feel what you see on your tablet, by way of ultrasonic waves....
MWC 2014: 4K Android Tablet Games To Kill Consoles, iPad
Tablet makers like Samsung want to beat the iPad by making 4K tabs. ...
MWC 2014: This Vodafone Backpack Helps Get Network In Disaster Situations
Two engineers of Vodafone New Zealand displayed the "mini" mobile network by Vodafone substructure in a backpack. ...
MWC 2014: Wilocity Chipset To Bring 'Lightening' Speed To Mobile Phones
Wilocity has developed a WiGig chipset for mobile phones that will bring lightning-fast wireless capability ...
MWC 2014: Samsung Introduces Octacore, Hexacore Chipsets
The Korean giant, Samsung unveiled two new octacore and hexacore chipsets at MWC 2014, in Barcelona. The company previously used Exynos 5 Octa 5410 ch...
MWC 2014: Alcatel Unveils PIXI 7 Tablet With Android 4.4
Alcatel arrived at the MWC 2014 with yet another low cost Android tablet, priced at $110 ...
MWC 2014: LG F70 Unveiled With Android 4.4
LG announced the new LTE-enabled Android smartphone, LG F70, at MWC 2014 in Barcelona. ...
   
View All
   
 
Events
 
19th Consumer Electronic Imaging Fair To Be Held On ...

View All
   
   
 
 

home archives contact us advertise with us
           
Magazines Portals Directories Events News Verticals Educational Institute  
Electronics for You
Open Source for You
Facts for You
Electronics Bazaar
electronicsforu.com
efytimes.com
opensourceforu.com
electronicsb2b.com
Electronics Annual Guide
EFY EXPO INDIA
EFY EXPO WEST
ELECTRONICS ROCKS
EFY Awards
OSIDAYS Expo
Electronics
Infotech
Linux & Open Source
Consumer Electronics
Science & Technology
BPO
EFY Techcenter 

Educational Kits
Kitsnspares.com
 
 
© Copyright 2014 EFY Enterprises Pvt. Ltd.
All rights reserved. Reproduction in whole or in part in any form or medium without written permission is prohibited.
Usage of the content from the web site is subject to Terms and Conditions