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 / manasi mishra

for normal file in the ls -l listing there is a '-' as
first character like '-rw-r--r- '.

-rw-r--r-- 1 batch sybase 0 Dec 4 14:50 test1
This identifies it as normal file.

But for device files , they are saved as character or else
blocks . So the first letter is 'c' for character , and 'b'
for blocks.

Is This Answer Correct ?    20 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1209


What is s and g in sed command?

1114


What are the commands in UNIX to list the files in a Directory?

1176


how to sort the content of the file based on numeric values

1776


What is the use of egrep command in unix?

1178


What command is used to switching between users in unix?

1076


What is the nmap command?

1177


Who command in unix operating system?

1128


Enlist some filename manipulation commands in unix.

1155


What is sed awk grep?

1129


Name the general commands in using unix os for a beginner?

1152


What command is used to check the current users?

1123


Who command in unix?

1135


Is it inbetween or in between?

1043


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)?

1565