what will be the output of ls ~/..

Answer Posted / phil

It will list the files and directories of the current user
parent's login directory

i.e.
If the current user smith login directory is "/home/smith",
then the parent's login directory is "/home"

In this example, the files and directories in "/home" are
listed.

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is awk called awk?

577


What do know about tee command?

602


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

643


What is the use of cut command in unix?

690


What command is used to switching between users in unix?

560






How can we use grep command in unix?

614


Does cp command overwrite files?

620


What is the size of time_t?

645


Describe the usage and functionality of the command rm –r * in unix?

822


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

638


What is the difference between cat command and more command?

599


What does grep v do?

557


What is ‘ps’ command for?

614


What do know about tee command and its usage?

586


What is nr in awk command?

600