How do you check hard drive health on Linux?
Using smartctl -a /dev/sda or smartmontools to read S.M.A.R.T logs.
What Linux command lists hardware components?
lshw, lspci, lsblk, or lscpu.
How do you kill a “zombie” process in Linux?
You cannot directly kill a zombie (it is already dead). You must kill its parent process using kill -9 <parent_pid>.</parent_pid>
What command shows network interface configuration?
ip addr or ifconfig.
What is the function of /etc/resolv.conf?
It contains DNS server information for resolving hostnames.
How do you run a bash script at 8 PM daily?
Using cron jobs (crontab -e).