what will be the output of ls ~/..

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use grep command to list find the records of a file containing 10 different strings?

650


How to find $ai_serual resolved path by using unix

1031


What do chgrp command do?

596


What does this command do,"$more readme.txt“?

693


What will the following command do?

622






What are awk commands?

586


How do I open a port?

596


Which command is used to create a directory?

577


Explain ‘library functions’ with respect to unix commands?

606


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)?

964


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

628


Why is grep called grep?

784


Give the command for finding the current date.

583


How do I delete files from command prompt?

555


How do I use grep to find a file?

583