Unix Commands Interview Questions
Questions Answers Views Company eMail

Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?

5 10902

What is the syntax of grep command and what is its use?

6 10007

How do you move a process which is running background to foreground?

9 15247

How do you stop a running process?

7 14241

What is the procedure of "at" and crontab" commands?

4 9779

Which command will you use to change the permissions on file?

7 8711

What is the use of pipes?

4 8048

Through which command will redirect output to bOth screen and files at the same time?

3 9561

How do you know about running processes of a particular user?

11 17593

How do you remove a crontab file?

6 16822

What is the basic difference between unix and windows operating systems?

Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,

43 167930

How do you find path of a directory? Give its syntax.

7 13902

In vi editor how do you execute unix commands?

10 18845

what is the use of "test" command in unix?

4 19802

Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 13271


Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

What is the behavioural difference between cmp and diff commands?

664


Using unix command how to display no of records in oracle?

598


Which command can you use to find the currently running process in unix server?

577


Which command is used to create a directory?

556


Name the unix command to find how many days the server has been up.

590






How do I search for a file in unix command?

539


Differentiate cmp command from diff command.

579


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1749


What is .sh file?

611


How do you grep recursively?

545


How do I search for text in vi?

574


What is awk good for?

576


Explain command to show the space allocation of files?

621


How can we use grep command in unix?

606


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

614