Latest Qualification Jobs

Check Your Email To Activate the Confirmation Link

Unix Interview Questions And Answers For Freshers/Exp (Updated 2019)

Unix Interview Questions And Answers

Check Updated Unix Interview Questions And Answers for 2019 from here!! Here we have brought Most Commonly Asked Interview Question and Answers for UNIX Operating System. Given Unix Interview Questions For Production Support, testing, freshers and Unix Shell Scripting Interview Questions And Answers help you to avail complete knowledge related to this computer operating system as well as in giving answers in Interview also. So what are you waiting for? Go ahead and check Unix Interview Questions and Answers for Experienced from here.

Unix Interview Questions And Answers

Unix Interview Questions And Answers For Freshers/Experienced

Question1) What Is The Description For Kernel?

Ans) Kernel is the master program with UNIX operating system that controls the resources of the computer. The resources allocation to different users and tasks handle by this section. Kernel do not have direct communication with the user and it starts separate interactive program call shell to each user when login to the system.

Question2) What Is A Single User System?

Ans) A personal computer with an operating system which was designed to operate by a single user at a given time. Single user system becomes more popular since low-cost hardware and availability of wide range of software to perform difference tasks.

Question3) What Are The Main Features Of UNIX?

  • Machine independent
  • Portability
  • Multi-user operations
  • Unix Shells
  • Hierarchical file system
  • Pipes and filters
  • Background processors
  • Utilities
  • Development tools.

Read More: Interview Questions and Answers

Question4) What Is Called Shell?

Ans) The interface between user and system called a shell. Shell accepts commands and set them to execute for user operations.

Question5) What Are The Responsibilities Of A Shell?

  • Program Execution
  • Input/output redirection
  • Filename and variable substitution
  • Pipeline hookup
  • Environment control
  • Integrated programming language

Question6) What Is The General Format Of UNIX Command Syntax?

Ans) In general consideration, UNIX shell commands follows the following pattern

Command (-argument) (-argument) (-argument) (file name)

Question7) Describe the usage and functionality of the command “rm –r *” in UNIX?

Ans) The command “rm –r *” is a single line command to erase all files in a directory with its subdirectories.

“rm” – Is for deleting files.

“-r” – Is to delete directories and subdirectories with files within.

“*” – Is indicate all entries.

Must Read: Interview Tips For Freshers

Question8) Describe The Term Directory In UNIX?

Ans) A specialized form of a file that maintains a list of all the files which include in it is called a directory. Each file assigns to a directory.

Question9) Specify The Difference Between Absolute Path And Related Path?

Ans) Absolute path refers to the exact path as defined from the root directory. Related path refers to the path related to the current locations.

Question10) What Is The UNIX Command To List Files/Folders In Alphabetical Order?

Ans) The ‘ls –l’ command is used to list down files and folders in alphabetical order. When you use ‘ls –lt’ is list down files /folders sorted with modified time.

Question11) Describe Links And Symbolic Links In UNIX?

Ans) The second name for a file called a Link. It is used to assign more than one name for a file. It is not valid to assign more than one name to a directory or to link filenames on different computers.

General command ‘– ln filename1 filename2′

A symbolic link is the files that use to contain only the name of other files include in it. Directed to the files pointed by it is the operation of the symbolic link.

General command ‘– ln -s filename1 filename2′

Check Now: Job Interview Do’s and Don’ts

Question12) What is the FIFO?

Ans) FIFO (First In First Out) is also called named pipes and it is a special file for date transient. Data is read only in the written order. This is use to inter-process communications, where data write to one end and reads from another end of the pipe.

Question13) Describe Fork() System Call?

Ans) The command use to create a new process from an existing process is called fork().The main process is called parent process and new process id called child process. The parent gets the child process id returned and the child gets 0. The returned values are used to check which process which code executed.

The returned values are used to check which process which code executed.

Question14) Explain The Following Sentence?

It is not advisable to use root as the default login.

Ans) The root account is very important and it can leads to system damage easily with abusive usage. So that the securities that normally apply to user accounts are not applicable to the root account.

Question15) What Is Mean By Super User?

Ans) The user with access to all files and commands within the system is called super user. Generally, super user login is to root and the login is secured with the root password.

Read Also: Common Interview Mistakes

Question16) What Is Process Group?

Ans) A collection of one or more processes is called process group. There is a unique process id for each process group. The function “getpgrp” returns the process group ID for the calling process.

Question17) What Are The Different File Types Available With UNIX?

  • Regular files
  • Directory files
  • Character special files
  • Block special files
  • FIFO
  • Symbolic links
  • Socket

Question18) What Is The Behavioral Difference Between “CMP” And “Diff” Commands?

Ans) Both commands for file comparison.

  • CMP – Compare given two files with byte by byte and display the first mismatch.
  • Diff – Display changes that need to done to make both file identical.

Question19) What Are The Duties Of Following Commands?


  1. CHMOD – Change the permission set of the file.
  2. CHOWN – Change ownership of the file.
  3. CHGRP – Change group of the file.

Question20) Explain the method of changing file access permission?

Ans) There are three sections to consider when creating/changing file access permission.

  • File owner’s user ID
  • File owner’s group ID
  • File access mode to define

These three parts arrange as follows.

(User permission) – (Group permission) – (other permission)

Three types of permission can define.

  • r – Reading permission
  • w – Writing permission
  • x – Execution permission

Get Best Answer: How To Dress For An Interview


UNIX is a computer operating system was developed at AT&T Bell Labs, Murray Hills, New Jersey in 1969.Unix is a portable operating system that allows running on different hardware systems as well as serves as stable, multi-user, multitasking set of programs that links the computer with users.

It is a portable operating system that is designed for both efficient multi-tasking and multi-user functions. Its portability allows it to run on different hardware platforms. It was written is C and lets user do processing and control under a shell.

Significant Note:

We hope that you are satisfied with the content provided on this page regarding to Unix Interview Questions and Answers. You may subscribe to our free mail service to get instant mails in your mail box or follow us on facebook and twitter.

Something That You Should Put An Eye On

Why Should We Hire You-Get Best AnswersHow to Write a Good Resume
Interview Preparation TipsInterview Preparation Tips for getting a Job
Difference Between Resume And CVHow to Prepare For an Interview
Self Introduction In Interview11 Best Tips to Prepare for a Job Interview

Filed in: Interview

Leave a Reply

Submit Comment