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

How do I use grep to search for a file?

1106


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

1127


What is sed awk grep?

1189


What are the general commands in using unix os for a beginner?

1221


Does cp command overwrite files?

1271


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

1842


How do I run a bash script?

1241


What are file commands?

1291


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:

2321


What is the significance of the 'tee' command?

1255


What do know about tee command and its usage?

1249


What is time_t?

1163


What is the functionality of a top command?

1163


What is ctrl d?

1157


How do I search for text in vi?

1102