Unix Commands Interview Questions
Questions Answers Views Company eMail

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

TCS,

8 13753

What Command is used to make a directory?

IBM,

4 6624

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

IBM,

6 8178




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

IBM,

10 12991

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

Alcatel, IBM,

3 7704

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

IBM,

6 11667

What Command will remove a Directory in UNIX?

IBM,

8 13838

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

IBM,

9 8238




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

Wipro, IBM,

13 12949

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

IBM,

8 11293

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

IBM,

7 9000

fork in unix ?

BFL,

4 7078

in unix echo is used for

Patni, BirlaSoft, BFL,

10 19552

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 8463

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

8 6114


Post New Unix Commands Questions






Un-Answered Questions { Unix Commands }

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

488


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

1155


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:

902


why metadb requires a seperate slice to create Solaris volume manager

1702


hw will u use awk in replacing cahrs and files

1896