Unix Commands Interview Questions
Questions Answers Views Company eMail

What command is used to replace the existing string with some other?

TCS,

8 14391

What Command is used to make a directory?

IBM,

4 6965

Give Command that will move a single file called "unix.txt"

IBM,

7 8609




Give command that will make the file "run.sh" executable?

IBM,

10 13523

Give Command that will change the name of a directly from paypal to eBay

Alcatel, IBM,

3 8074

How does a user get the current date, time in UNIX?

IBM,

6 12086

What Command will remove a Directory in UNIX?

IBM,

8 14261

How does the user view the contents of a text file in UNIX?

IBM,

9 8681




What command will bring user back to their home directory in UNIX?

Wipro, IBM,

13 13625

What command a user use to view a long text file one page at a time in UNIX?

IBM,

8 11718

What command would users use to see what file one page at a time in UNIX?

IBM,

7 9401

fork in unix ?

BFL,

4 7435

in unix echo is used for

Patni, BirlaSoft, BFL,

10 20167

The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above

IBM,

4 9082

what is the command to list files in a directory in UNIX?

8 6492


Post New Unix Commands Questions






Un-Answered Questions { Unix Commands }

Is ‘du’ a command? If so, what is its use?

17


Explain the steps that a shell follows while processing a command.

15


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

11


What does the command '$ls | wc –l > file1' do?

10


What is ‘ps’ command for?

19






What difference between cmp and diff commands?

13


What does the command ' $who | sort –logfile > newfile' do?

19


Write a command to kill the last background job?

14


What will the following command do?

21


What is the difference between cat and more command?

11


hw will u use awk in replacing cahrs and files

2021


What is the significance of the 'tee' command?

19


How to find $ai_serual resolved path by using unix

165


What are the commands in UNIX to list the files in a Directory?

22


What is the functionality of a top command?

22