Interview Questions And Answers

Q: - How are devices represented in UNIX?

All devices are represented by files called special files that are located in /dev directory.

Submitted By:-Jack            Email-ID: - jackj1065@gmail.com

Q: - What is 'inode'?

All UNIX files have its description stored in a structure called 'inode'. The inode contains info about the file-size, its location, time of last access, time of last modification, permission and so on. Directories are also represented as files and have an associated inode.

Submitted By:-Jack             Email-ID: -jackj1065@gmail.com

Q: - What are the process states in Unix?

As a process executes it changes state according to its circumstances. Unix processes have the following states:

Running : The process is either running or it is ready to run .
Waiting : The process is waiting for an event or for a resource.
Stopped : The process has been stopped, usually by receiving a signal.
Zombie : The process is dead but have not been removed from the process table.

Submitted By:-Jack             Email-ID: - jackj1065@gmail.com

 

1
2