how many types of file in unix?

Answers were Sorted based on User's Feedback



how many types of file in unix?..

Answer / sahoo.sasmita

total 7 files are there.

1. Regular file:(-):contains data in either text format or
binary format
2. Directory file:(d):contains entries of files
3. FIFO file:(f):2 communicate betn 2 processes running on
same system
4. Block special file:(b):name given 2 special blocks of
hard disk
5. Sybolic file:(l):its a link or pointer to already
existing file
6. Socket file:(s):2 communicate betn 2 processes running on
different system in a network
7. Character special file:(c):handles only characted
formatted data
eg.stdin, stdout, stderr

Is This Answer Correct ?    50 Yes 9 No

how many types of file in unix?..

Answer / guest

Three Types.

Is This Answer Correct ?    46 Yes 20 No

how many types of file in unix?..

Answer / dinu

7 types of files are present in unix

Is This Answer Correct ?    31 Yes 19 No

how many types of file in unix?..

Answer / bhanu

1) Ordinary file
2) Directory File
3) Device file

Is This Answer Correct ?    11 Yes 3 No

how many types of file in unix?..

Answer / visakh

b - block special file (/devices/isa/fdc@1,3f0/fd@0,0:c)
c - character special file (/dev/fd/0)
d - directory (/)
D - door (/var/run/name_service_door)
p - plain file (/etc/cron.d/FIFO)
l - link (/proc/449/path/4)
s - symbolic link (/var/run/.inetd.uds)
f - fifo (/export/home/xtreme4/.bash_history)

Is This Answer Correct ?    11 Yes 7 No

how many types of file in unix?..

Answer / visakh

" Sorry about the previous post "

- - plain file
b - block special file (/devices/isa/fdc@1,3f0/fd@0,0:c)
c - character special file (/dev/fd/0)
d - directory (/)
D - door (/var/run/name_service_door)
p - pipe (/etc/cron.d/FIFO)
l - link (/proc/449/path/4)
s - socket file (/var/run/.inetd.uds)
f - fifo (/export/home/xtreme4/.bash_history)

Is This Answer Correct ?    9 Yes 5 No

how many types of file in unix?..

Answer / abhishek dilliwal

7 types as mentioned earlier..
to see it just do this.

$file FileName

or

$file *
this will tell u the types of file in current directory

Is This Answer Correct ?    12 Yes 8 No

how many types of file in unix?..

Answer / shimpi goyal

Six types are there :
1) regular file ( binary or data )
2) directory
3) executable file
4) symbolic link
5) Device file
6) Named pipe

Is This Answer Correct ?    5 Yes 3 No

how many types of file in unix?..

Answer / manish

1. Regular file:(-):contains data in either text format or
binary format
2. Directory file:(d):contains entries of files
3. FIFO file:(f):2 communicate betn 2 processes running on
same system
4. Block special file:(b):name given 2 special blocks of
hard disk
5. Sybolic file:(l):its a link or pointer to already
existing file
6. Socket file:(s):2 communicate betn 2 processes running on
different system in a network
7. Character special file:(c):handles only characted
formatted data
eg.stdin, stdout, stderr

Is This Answer Correct ?    5 Yes 3 No

how many types of file in unix?..

Answer / rajesh

Which one is the correct Answer in the above
posted ????????

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More Unix Commands Interview Questions

What is grep and how do you use it?

0 Answers  


Write a grep (or grep) command that selects the lines from a file that have exactly three characters.

24 Answers   Mac, Nokia,


what will this do $cat > file.c ?(file.c is a file in current directory)

20 Answers   IBM,


Who command in unix operating system?

0 Answers  


Which command is used to kill the last background job?

0 Answers  






If JFS file system is 100% full how we can increase the file system ?

3 Answers  


How we will execute previous command in vi editor?

3 Answers   IBM, Infosys,


What command would users use to see what file one page at a time in UNIX?

7 Answers   IBM,


What are bash commands?

0 Answers  


1-how will you display a file whose name is starting with '- '? 2-how will you add a patten at end of every line in vi editor?

7 Answers  


Which command is used to create a directory?

0 Answers  


how to find largest file?

14 Answers   HCL, Microsoft, Thomson Reuters,


Categories