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 many types of file in unix?

Answer Posted / jagadeeb choudhury

7 types files are there.

1. Regular file:(-):contains data in either text format or
binary format

2. Directory file:(d):It contains the name and location of
all files stored on a physical device.

3. FIFO file:(f):2 communicate betn 2 processes running on
same system

4. Block special file:(b):Its a physical device such as a
disk, that reads or write data a block at a time.

5. Sybolic file:(l):its a link or pointer to already
existing file

6. Socket file:(s):Is a special file that is used for
network communication.

7. Character special file:(c):A physical device such as
terminal that reads or write one character at a time.

Ex-
stdin, stdout, stderr


Thanks,
Jagadeeb@gmail.com

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do chmod command do?

1215


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2265


What does the command ' $who | sort –logfile > newfile' do?

1270


Name the unix command to find how many days the server has been up.

1162


Why is it called grep?

1026


How do I find previous commands in unix?

1183


What is the use of tee command?

1155


How to find $ai_serual resolved path by using unix

1741


Can you explain a little bit about command substitution?

1111


What is the significance of the 'tee' command?

1195


What happens when we execute a unix command?

1134


Explain the steps that a shell follows while processing a command.

1226


What does grep v grep do?

1073


What are the dos commands?

1256


How do I search a whole word in vim?

1174