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

it will show home directory :
mahfooz@mahfooz-desktop:~/diskd$ ls ~/..
mahfooz
and ls ~ will show you home/user files and directory list.

so ls ~/.. will list parent directory files and directories.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of time_t?

1148


what is the advaantage of each user having its own copy of the shell?

2505


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:

2202


Explain command to show the space allocation of files?

1068


What do chgrp command do?

1142


Write a command to display a file’s contents in various formats?

1149


What is the general format of unix command syntax?

1790


What does 'mkdir' command do in UNIX?

1238


What is grep in bash?

1007


Can you enlist some commonly used network commands?

1052


What is ctrl d?

1043


What is ‘ps’ command for?

1134


What is the use of finger command?

1138


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

1239


What are the general commands in using unix os for a beginner?

1094