10 Useful Interview Questions and Answers on Linux Commands

Linux command Line and the interaction of users with Linux Shell with Linux Commands is the most wonderful part of Linux and is one of the most widely topic from interview point. Here in this article we are coming up with 10 wonderful questions that are important from the interview perspective and will surely add to yours knowledge base.

Linux Command Questions

1. How will you suspend a running process and put it in the background?

Answer :In order to suspend a running process/job and put it in the background we need to use the key combination Ctrl+z.

2. What are the minimum number of partitions required to install Linux and How will you check boot messages?

8. How to view the contents of the tar ball without extracting it. How will you do this?

9. What is page Fault and how it happens?

Answer :A program request for some data and if it is not available in the Memory it is called as page fault. Page Fault occurs as a result of program shutdown.

10. What are return codes in program?

Answer :A return code is the feature of Shell. The result of return code shows the status of a program. A successful program after execution returns ‘0’, && can be used to prioritize which application will be executing first.

That’s all for now. I’ll be here again with another interesting article soon. Till then stay tuned and connected to Tecmint. Don’t forget to provide us with your valuable feedback in the comment section below.

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

and on question 2, I suppose space is missed between / and root: /root :)
And regarding 2nd, cool thing about partitions I didn’t knew, will double check, but I think it has limitation on Partition Table, not just type of disk ;)