what will be the output of ls ~/..

Answer Posted / sandesh

It prints the directories and file which is in your parent
directory.
If u are logged in root ..it will show contents of /
directory.

If u are logged in /home/sandesh ....it will show contents
of /home directory .

~/ means the user login directory.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nr in awk command?

608


What is used to type command?

545


How do you repeat a command in terminal?

596


Is it inbetween or in between?

589


How to display no of records in oracle using unix command?

590






What is the use of the tee command?

602


What does touch command do in unix?

733


What does awk stand for?

615


How do I clear my terminal history?

588


How does pipe () work?

597


What is the command to view process running?

578


Is command prompt unix?

586


What are bash commands?

598


Explain the steps that a shell follows while processing a command.

683


Explain ‘system calls’ with respect to unix commands?

606