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

Differentiate cmp command from diff command.

0 Answers  


How would you change all occurrences of a value using VI?

4 Answers  


write grep commands to select the lines that have exactly two characters

8 Answers   PSI Data Systems,


What is the difference between AWK and SED commands? Plz give example and explain...

3 Answers   RBS,


How can i know my Filesystem and its current usage in my prod UNIX system?

4 Answers   HCL, IBM,






What are grep patterns?

0 Answers  


What is grep short for?

0 Answers  


What is updatedb?

0 Answers  


What do know about tee command?

0 Answers  


Why is grep called grep?

0 Answers  


How to setup sudo, only can use for particular date & time only ( for solaris10 )

1 Answers   ups,


Are you in or at the office?

0 Answers  


Categories