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

what will this do $cat > file.c ?(file.c is a file in current directory)

20 Answers   IBM,


what is the difference between pipe(|) and tee command..

3 Answers   Cap Gemini, Rolta,


What does grep v grep do?

0 Answers  


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

0 Answers  


What is s and g in sed command?

0 Answers  






What is command substitution?

0 Answers  


what are processor execution levels and priorities?

2 Answers   Infosys,


how to unzip the contents of the gzip file

1 Answers   Epsilon,


How do I find previous commands in unix?

0 Answers  


why unix operating system provides more security than other operating systems?

4 Answers  


What is grep command in unix with examples?

0 Answers  


How to open a Database using Unix Command Please Do Reply

9 Answers   Cognizant, CTS,


Categories