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 |
Name the various commands that are used for the user information in unix.
Which unix command to make a new directory?
What is {} in find command?
How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.
what is the default permission for /etc/shadow file in UNIX
What command will change your prompt to myprompt?
How do I run a whois command?
Sorry to all Technical person for mistake of Question. Now i am post currect question Why copied file permission is changed in destination. When i give all permission i.e 777 to file and copy that to other location in destination the permission is 755. But if give permission 555 in destination that file permission is 555 and if give permission 444 to file after copy in destination the file permission is 444. These all are happening in normal user. How the umask value is calculate here really i am not understand. Please write the proper answer. Thanks in Advance
Is grep faster than awk?
What are the differences among a system call, a library function, and a unix command?
How to get the last ten lines of a file using awk utility?
What is the difference between awk and grep?