EFY Times  
Saturday, April 25, 2015

 
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:  (17 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: 20122)
 
Share

 
 
Infotech News
   
Translation Cloud Now Provides Video Captioning And Subtitling Services
Storage Switzerland Test Drive Demonstrates Transporter’s Private Cloud Storage Efficiency Over Public Cloud Solutions Such As Dropbox
Shipment Of The Much-Awaited Apple Watch begins
The Meeco Group Completes Installation Of 20KW Solar Project In Gurgaon
ACME Signs PPA For 30MW Solar Project With Uttar Pradesh
 
 
 
     
     
     
     
     
     
Most popular
 

Daily

Call For Entries Opens For Best Of CES Asia Awards Program Presented By ZOL
Samsung Expands Mobile Virtual Reality Category With Gear VR Innovator Edition For Galaxy S 6 In The U.S.
AEG Power Solutions Chosen By Emmeti For UPS And Remote Monitoring
AEG Power Solutions Launches MoniUPS Remote Monitoring For Power Systems
Universal Stylus Initiative Launched To Create A Specification For An Active Stylus
AT&T Access More Card From Citi Featuring A New Exclusive Smartphone Offer Now Available
Pulsic’s Animate Adopted By Ricoh Electronic Devices For Power Management IC Layout
3M Announces First-Quarter Results; Company Posts Sales Of $7.6 Billion And Earnings Of $1.85 Per Share
Saft Receives New €7m Order From Indian Telecom Operator Reliance Jio
Linksys Launches The WRT1200AC - Best In Class Wireless AC1200 Router
 
   

Weekly

Updated Panasonic Toughpad 4K Tablet Now Available
3 Successes And 3 Failures Of Microsoft
Panasonic Enhances Toughpad 4K Tablet For Improved Productivity In Creative, Technical Fields
Canon Targets Young Talent; Takes Photography To School Kids
NxtGen Outperforms Amazon Web Services And Rackspace On price-Performance Metrics For Cloud Services
WhatsApp Undergoes Facelift With Material Design And Better Layout
Electronics Policy 2014-2019; Gujrat To Become A Leading ESDM Destination
Top 7 Smartphones With Long-Lasting Battery
5 Most Infamous Hackers Of All Time
India Ranked Second In Cyber Crimes Through Social Media
8 Best Alternatives To Bootstrap
Top 10 Frequently Asked SQL Query Interview Questions
Wipro Sees Govt Of India’s Policy On Open Source Software Opening Up Major Opportunities
Whatsapp To Become Largest Communication Service; Crosses 800 Million Users
Top 6 Octa-Core Android Phones Under Rs 10,000/-
Google Fooled By Its Own April Fool Prank
 
   

Overall

Features
7 Things To Do After Buying New iPhone
Bought a new iPhone? Here are 7 things you need to do right away...
8 Gadgets To Make Your Smartphone Even Smarter!
Check out these 8 cool gadgets that will make your smartphone smarter...
10 Must Have Google Chrome Apps
Install these Chrome extension apps to boost your work productivity...
Top 6 Octa-Core Android Phones Under Rs 10,000/-
Here is the list of best 6 super-fast Android phones you can buy under Rs 10,000/-...
6 Qualities That Can Help You Achieve Happiness
Here are 6 qualities that you can incorporate in life to find the greater happiness....
Top 10 Frequently Asked SQL Query Interview Questions
Here are 10 frequently asked SQL interview questions and answers that can help you crack the interview....
8 Best Alternatives To Bootstrap
Boostrap is used by many web developers out there. If you are looking for some innovative alternative to Bootstrap. Here is the list of 8 best options...
8 Tech Companies You Didn't Know You Use Everyday!
You may not have heard the names of following tech companies but, you use their product and services in daily life through your favorite app....
Top 8 PHP Libraries For Developers
Here is the list of best PHP libraries for web developers and programmers...
3 Successes And 3 Failures Of Microsoft
Microsoft has seen many triumphs and failures. Here are top 3 successes and 3 failures in company's 40 year journey....
Top 8 Most Expensive Smartphones In India
Ever wondered about the most expensive smartphones available in India? Here is the list of luxury smartphones...
5 Most Infamous Hackers Of All Time
Here are 5 most well-known hackers and what they've become infamous for in the hacker community...
Top 7 Smartphones With Long-Lasting Battery
Here is the list of 7 best smartphones under Rs 20,000/- which come with minimum 3000 mAh battery...
7 Mistakes That Can Kill Your Startup
Here are 7 startup mistakes that needs to be avoided to survive past the initial roadblocks....
5 Undiscovered Features Of Google Drive
Google Drive offers a number of tools to help you be more productive. Try these five for the biggest boost. ...
 
  View All
Dialogue
 
“One Day The End User Can Open Up A Used Battery, And Use What’s Inside As Barbecue Sauce”
Of course that is not something currently possible, but what B&B Batteries does have are some secret recipes for their very specialised battery design...
We Wish To Procure All The LED Components Within India: Avni Energy
G. Gururaja, director, Avni Energy Solutions Pvt Ltd, shares his views about the expanding LED industry in the Indian market and the company's plans i...
We Have Registered 50 Per Cent Growth In The Last Two Years: Arihant Lighting
Apart from LEDs, Arihant is associated with the promotion of renewable energy in India and therefore, manufactures various energy saving products....
“Elcom Plans To Build A New State Of The Art R&D And Manufacturing Unit In Maharashtra", Reveals MD Girish V Vaze
Starting out as a small business to cater to the industry’s need for import substitutes, Elcom International has grown to be a leader in the field of ...
Delta Magnets Ltd To Enter Into JV With Chinese Company!
The company had partnered with TDK Japan for technology transfer to manufacture magnets in India....
   
  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
   
 
IFA 2014
 
IFA 2014: LG Launches 34-Inches Curved Monitor
The company is yet to confirm price and availability of the device....
IFA 2014: Intel Launches First Core M Range Of Processors
This range of processors is tailor-made for 2-in-1 devices which include a tablet and a laptop....
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...
   
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
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 2015 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