how many types of file in unix?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the unix command to confirm a remote host is alive or not?

594


What do know about tee command and its usage?

592


What is grep short for?

561


What is command substitution?

627


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

650






What are file commands?

657


How do I use grep to find a file?

583


What command is used to check the current users?

598


How do I find previous commands in unix?

600


What is grep r?

598


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:

1769


What does sed command do in unix?

568


What is sed awk grep?

609


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

652


What are some command words?

570