Blog

Latest Articles - Page 48

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Cloud: AWS, Azure, OpenStack, and hybrid cloud administration
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • Tools: Useful tools and utilities for productivity

3098 articles

Blog illustration with latest articles, tutorials, guides, and how-to content across Linux and DevOps topics
cheatsheet

cut Command in Linux: Extract Fields, Bytes & Practical Examples

cut prints selected bytes, characters, or delimiter-separated fields from each line of a file or pipeline. It is the fast first choice for usernames from /etc/passwd, CSV columns, and fixed-width snippets in shell …

Rohan Timalsina7 min read
cheatsheet

cmp Command in Linux: Compare Files Byte by Byte (Examples & Reference)

cmp compares two files byte by byte on Linux. It reports the first difference, supports silent exit codes for scripts, and can list every differing byte — unlike line-oriented diff.

Rohan Timalsina6 min read
cheatsheet

netstat Command in Linux: Syntax, Options & Practical Examples (Ubuntu)

netstat from net-tools prints active sockets, routing tables, interface counters, and protocol statistics on Linux. It is a legacy but still common tool for checking listening ports and connection states on Debian and …

Rohan Timalsina9 min read
cheatsheet

dmidecode Command in Linux: BIOS, Serial, Memory & CPU (Debian/Ubuntu)

dmidecode reads SMBIOS/DMI tables from firmware and prints hardware inventory: BIOS version, system vendor and serial, board, chassis, processor, and memory layout on Linux.

Rohan Timalsina8 min read
cheatsheet

dpkg Command in Linux: Syntax, Options & Practical Examples (Debian/Ubuntu)

dpkg is the low-level package manager for .deb archives on Debian and Ubuntu. It installs, removes, configures, and inspects packages in the local dpkg database without resolving repository dependencies.

Rohan Timalsina8 min read
cheatsheet

rpm Command in Linux: Syntax, Options & Practical Examples (RPM-Based Distros)

rpm is the low-level package manager for .rpm archives on RHEL, Fedora, Rocky Linux, and AlmaLinux. It installs, upgrades, erases, queries, and verifies RPM packages and maintains the local RPM database.

Rohan Timalsina9 min read
cheatsheet

nmap Command in Linux: Syntax, Options & Practical Examples (Ubuntu)

nmap (Network Mapper) discovers hosts, scans TCP and UDP ports, detects services and OS fingerprints, and runs NSE scripts. It is the standard CLI tool for network inventory and authorized security audits on Linux.

Rohan Timalsina12 min read
cheatsheet

grep Command in Linux: Search Text, Logs, and Command Output

grep prints lines that match a pattern in files or piped input. Use it to scan logs, filter command output, and count or list matches with GNU grep options.

Rohan Timalsina8 min read
cheatsheet

iotop Command in Linux: Syntax, Options & Practical Examples (Ubuntu)

iotop shows real-time disk read and write bandwidth per process and thread on Linux. It reads kernel I/O accounting so you can see which application is saturating storage during slowdowns.

Rohan Timalsina9 min read
cheatsheet

ip Command in Linux: Addresses, Links, Routes, and Troubleshooting

ip from iproute2 configures addresses, links, and routes on Linux. Subcommands ip addr, ip link, and ip route replace legacy ifconfig and route for day-to-day network inspection and temporary changes.

Deepak Prasad9 min read
cheatsheet

screen Command in Linux: Syntax, Sessions, Windows & Key Bindings

GNU screen is a terminal multiplexer that keeps shell sessions alive after disconnect, supports multiple windows in one session, and reattaches over SSH when the network drops.

Rohan Timalsina9 min read
cheatsheet

stress Command in Linux: Syntax, Options & Load Testing Examples

stress spawns worker processes that load CPU, virtual memory, disk I/O, and disk writes so you can test cooling, schedulers, and monitoring under synthetic pressure. It is not installed by default on Ubuntu — install the …

Rohan Timalsina8 min read
cheatsheet

traceroute Command in Linux: Syntax, Options & Route Tracing Examples

traceroute prints each router hop between your Linux host and a destination by sending probes with increasing TTL values and reporting round-trip times. On Ubuntu it ships as the modern traceroute.db implementation with …

Rohan Timalsina11 min read
cheatsheet

tcpdump Command in Linux: Capture Packets, Filters & Examples

tcpdump captures live network traffic or reads saved pcap files, applies BPF filters for TCP/UDP/ICMP and hosts, and prints or writes packets for troubleshooting and security review.

Rohan Timalsina16 min read
cheatsheet

tune2fs Command in Linux: Syntax, Options & ext4 Tuning Examples

tune2fs reads and changes tunable parameters on unmounted or read-only-safe ext2, ext3, and ext4 block devices — mount counts, check intervals, volume labels, UUIDs, reserved blocks, default mount options, and feature …

