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?

1208


What does the “echo” command do?

1105


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

1217


what is the advaantage of each user having its own copy of the shell?

2513


How do I use grep to search for a file?

1016


Why is grep called grep?

1239


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

1093


What is awk good for?

1099


What are filter commands in unix?

1126


What is $0 bash?

1142


What is the first character of the output in ls l command?

1168


What is command substitution?

1283


What happens when we execute a unix command?

1096


What's a command word?

1120


Explain command to show the space allocation of files?

1083