what will be the output of ls ~/..

Answers were Sorted based on User's Feedback



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

Answer / nagarjuna

it will display all the files and directories in the parent
of the current directory.

Is This Answer Correct ?    3 Yes 5 No

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

Answer / nagaraj

It will list files and folders from home dir.

Is This Answer Correct ?    1 Yes 3 No

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

Answer / ravikiran

It will simple list of files and dir.s ( contents ) of the
Root directory i.e., / .

Is This Answer Correct ?    1 Yes 6 No

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

Answer / varun

it will list all the contents of the root directory.
doesn't matter in which section of the file or directory
you are working in whenever you will give this command it
will always list the contents of the root directory.

Is This Answer Correct ?    1 Yes 6 No

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

Answer / swaroopa

It will show the shell as well as the the path from home
directory to the current directory.
eg: say we are in diretory swaroopa and swaroopa is there in
the home directory here is the o/p
bash: /home/swaroopa/..: is a directory

Swaroopa kalgi

Is This Answer Correct ?    1 Yes 19 No

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

Answer / deepu kalavampara

It will list the contents of /

Is This Answer Correct ?    13 Yes 32 No

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

Answer / guptamurali

it will show the list of files&directories (say contents) in
the current directory which u r working....

Is This Answer Correct ?    14 Yes 33 No

Post New Answer

More Unix Commands Interview Questions

the difference between a soft link and a hard link?

6 Answers  


solaris Run level?

3 Answers   Wipro,


How to check the flavor of UNIX?

8 Answers   HCL, Syntel,


what is the command to find out the difference between files and folders?

6 Answers  


What Command will remove a Directory in UNIX?

8 Answers   IBM,






How does shebang work?

0 Answers  


boot process?

2 Answers   Atos Origin, Wipro,


how many types of file in unix?

34 Answers   MNC, TCS,


describe the escaping sequence characteres in unix

1 Answers  


What is the difference between awk and grep?

0 Answers  


What are bash commands?

0 Answers  


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

2 Answers   Infosys,


Categories