how many types of file in unix?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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:

1764


What is the general format of unix command syntax?

694


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

583


What is the first character of the output in ls l command?

637


What is the command to find hidden files in the current directory?

586






What are awk commands?

586


Which command will print your home directory on screen?

546


What do chmod, chown, chgrp commands do?

641


Does cp command overwrite files?

626


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

594


What is the use of awk command in unix?

581


What does the metacharacter mean?

612


Which command can you use to find the currently running process in unix server?

589


What are grep patterns?

579


what is the advaantage of each user having its own copy of the shell?

2038