EFY Times  
Tuesday, January 27, 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:  (14 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: 18516)
 
Share

 
 
Infotech News
   
Lava Iris 470 Available On eBay India @ Rs 4,399
Acer Launches Windows 8.1-Based Convertible In India, Starting At Rs 83,999
Blackberry Passport Limited Edition Black & Gold Variants Launched!
NewVoiceMedia’s Cloud Contact Centre Technology Boosts Colloquy’s Student And Partner Engagement And Retention
Was Facebook Hacked? Well, A Tweet By Lizard Squad Says So!
 
 
 
     
     
     
     
     
     
Most popular
 

Daily

Weekly

Microsoft Azure Platform Development Is On; Docker Image Available On Ubuntu Server Now!
10 Must-Have Android Widgets!
Dropbox App Finally Debuts On Windows Phones And Tablets!
Top 7 Raspberry Pi Alternatives!
8 New Things To Check-Out In SUSE Linux 12!
Top 5 Arduino And Raspberry Pi Projects You Must Try!
10 Google Products That Failed Big Time!
10 Most-Required Skills For An Engineering Job At Google!
10 Most Disastrous Linux Malware Attacks!
10 Programming Languages That You Must Know
6 Products To Protect Your Digital Privacy!
Top 10 Open Source Mobile Tools For Workplace
Microsoft HoloLens Device To Become A Part Of Mars Explorations!
8 Best Java Tools That Every Java Programmer Must Use
Hybrid Pulls Ahead As Cloud Computing Reaches Maturity, Oracle Research Finds
8 Tips To Improve Cyber Security This Year!
 
   

Overall

Features
10 Budget Smartphones With Maximum Battery Life!
Here is the list of affordable Android smartphones under Rs 10,000/- that promise long lasting battery life....
8 Technologies That Tick-Off Linus Torvalds!
Linus Torvalds hates certain technologies for various reasons. Here are eight such technologies and his public statements about them....
10 Fresh Tools For Web Developers
Web designing is challenging but there are tons of frameworks and tools available to simplify the task of developers. Here is list of ten latest tool...
10 Gadgets That Can Empower Women Around The World!
Low-tech gadgets can make great difference for women in developing countries. Here are ten such gadgets that can make real difference in lives of wome...
5 Ways Big Data Can Affect Your Business!
Business leaders understand the revolutionary force of Big Data but this can be a disruptive threat for all businesses out there....
8 Smartphones That Got Price Cut In India!
Here is the list of top eight high-end smartphones that recently received price cut....
E-Commerce Companies To Hunt For Passive Talent Now!
The hottest segment in the industry is adopting to new strategy to fill job positions....
10 Reasons To Adopt To Remote Working!
Remote work is disrupting concept for the traditional tech industry which follows 9-to-5 grind. Here's why it needs to be changed! ...
Top 5 Tech Deals On This Republic Day Weekend!
All e-commerce sites are running Republic Day sale. Here are top five tech offers from the sale....
Top 10 Data Recovery Tools For Linux
There are many chances that make your system crash and you are not able to recover your precious data again. Here are ten data recovery tools for your...
9 Facebook Features That You May Not Have Heard Of!
Here is the list of nine cool features of Facebook that are not-so-popular....
Top 10 Quad Core Processor Powered Smartphones In India
Here is the list of ten popular Android smartphones that come with quad-core processor....
10 Must-Have Android Widgets!
Here is the list of ten Android widgets that can boost your productivity....
Top 5 Arduino And Raspberry Pi Projects You Must Try!
Open hardware projects let you understand the components that power the computing device. Here is the list of top 5 open hardware projects based on Ar...
6 Products To Protect Your Digital Privacy!
These six tools can help privacy concerned users to leave as little trace as possible while using internet connected technologies....
 
  View All
Dialogue
 
“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....
"Littelfuse Is Growing At Around 20-25 Per Cent In India And Expect That To Continue", Predicts VP Deepak Nayar
On the electronics side, Littelfuse has registered an 8-10 per cent growth, year on year....
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....
   
  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