what will be the output of ls ~/..
Answers were Sorted based on User's Feedback
this is based on you home directory path. for example, if
ur home direcory is /all/home, then it will display the
content of /all.............if ur home path is /all then
it will display the contents of '/'
directory...........Generally home will be
like '/all/home'..... so it will display all users in
realtime work environment...........Raam
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ram
It will display files and dirhome directory
ex: /home/ram
it will displace the /home directory files and dir
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / prasant panda
It will show list of users created
example:
Administrator usr1 usr2 ....
Except root.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / shimpi
ls ~/..
it will show the users
ls ~/
displays the contents of users login directory
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / prasanta das
It will show the content(only directories) of the /home
directory not user's home direcory.
suppose i am the user.
then My home directory is /home/prasanta
so output of ls ~/.. is contains of /home direcory that mean
it will show all the users
| Is This Answer Correct ? | 1 Yes | 1 No |
what do you understand by 'unix is a portable os'?
distinguish between user mode and kernel mode?
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
what is the cmd to display the last exit status in UNIX?
What is used to type command?
how to make IGNITE-BACKUP in HP-UX?
How do I search for a file in unix command?
Write a command to kill the last background job?
What is the use of sed command in unix?
what is the use of uniq commmand?
in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?
What is the difference between Shell Programming and Shell scripting?
10 Answers HCL, TCS, Wipro,