Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What are the most important command you use in linux ? explain their usage

user-image
Question added by Deleted user
Date Posted: 2014/02/08
Abdulrahim Mohamad Shoueib Alyafi
by Abdulrahim Mohamad Shoueib Alyafi , Information Technology Manager , Faii Alriyadh Establishment for Contracting

I think: SSH, ls, vim, YUM, cd, SERVICE, CKCONFIG. 

Mudassir Mubin Baig
by Mudassir Mubin Baig , Network Engineer , Saima Packaging Pvt. Ltd.

All my friend have shared their thoughts about the most important command. But in my opinion

echo

is the best

why???

Because you do not stick with the command line if you love CLI. Soon you will enter in the world of Shell scripting, which is also the composition of linux commands and echo is the command that will let you know where you are going with your script, till your scrit will become a program.

In linux mostly using command is network configaration command nmcli,ifconfig 

and normally i used usermanagement commands like acl,chmod,chown,chgrp 

becuase in linux we are not giving the all permissions to one file we restrict some people and some accounts on files so i use these commands alot 

Mansoor Ahmed Khan
by Mansoor Ahmed Khan , Graphics Designer , Techno Printing Press

This section gives insight into the most important commands of your SuSE Linux system. Along with the individual commands, parameters are listed and, where appropriate, a typical sample application is introduced. To learn more about the various commands, it is usually possible to get additional information with the man program followed by the name of the command, for example, man ls.

Firstname Confidentiel
by Firstname Confidentiel , Linux RHEL Engineer , IST GROUP

"sudo command" to run a command as a root

Vicente Nicolas Lecaroz
by Vicente Nicolas Lecaroz , Supervisor , Accessbase Technology and Solutions Incorporated

there are lot of linux commands that can be used and all of them are useful.

 

cd - change directory

ls - listing of files and folder in a directory

rm - deleting files or folder(but you should be careful)

vim  or nano - file editor

pwd - check your present working directory

cp - copy file or folder

etc....

 

SYED MEERAN
by SYED MEERAN , Sr IT Infrastructure Eng , Alinma Tokio Marine

Df -kh ,which i am normally checking disk space

Junise Safvan
by Junise Safvan , Network Consulting Engineer , Castalia Research Labs Pvt. Ltd

cd - use it to change directory from one to another...

 

Actually there are a lot of commands in linux and majority of them are very useful to me.

Rahul Thomas
by Rahul Thomas , Systems Administrator , Katalyst Business Solutions Pvt Ltd

pwd- its use in current location,

ls - its use listing files

irfad Chathoth
by irfad Chathoth , Senior Associate , Sapient Corporation, Bangalore

Awk -- it is mainly used to process files to fetch specific rows and columns.

grep- it is used for searching words in files, it has a powerfull optiona and it support regex for searching patterns

find -- it is used to serch for a file or directory. it is very useful to find old files or recent modified files etc

sed -- it is a stream editor, i mainly used for editing or modifying files content

Monika Salvi
by Monika Salvi , Software developer , Faichi Solution PVT ltd

There are many commands in Linux we use but the usage depends on person to person. Below are the list of commands:

sudo => root user privilege

ls -l => list files and directory

mkdir => make directory

rm -fr => forcefully remove derectory

chmod -R 777 directory-name => change read write execute permission to all

chgrp => change group

vi => editor

cd => change directory

grep => find string in file or directory

df -h -> check disk space

top => running process

cp source destination => copy one forlder/file to other location

mv source destination => move file/folder from one location to destination

etc.

More Questions Like This