All Articles
Browse all Linuxize tutorials, guides, and references.
smartctl Command in Linux: Check Disk Health with SMART
Use smartctl in Linux to check SMART health, read disk attributes, run self-tests, troubleshoot USB enclosures, and monitor NVMe wear.

How to Generate a Random Password or String in Linux
Generate random passwords and strings in Linux with openssl rand, /dev/urandom, pwgen, and Python. Choose hex, Base64, URL-safe tokens, or passphrases.

Fix npm E401: Unable to Authenticate
npm E401 means the registry rejected your credentials. Fix expired or revoked tokens, registry and scope mismatches, and broken .npmrc auth entries.

echo Command in Linux: Print Text and Variables
Print text, variables, script arguments, and exit codes with echo in Linux, plus escape sequences, colored output, and the quoting pitfalls to avoid.

whoami Command in Linux: Display the Current User Name
The whoami command prints the effective user name on Linux. Covers sudo and su, root checks in scripts, and how it compares to id -un, $USER, and logname.

Ubuntu Release Cycle: LTS, Interim, and Point Releases Explained
Ubuntu release dates and support timelines for LTS and interim versions. See what 26.04.1 changes, how long Ubuntu Pro extends support, and when to upgrade.

How to Remove a Symbolic Link (Symlink) in Linux
Remove symbolic links in Linux with rm, unlink, or find. Clean up broken symlinks and avoid the trailing-slash trap that can remove target directory contents.

nano Save and Exit: Save Files and Quit the Editor
Save and exit nano with Ctrl+O and Ctrl+X, save instantly with Ctrl+S, quit without saving, use a new filename, and fix permission errors.

Bash Best Practices: Writing Safer, Cleaner Scripts
Practical Bash best practices for writing safer and more predictable scripts, covering strict mode, quoting, error handling, and everyday patterns.

How to Extract (Unzip) Tar Bz2 File
Extract tar.bz2 and .tbz2 archives with tar, decompress plain .bz2 files with bunzip2, and fix the lbzip2 Cannot exec error when bzip2 is not installed.

How to Install Git on Raspberry Pi
Install and configure Git on Raspberry Pi OS using apt or build the latest version from source. Includes configuration steps, troubleshooting, and FAQ.

su Command in Linux: How to Switch Users
Use the su command to switch users, open a root login shell, and run commands as another account. Includes options, sudo su, troubleshooting, and examples.

Rust Coreutils in Ubuntu 26.04: What uutils Changes for Shell Scripts
Ubuntu 26.04 runs uutils for stat, ln, chown, and more. See what breaks in shell scripts, how to call the GNU tools, and how to switch back.

Fix "E: Unable to Locate Package" on Ubuntu and Debian
Fix the APT Unable to locate package error on Ubuntu and Debian by refreshing the package index and checking the package name, release, and repository.

How to Delete Lines in Vim / Vi
Delete lines in Vim or Vi with dd, :%d, visual mode, or :g/pattern/d. Examples for single lines, ranges, all lines, and pattern-based deletion.

How to Remove or Delete a Directory in Linux
Remove a directory in Linux with rmdir for empty folders, rm -rf for non-empty ones, or find for bulk deletion. Examples and common errors.

Grep Command in Linux with Examples
The grep command searches files for text patterns. Quick examples for case-insensitive, recursive, whole-word, regex, and context-line searches.

How to Install Node.js and npm on Ubuntu 22.04
Three ways to install Node.js and npm on Ubuntu 22.04: NodeSource for Node.js 26 LTS, nvm for multiple versions, and the default Ubuntu packages.

How to Install Node.js and npm on Ubuntu 24.04
Install Node.js 26 LTS or Node.js 24 and npm on Ubuntu 24.04 with apt, the NodeSource repository, or nvm, including upgrade and uninstall steps.

How to Install Node.js and npm on Ubuntu 26.04
Set up Node.js 26 LTS and npm on Ubuntu 26.04 using NodeSource, nvm, or the Ubuntu repository, with steps for Node.js 24, upgrades, and removal.
