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

How does the system know where one command ends and another begins?

2259


What is the use of cut command in unix?

1379


What is ‘ps’ command for?

1188


What is sed awk grep?

1139


Explain how to use grep command to list find the records of a file containing 10 different strings?

1076


What is unix command?

1269


Which command is used to find whether the system is 32 bit or 64 bit?

1153


Why is shebang used?

1133


What does #!/ Bin sh do?

1069


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:

2273


What is {} in find command?

1114


How do I use grep to find a file?

1118


Differentiate cmp command from diff command.

1180


Describe the usage and functionality of the command rm –r * in unix?

2107


Write a command that will display files in the current directory, in a colored, long format.

1233