Unix Commands Interview Questions
Questions Answers Views Company eMail

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

TCS,

8 14092

What Command is used to make a directory?

IBM,

4 6797

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

IBM,

7 8424




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

IBM,

10 13247

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

Alcatel, IBM,

3 7889

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

IBM,

6 11880

What Command will remove a Directory in UNIX?

IBM,

8 14044

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

IBM,

9 8452




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

Wipro, IBM,

13 13305

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

IBM,

8 11544

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

IBM,

7 9230

fork in unix ?

BFL,

4 7241

in unix echo is used for

Patni, BirlaSoft, BFL,

10 19837

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 8804

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

8 6309


Post New Unix Commands Questions






Un-Answered Questions { Unix Commands }

why metadb requires a seperate slice to create Solaris volume manager

1778


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:

980


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

537


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

1225


hw will u use awk in replacing cahrs and files

1966






How to find $ai_serual resolved path by using unix

121