how many types of file in unix?

Answers were Sorted based on User's Feedback



how many types of file in unix?..

Answer / narendra simha talluri

Above answer #3 is an example for file command

$file /bin /bin/ed /usr/src/cmd/ed.c /usr/man/man1/ed.1

/bin : directory
/bin/ed : pure executable
/usr/src/cmd/ed.c : c program text
/usr/man/man1/ed.1 : roff, nroff, or eqn input text

so these are the four fairly typical files( what i explained earlier )

Is This Answer Correct ?    7 Yes 15 No

how many types of file in unix?..

Answer / narendra simha talluri

There are fairly 4 typical files, all related to editor:

1. the directory in which it recides(\bin)
2.the "binany" or runnable program itself(/bin/ed)
3.the "source" or C statement that define the program(/usr/src/cmd/ed.c) and
4.the manual page( /usr/man/man1/ed.1)

Is This Answer Correct ?    7 Yes 17 No

how many types of file in unix?..

Answer / bill gates

actually there is no file types

Is This Answer Correct ?    8 Yes 20 No

how many types of file in unix?..

Answer / mozilla

only 3 types

1. stdin
2. stdout
3. stderr

Is This Answer Correct ?    5 Yes 17 No

Post New Answer

More Unix Commands Interview Questions

What are filter commands in unix?

0 Answers  


How do I use grep to find a file?

0 Answers  


Assume that a file’s permissions give you read and write access. What operations can you perform on the file if it is in a directory which has “r”(read) only process? What operations can you perform on the file if it is in a directory which has “x”(execute) only access?

1 Answers  


what is virtual machine?

2 Answers   Infosys,


What is use of sed command?

12 Answers   BitWise, Infosys, Reliance,






what are the different commands used to view the contents of a file?

5 Answers  


Differentiate cat command from more command.

0 Answers  


Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 Answers  


what is the difference between commmands cmp and diff?

9 Answers   iNautix,


How can you see the command line history?

0 Answers  


Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be highly appreciated...

27 Answers   CGI,


Does cp command overwrite files?

0 Answers  


Categories