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

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

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