Answer Posted / shubhadip
It depends on your HOME directory. " ~ " sign denotes your
HOME directory and " /.. " for HOME's parent directory.
By default user's HOME directory is /home/user_name . So
at that time ls ~/.. command will show the contents of
directory /home .
But if somebody has set a different HOME directory
(e.g. /opt/apps/usr). Then the command will show the
contents of directory /opt/apps .
I used "HOME" for the environment variable and "home" for
directory name. These 2 are completely different thing.
If you want to know what is your HOME directory. Then you
can type echo $HOME
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you grep recursively?
Name the general commands in using unix os for a beginner?
What is the comma to show the space allocation of files?
Name the unix command to find how many days the server has been up.
What does the metacharacter mean?
What is .sh file?
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
Explain command to view process running?
What command is used to switching between users in unix?
What does this command do? Cat food 1 > kitty
What is rmdir command?
What is the nmap command?
why metadb requires a seperate slice to create Solaris volume manager
What is command substitution?
What is the functionality of a top command?