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?

Answers were Sorted based on User's Feedback



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

Answer / vasavi

using file command

Is This Answer Correct ?    8 Yes 0 No

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

Answer / subbareddy kake

By using file command or

First list the all files by using ls -lrt.you will
following type format.
drwxr--r--
-rwxr--r--

so first one directory second one file only

Is This Answer Correct ?    4 Yes 0 No

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

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

More Unix Commands Interview Questions

What is pid?

4 Answers  


what are the different operating systems available?

3 Answers  


Why is shebang used?

0 Answers  


Through which command will redirect output to bOth screen and files at the same time?

3 Answers  


Explain command to display different lines that are found when compare two files?

0 Answers  


If we want to see first 35 lines of a file which command we have to use?

8 Answers  


in UNIX,what is the command to remove directory with files?

10 Answers  


what is exact definition of operating system?

13 Answers  


Who command in unix operating system?

0 Answers  


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

3 Answers  


How can you see the command line history?

0 Answers  


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


Categories