Unix Commands Interview Questions
Questions Answers Views Company eMail

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


8 13856

What Command is used to make a directory?


4 6675

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


6 8235

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


10 13079

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

Alcatel, IBM,

3 7746

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


6 11729

What Command will remove a Directory in UNIX?


8 13904

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


9 8296

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

IBM, Wipro,

13 13048

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


8 11372

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


7 9077

fork in unix ?


4 7129

in unix echo is used for

BFL, BirlaSoft, Patni,

10 19649

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


4 8558

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

8 6185

Post New Unix Commands Questions

Un-Answered Questions { Unix Commands }

hw will u use awk in replacing cahrs and files


how to sort the content of the file based on numeric values


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:


what is the advaantage of each user having its own copy of the shell?


why metadb requires a seperate slice to create Solaris volume manager