DEV Community

Cover image for Top 30 most asked Linux Questions in Interviews.
Piyush Kumar Singh
Piyush Kumar Singh

Posted on

Top 30 most asked Linux Questions in Interviews.

Reference : Linux

  1. What does the ls command do?

  2. What is the command to display the current directory?

  3. How do you create a new directory in Linux?

  4. What is the command to copy files or directories?

  5. How do you move or rename files in Linux?

  6. What is the command to delete files or directories?

  7. How can you view the contents of a file in Linux?

  8. What does the touch command do?

  9. How do you find files in the filesystem using the command line?

  10. How do you change the permissions of a file in Linux?

  11. What is the command to change the owner of a file?

  12. How do you change the group ownership of a file?

  13. What do the ‘r’, ‘w’, and ‘x’ permissions mean?

  14. What does the chmod 755 filename command do?

  15. How do you check your network configuration in Linux?

  16. What is the command to display network interfaces?

  17. How do you test network connectivity in Linux?

  18. What command is used to display routing table information?

  19. How do you download files from the internet using the command line?

  20. How do you view running processes in Linux?

  21. What command is used to kill a process?

  22. How do you see the resource usage of a system?

  23. What does the top command do?

  24. How do you start a process in the background?

  25. How do you sort the contents of a file?

  26. What is the command to count lines, words, and characters in a file?

  27. How do you display the first 10 lines of a file?

  28. What does the awk command do?

Other References :

Java8 : Link
Advance Java : Link
Core Java : Link
Java OOP's : Link
Spring Boot : Link
Advanced Spring Boot : Link
Linux : Link
ReactJS : Link
API : Link
OS : Link
NodeJS : Link
Python : Link
HTML : Link

Image description

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →