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 language is a makefile written in?
Which command will show you free/used memory?
have you ever got warning message from unix admin that file system running out of space or not enough disk space?what will u do?
What does chmod 666 do?
What is the difference between cd and cd in linux?
How do I check storage on linux?
The command ‘umask -S’
Explain the working of command grouping?
How can you check the amount of lines in a file?
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
What is the difference between find and locate command in linux?
You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?