Unix Interview Questions

Last Updated: Nov 10, 2023

Table Of Contents

Unix Interview Questions For Freshers

What is the command to view the contents of a file in UNIX?

Summary:

Detailed Answer:

What are the advantages of using UNIX?

Summary:

Detailed Answer:

What is the purpose of a shell?

Summary:

Detailed Answer:

What is the default shell in UNIX?

Summary:

Detailed Answer:

How do you display the current date and time in UNIX?

Summary:

Detailed Answer:

What is the command to list all files and directories in the current directory in UNIX?

Summary:

Detailed Answer:

What is the command to create a new directory in UNIX?

Summary:

Detailed Answer:

How do you change directory in UNIX?

Summary:

Detailed Answer:

What is the command to copy a file in UNIX?

Summary:

Detailed Answer:

What is the command to delete a file in UNIX?

Summary:

Detailed Answer:

What is the command to delete a directory in UNIX?

Summary:

Detailed Answer:

What is the command to rename a file in UNIX?

Summary:

Detailed Answer:

What is the command to find files in UNIX?

Summary:

Detailed Answer:

What is a symbolic link in UNIX?

Summary:

Detailed Answer:

What is the command to create a symbolic link in UNIX?

Summary:

Detailed Answer:

What is UNIX?

Summary:

Detailed Answer:

How do you set environment variables in UNIX?

Summary:

Detailed Answer:

Unix Intermediate Interview Questions

What is the command to start a daemon process in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'grep' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'find' command in UNIX?

Summary:

Detailed Answer:

What is a shell script in UNIX?

Summary:

Detailed Answer:

What is the command to execute a shell script in UNIX?

Summary:

Detailed Answer:

What is a symbolic permission in UNIX?

Summary:

Detailed Answer:

What is the 'umask' command used for in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'sed' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'cut' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'tr' command in UNIX?

Summary:

Detailed Answer:

What is a daemon in UNIX?

Summary:

Detailed Answer:

What is a process in UNIX?

Summary:

Detailed Answer:

What is the command to view running processes in UNIX?

Summary:

Detailed Answer:

What is a pipeline in UNIX?

Summary:

Detailed Answer:

What is a wildcard in UNIX?

Summary:

Detailed Answer:

What is the command to concatenate files in UNIX?

Summary:

Detailed Answer:

What is the command to sort the contents of a file in UNIX?

Summary:

Detailed Answer:

What is the command to filter and display specific lines in a file in UNIX?

Summary:

Detailed Answer:

What is the command to count the number of lines in a file in UNIX?

Summary:

Detailed Answer:

What is the command to redirect output to a file in UNIX?

Summary:

Detailed Answer:

What is a signal in UNIX?

Summary:

Detailed Answer:

What is the command to send a signal to a process in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'awk' command in UNIX?

Summary:

Detailed Answer:

What is the difference between soft and hard links in UNIX?

Summary:

Detailed Answer:

Unix Interview Questions For Experienced

What is process substitution in UNIX?

Summary:

Detailed Answer:

What is a regular expression in UNIX?

Summary:

Detailed Answer:

What is the command to search and replace text in a file in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'xargs' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'tee' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'wc' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'find' command with '-exec' option in UNIX?

Summary:

Detailed Answer:

What is the command to search for files using regular expressions in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'nl' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'nohup' command in UNIX?

Summary:

Detailed Answer:

What are process groups and sessions in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'fg', 'bg', and 'jobs' commands in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'at' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'crontab' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'nice' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'renice' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'strace' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'traceroute' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'lsof' command in UNIX?

Summary:

Detailed Answer:

What is the purpose of the 'dd' command in UNIX?

Summary:

Detailed Answer: