Unix Commands Interview Questions
Questions Answers Views Company eMail

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

TCS,

8 20070

What Command is used to make a directory?

IBM,

4 9498

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

IBM,

7 12157

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

IBM,

10 18062

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

Alcatel, IBM,

3 10555

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

IBM,

6 15383

What Command will remove a Directory in UNIX?

IBM,

8 18232

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

IBM,

9 12105

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

IBM, Wipro,

13 19827

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

IBM,

8 15468

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

IBM,

7 12453

fork in unix ?

BFL,

4 9720

in unix echo is used for

BFL, BirlaSoft, Patni,

10 24852

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 13163

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

8 9761


Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

How do I open a port?

564


What is the command to view process running?

548


What is the unix command to confirm a remote host is alive or not?

554


Which unix command lists files/folders in alphabetical order?

586


What is the significance of the 'tee' command?

574






What is ‘ps’ command for?

577


What are awk commands?

555


Write a command to kill the last background job?

587


What is the behavioural difference between cmp and diff commands?

641


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

730


What is the use of the tee command?

564


What do chmod command do?

577


How do I find previous commands in unix?

571


What is the use of find command in unix?

553


What is .sh file?

577