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

Write a command to kill the last background job?

0 Answers  


can we use cat command as an editor ..???

12 Answers   TCS,


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

7 Answers   Alcatel, Cisco, Infosys, University Exams,


distinguish between paging and swapping?

3 Answers   Infosys,


How do you find out all processes that are currently running in UNIX OS?

10 Answers  


How do you copy a directory with many files and folders into another directory?

2 Answers  


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

2 Answers  


What is the use of tee command?

0 Answers  


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

0 Answers  


What command will bring user back to their home directory in UNIX?

13 Answers   IBM, Wipro,


How can you see the command line history?

0 Answers  


Is command prompt unix?

0 Answers  


Categories