eject — Eject the removable media

Linux is included in 11th std Computer Science syllabus in Tamil Nadu.
Linux Users Groups should help the Teachers and Students to understand
the Linux and FOSS concepts.

One Day One Command
===================

eject — Eject the removable media

Summary:

Eject allows removable media (like CD-ROM, Floppy, Tape, JAZ, ZIP) to

be ejected under software control. The command can also control some

multi-disc CD-ROM changers, the auto-eject feature supported by some

devices, and close the disc tray of some CD-ROM drives.

Read more

su — Run a Shell as Another User

su starts a shell as another user. It is commonly used to switch to the root account or to test commands under a different account. Switch to another user su – username The hyphen starts a login shell, so the target user’s environment is loaded. Switch to root su – This normally asks for the … 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

adjtimex: Inspect Linux Kernel Time Parameters

adjtimex exposes low-level Linux kernel timekeeping parameters. It is mainly useful for diagnostics, experimentation, and older time-synchronisation workflows; most systems should use a supported time service such as chrony or systemd-timesyncd for normal clock synchronisation. Inspect current parameters adjtimex -p This displays kernel time variables such as tick and frequency adjustments. Use caution when changing … 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