what will be the output of ls ~/..

Answer Posted / vikas sharma

ls ~/..

displays the list of /
i.e all folder like usr bin opt var root proc etc..

break this command
ls ~ [list the /root]
cd .. [cd to /]
ls [list of /]

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you enlist some commonly used network commands?

600


What is the command to compare two files in unix?

618


What is awk used for?

618


How do I run a whois command?

600


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

622






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

689


What is the use of the command 'ls -x chapter[1-5]' ?

661


How do I use grep to find a file?

581


Does cp command overwrite files?

620


How does shebang work?

589


What is the significance of the 'tee' command?

596


What are awk commands?

582


What is time_t?

586


What is grep short for?

556


Differentiate cmp command from diff command.

586