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 / 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

What does the command ' $who | sort –logfile > newfile' do?

1326


hw will u use awk in replacing cahrs and files

3298


What is grep command in unix with examples?

1292


What is grep short for?

1105


What is the use of cut command in unix?

1432


Can you explain a little bit about command substitution?

1164


Which command is used to restrict incoming messages?

1150


What do chown command do?

1259


What is merge command in unix?

1561


What is sed awk grep?

1189


What is the function of grep command in unix?

1234


How do I search a whole word in vim?

1224


Is command prompt unix?

1225


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 is {} in find command?

1157