how many types of file in unix?
Answers were Sorted based on User's Feedback
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 |
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 |
What are filter commands in unix?
How do I use grep to find a file?
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?
what is virtual machine?
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
what are the different commands used to view the contents of a file?
Differentiate cat command from more command.
Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?
what is the difference between commmands cmp and diff?
How can you see the command line history?
Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be highly appreciated...
Does cp command overwrite files?