Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 does the command '$ls | wc –l > file1' do?

1256


Is grep faster than awk?

1053


What is pipe command in unix?

1312


What are filter commands in unix?

1211


What are grep patterns?

1098


What is grep r?

1115


What is in grep command?

1181


Can you explain a little bit about command substitution?

1124


What is “chmod” command?

1193


What are the commands in UNIX to list the files in a Directory?

1198


What is the use of cut command in unix?

1383


Which unix command to make a new directory?

1158


What is the nmap command?

1200


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

1247


What is $0 bash?

1214