Which command will print your home directory on screen?



Which command will print your home directory on screen?..

Answer / Shri Ram Verma

In Unix, you can use the echo or pwd commands to display your home directory. For example: echo $HOME or pwd.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

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

1 Answers   Epsilon,


in UNIX ,What is the command to view contents of a large error log file?

7 Answers  


What is grep in bash?

1 Answers  


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 Answers   IBM,


How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.

12 Answers   IBM,


Give the command for finding the current date.

1 Answers  


If we want to see first 35 lines of a file which command we have to use?

8 Answers  


what are wild cards?

2 Answers  


What is updatedb?

1 Answers  


What is the pipe command?

1 Answers  


Differentiate cat command from more command.

1 Answers  


How do you repeat a command in terminal?

1 Answers  


Categories