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 ?    35 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist some filename manipulation commands in unix.

549


What is the command to view process running?

574


Write a command that will display files in the current directory, in a colored, long format.

683


What does the md command do?

568


What is the pipe command?

574






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

620


Which unix command to make a new directory?

588


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

759


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

954


What do chown command do?

536


What is the use of find command in unix?

578


Which command is used to create a directory?

571


What is the use of egrep command in unix?

624


How does shebang work?

588


How does pipe () work?

593