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 unix kernel distinguishes between a normal file and
device file ?

Answer Posted / asif

Guest,

You are right about the 'ls' command, but 'ls' is a user
level command, which invokes (among others) read system
call to read and display directory contents (file/ dir
names in a directory). Ultimately kernel parses inode of
each file to get its type.

Rgds,
asif

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unix command?

1272


How to find $ai_serual resolved path by using unix

1764


What does grep v do?

1062


What does this command do? Cat food 1 > kitty

1594


Explain command to show the space allocation of files?

1130


Which command will print your home directory on screen?

1089


What is nr in awk command?

1214


What does the metacharacter mean?

1141


How do you repeat a command in terminal?

1236


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

1132


What command is used to switching between users in unix?

1086


What does the command '$ls | wc –l > file1' do?

1240


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1577


What are the unix commands?

1101


Does cp command overwrite files?

1217