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 is the command to list files in a directory in UNIX?

Answer Posted / yuvaevergreen

ls | grep "^-"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you grep a case insensitive?

1052


What is the behavioural difference between cmp and diff commands?

1289


What does pipe () return?

1077


Which command is used to delete all files in the current directory and all its sub-directories?

1267


How do I clear my terminal history?

1177


What are grep patterns?

1088


What command will change your prompt to myprompt?

1332


Which command is used to copy files?

1177


What is rmdir command?

1112


What is pipe command in unix?

1307


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

1191


Describe the zip/unzip command using gzip.

1162


Why is grep called grep?

1302


How do I search for a file in unix command?

1023


What is grep and how do you use it?

1118