chkconfig — View Service Runlevel Settings

chkconfig was commonly used on older Linux distributions to view and manage which services start at different runlevels. On many modern systems, systemctl has replaced it. List service settings Modern systemd equivalent Use chkconfig mainly when working with older Red Hat, CentOS or similar systems that still use the older service model.

Mount NTFS Drives in Linux

Linux can read and write NTFS drives using the NTFS driver available in modern distributions. This is useful when accessing Windows partitions or external drives. Identify the device Confirm the device name and filesystem type before mounting. Do not guess device names. Create a mount point Mount the NTFS drive Replace /dev/sdXN with the correct … Read more

Safely Unmount a Busy CD or Removable Filesystem

If umount reports that a CD, USB drive, or other removable filesystem is busy, first find out which process is still using the mount point. Killing processes blindly can cause data loss or interrupt unrelated work. Find what is using the mount fuser -vm /mount/point lsof +D /mount/point Close shells, file managers, editors, or applications … Read more

lspci: List PCI Devices in Linux

lspci shows PCI buses and devices detected by Linux. It is useful for identifying network adapters, storage controllers, graphics devices, USB controllers, and other PCI hardware. Common commands lspci lspci -v lspci -vv lspci -nn lspci -k -v and -vv show increasing detail. -nn includes numeric vendor and device IDs. -k shows the kernel driver … Read more