What are the basic commands in LINUX?
Answers were Sorted based on User's Feedback
Answer / amit puri
Basic Commands in linux :
pwd:-display current directory path,
mkdir:-make new dir,
touch:- make empty file,
cat:-display contain of the file,
ls:- list of directory,
rmdir:-remove dir,
rm:-remove file,
cp :- copy the file.
| Is This Answer Correct ? | 37 Yes | 2 No |
Answer / ratnakar padhy
Basic means in real time we use IFCONFIG TOP SAR LS DF DU,
| Is This Answer Correct ? | 21 Yes | 8 No |
cat:-
create a file and Sends file contents to standard output.
This is a way to list the contents of short files to the
screen. It works well with piping.
============================================================
cd:-
Change directory
============================================================
cp:-
copy the file
============================================================
df:-
Show the amount of disk space used on each mounted
filesystem
============================================================
logout:-
Logs the current user off the system.
============================================================
mv:-
Move or rename files
============================================================
pwd:-
Show the name of the current working directory
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / mcmarc
ls
mv
cp
lspci
netstat
top
tar
which
uname
who
last
mkdir
touch
cat
vi
grep
ps
file
find
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / amit kumar ghosh
It is not practical to say the basic cmds of linux.
There are many, it depends on user & company requirements,
also with any cmd we can create more cmd & that also becomes
basic.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / v.balaviswanathan
It depends on the user
If the user is root or a system administrator the task and
the commands are different and depending on the task
commands vary those might be the basic as well
like " top, ls, lspci, ps aux, df, du, ls -Z, service, cat,
basename etc"
If the user is normal then commands like "cat, passwd, ls,
export(While writing shell scripts) etc.
| Is This Answer Correct ? | 4 Yes | 6 No |
What does the following command line produce? Explain each aspect of this line. $ (date ; ps -ef | awk {print $1}' | sort | uniq | wc -l ) >> Activity.log
How do I run a command in linux?
What is a ulimit in unix?
What is the command to see on which port which service is running?
What command is used to check the number of files, disk space, and each user’s defined quota?
What do you mean by directory?
What is devops model?
How do you change file permissions in Linux?
Explain about communication features in UNIX?
What would you do when all the processess hangs and there is no other option in unix?
What is make in linux?
why do u want to join this company
6 Answers HCL, Infosys, United Healthcare, Wipro,