Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Linux Interview Questions and Answers

Test your skills through the online practice test: Linux Quiz Online Practice Test

Related differences

Linux vs Unix

Ques 16. How do you find and kill a process using its port number?

The 'lsof' command can be used to find the process using a port, and 'kill' can be used to terminate it.

Is it helpful? Add Comment View Comments
 

Ques 17. What is the purpose of the 'grep' command with the '-v' option?

The '-v' option in 'grep' is used to invert the match, displaying lines that do not match the pattern.

Is it helpful? Add Comment View Comments
 

Ques 18. How do you recursively copy files and directories in Linux?

The 'cp' command with the '-r' or '-R' option can be used to copy files and directories recursively.

Is it helpful? Add Comment View Comments
 

Ques 19. What is the purpose of the 'awk' command in Linux?

'awk' is a powerful programming language mainly used for pattern scanning and processing.

Is it helpful? Add Comment View Comments
 

Ques 20. Explain the purpose of the 'iptables' command.

'iptables' is used to set up, maintain, and inspect the tables of IP packet filter rules in Linux.

Is it helpful? Add Comment View Comments
 

Most helpful rated by users:

©2025 WithoutBook