Linux Interview Questions (Beginner → Intermediate)
On Sale
$4.00
$4.00
🐧 Linux Interview Questions (Beginner → Intermediate)
🔹 Basic Linux Questions
- What is Linux?
- Difference between Linux and Windows
- What is a Linux distribution? Name a few.
- What is the Linux kernel?
- What is a shell?
- What are the most common Linux shells?
- What is the root user?
- What is the home directory?
- Difference between / and /root
- What is the purpose of /etc directory?
🔹 File & Directory Commands
- What does ls do?
- Difference between ls -l and ls -a
- What is the use of pwd?
- How do you create and delete files?
- Difference between rm and rm -rf
- What is cp vs mv?
- What does touch do?
- How do you view file contents?
- Difference between cat, less, and more
- What is head and tail?
🔹 Permissions & Ownership
- What are Linux file permissions?
- What does rwx mean?
- What is chmod?
- Difference between numeric and symbolic permissions
- What is chown?
- What is chgrp?
- What is umask?
- What is SUID, SGID, and sticky bit?
🔹 Process Management
- What is a process?
- Difference between process and thread
- What does ps command do?
- What is top?
- Difference between top and htop
- What is kill?
- What is kill -9?
- What is a daemon process?
- What does nice do?
🔹 Disk & File System
- What is a filesystem?
- Difference between ext4 and xfs
- What does df show?
- What does du show?
- What is mounting?
- What is /etc/fstab?
- Difference between hard link and soft link
- What is inode?
🔹 Networking
- What is an IP address?
- Difference between TCP and UDP
- What does ifconfig or ip a do?
- What is ping?
- What is netstat or ss?
- What is SSH?
- Default SSH port
- What is SCP?
- What is firewall in Linux?
🔹 Package Management
- What is a package manager?
- Difference between apt, yum, and dnf
- How do you update a system?
- What is a repository?
- What is rpm?
- What is dpkg?
🔹 Text Processing
- What is grep?
- Difference between grep and egrep
- What is sed?
- What is awk?
- What is a pipe (|)?
- What is redirection (> and >>)?
🔹 Boot & System
- What happens during Linux boot?
- What is GRUB?
- What is systemd?
- What is systemctl?
- Difference between service and process
- What is runlevel / target?
🔹 Environment & Variables
- What is an environment variable?
- Difference between $PATH and $HOME
- How do you set a variable?
- What is .bashrc?
- What is .bash_profile?
🔹 Logs & Troubleshooting
- Where are system logs stored?
- What is journalctl?
- How do you check disk space issues?
- How do you find large files?
- How do you troubleshoot high CPU usage?
🔹 Scenario-Based Questions (Very Important)
- A server is slow. How do you troubleshoot?
- Disk is full. What steps do you take?
- A service is not starting. What do you check?
- How do you find which port a process is using?
- How do you schedule a task in Linux?
- Difference between cron and at
- How do you change the hostname?
- How do you secure SSH?
🔹 Linux + DevOps / Security (Bonus)
- What is Docker in Linux?
- What is SELinux?
- What is AppArmor?
- Difference between SELinux and firewall
- What is sudo?
- Why Linux is preferred for servers?
- What is bash scripting?
- What is a shebang (#!)?
- What is CI/CD?
- Why Linux is important for cybersecurity?