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

How to identify whether a file is normal file or directory?

Answer Posted / srinath.p

$ls -l filename/directoryname
if the first digit is - then it is file,if it is d then it
is directory

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain command to show the space allocation of files?

1131


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

1217


What is the use of awk command in unix?

1137


How does pipe () work?

1106


What is the functionality of a top command?

1117


How do I delete files from command prompt?

1235


What do chown command do?

1204


What does awk stand for?

1094


What does grep v grep do?

1093


Which command is used to kill the last background job?

1340


Which command will print your home directory on screen?

1091


What is updatedb?

1060


What is the difference between grep and grep?

1143


What command will change your prompt to myprompt?

1334


Explain command to view process running?

1146