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 command will change your prompt to myprompt?

1387


What is ctrl d?

1157


Which unix command lists files/folders in alphabetical order?

1853


Why is shebang used?

1196


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2321


What are the dos commands?

1316


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

1271


What is “chmod” command?

1244


What do know about tee command and its usage?

1249


What is the use of tee command?

1239


What's a command word?

1254


What is updatedb?

1094


How do I open a port?

1144


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

1257


What command is used to switching between users in unix?

1131