Rohan Timalsina12 min read
cheatsheet

rpmbuild Command in Linux: Syntax, Stages & RPM Package Examples

rpmbuild drives the RPM packaging pipeline from a .spec file — %prep, %build, %install, and binary or source RPM output. On Ubuntu, install the rpm package for rpmbuild; native Debian packages use dpkg-buildpackage …

Rohan Timalsina9 min read
cheatsheet

sudo Command in Linux: Syntax, Options & Practical Examples

sudo lets permitted users run commands as root or another account using rules in /etc/sudoers and /etc/sudoers.d/. It logs actions, caches credentials for a timeout, and supports non-interactive and environment-control …

Rohan Timalsina14 min read
cheatsheet

su Command in Linux: Syntax, Options & Practical Examples

su runs a shell or single command with another user and group ID. On Ubuntu it uses PAM for authentication; login mode (-) resets the environment and home directory like a real login.

Rohan Timalsina10 min read
cheatsheet

tee Command in Linux: Syntax, Options & Practical Examples

tee reads standard input and writes a copy to every named file while also sending the same bytes to standard output. Use it in pipelines when you want to save command output and still see it on the terminal.

Rohan Timalsina9 min read
cheatsheet

sar Command in Linux: Syntax, Options & Performance Reports (Ubuntu)

sar (System Activity Reporter) prints CPU, memory, disk, network, and load averages from live counters or files collected by sysstat under /var/log/sysstat. Install the sysstat package and enable data collection for …

Rohan Timalsina11 min read
cheatsheet

adduser Command in Linux: Syntax, Options & Practical Examples (Ubuntu/Debian)

On Ubuntu and Debian, adduser is a high-level wrapper that creates and manages local users and groups. It applies /etc/adduser.conf policy, then calls useradd and related tools to set home directories, shells, UID/GID, …

Rohan Timalsina16 min read
cheatsheet

ss Command in Linux: Syntax, Options & Socket Filtering (Ubuntu)

ss (socket statistics) from iproute2 lists TCP, UDP, UNIX, and other sockets on Linux — states, queues, processes, and filters — faster and richer than legacy netstat.

Rohan Timalsina12 min read
cheatsheet

top Command in Linux: Syntax, Options & Process Monitoring Examples

top shows a live summary of CPU, memory, and tasks, plus a sortable process list. Batch mode (-b) prints snapshots for scripts and logs without the interactive TUI.

Rohan Timalsina6 min read
cheatsheet

rsync Command in Linux: Syntax, Options & Sync Examples (Ubuntu)

rsync copies and synchronizes files locally or over SSH using a delta algorithm — only changed blocks are sent. Archive mode (-a) preserves permissions and timestamps; --delete mirrors removals; --dry-run previews …

Rohan Timalsina10 min read
cheatsheet

scp Command in Linux: Syntax, Options & Secure File Copy Over SSH

scp copies files and directories between hosts over SSH using the SFTP protocol by default. It supports recursion, bandwidth limits, identity keys, and ssh_config options on Ubuntu and most Linux systems.

Rohan Timalsina10 min read
cheatsheet

tar Command in Linux: Syntax, Options & Practical Examples

GNU tar bundles files and directories into a single archive and restores them later. Create with -c, list with -t, extract with -x, and add gzip, bzip2, xz, or zstd compression with -z, -j, -J, or -a.

Rohan Timalsina20 min read
cheatsheet

useradd Command in Linux: Syntax, Options & Examples

useradd is the low-level shadow-utils command that creates local Linux accounts in /etc/passwd, /etc/shadow, /etc/group, and /etc/gshadow. Use flags such as -m, -u, -g, -G, -s, and -e to control home directories, IDs, …

Rohan Timalsina10 min read
linux

Should You Disable Transparent HugePages on Linux? enabled, defrag, and madvise

Should you disable Transparent HugePages on Linux? Compare enabled always, madvise, and never, understand the defrag knob, see benchmark results for THP collapse and fork COW, and get workload-specific guidance for …

Deepak Prasad15 min read
linux

Do You Need Swap on Linux? How to Set vm.swappiness

Do you need swap on Linux? Learn when swap adds value under memory pressure, what happens without it (OOM killer), how vm.swappiness differs for servers and desktops, swapfile vs partition, and how to tune sysctl safely.

Deepak Prasad17 min read
linux

Ubuntu vs Linux Mint in 2026: Which Desktop Linux Should You Choose?

Compare Ubuntu 26.04 LTS and Linux Mint 22.3 in 2026: downstream Mint on Noble vs Canonical Ubuntu, GNOME vs Cinnamon, snap vs Flatpak policy, Mint tools, support timelines, hardware, developers, and which to install.

Deepak Prasad16 min read