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

Find Files in Linux with find and locate

Linux has two common ways to search for files: find, which searches the filesystem directly, and locate, which searches a prebuilt filename database. Use find for current results find /path -name ‘filename’ find /path -iname ‘*.log’ find reflects the current filesystem state and supports filters for type, size, owner, modification time, permissions, and more. Use … Read more

Check Linux Partitions and Filesystems

Before mounting, resizing or troubleshooting storage, first check how disks, partitions and filesystems are arranged on the system. List block devices Show filesystem types Check mounted filesystems These commands are safer first steps than editing partition tables directly. Confirm the device name carefully before running any command that changes storage.