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

Is there any command in Unix, other than:ls, to list the
files in a directory?
The answer will be highly appreciated...

Answer Posted / nik

You can use find command with - type f. It will print all
the files in the current dir recursively.

Is This Answer Correct ?    13 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a command to kill the last background job?

1098


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:

2262


What does this command do,"$more readme.txt“?

1155


What command is used to check the current users?

1119


Which unix command lists files/folders in alphabetical order?

1739


What is awk command used for?

1223


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

1121


Explain ‘system calls’ with respect to unix commands?

1088


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1217


Explain command to view process running?

1123


How do I use grep to search for a file?

1050


Why is it called grep?

1026


What is the nmap command?

1177


What is merge command in unix?

1502


Name the unix command to find how many days the server has been up.

1162