Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what will be the output of ls ~/..

Answers were Sorted based on User's Feedback



what will be the output of ls ~/....

Answer / raam

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

what will be the output of ls ~/....

Answer / sugumar

it display the home directory content.

Is This Answer Correct ?    4 Yes 4 No

what will be the output of ls ~/....

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

what will be the output of ls ~/....

Answer / prasant panda

It will show list of users created

example:

Administrator usr1 usr2 ....

Except root.

Is This Answer Correct ?    2 Yes 2 No

what will be the output of ls ~/....

Answer / shimpi

ls ~/..
it will show the users

ls ~/
displays the contents of users login directory

Is This Answer Correct ?    3 Yes 3 No

what will be the output of ls ~/....

Answer / asish

this will list the filestructures inside /home .

Is This Answer Correct ?    1 Yes 1 No

what will be the output of ls ~/....

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 will be the output of ls ~/....

Answer / mahfooz

it will show home directory :
mahfooz@mahfooz-desktop:~/diskd$ ls ~/..
mahfooz
and ls ~ will show you home/user files and directory list.

so ls ~/.. will list parent directory files and directories.

Is This Answer Correct ?    0 Yes 0 No

what will be the output of ls ~/....

Answer / arpit

One back to user home directory.

Is This Answer Correct ?    0 Yes 0 No

what will be the output of ls ~/....

Answer / sharanya

it displays alll the files and directories

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Unix Commands Interview Questions

what do you understand by 'unix is a portable os'?

3 Answers   Infosys,


distinguish between user mode and kernel mode?

4 Answers   Infosys,


When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?

3 Answers  


what is the cmd to display the last exit status in UNIX?

5 Answers   MEIT, Syntel,


What is used to type command?

0 Answers  


how to make IGNITE-BACKUP in HP-UX?

4 Answers   HP,


How do I search for a file in unix command?

0 Answers  


Write a command to kill the last background job?

0 Answers  


What is the use of sed command in unix?

0 Answers  


what is the use of uniq commmand?

8 Answers  


in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?

6 Answers  


What is the difference between Shell Programming and Shell scripting?

10 Answers   HCL, TCS, Wipro,


Categories