Author

Rohan Timalsina

Rohan Timalsina

at · 85 articles published

is a technical writer and Linux enthusiast who writes practical guides on Linux commands and system administration. He focuses on simplifying complex topics through clear explanations.

Areas of expertise

Author profile illustration for Rohan Timalsina — technical writer at GoLinuxCloud

Articles by Rohan Timalsina

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 Timalsina10 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

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 Timalsina13 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 Timalsina17 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 Timalsina21 min read
cheatsheet

ssh Command in Linux: Syntax, Options & Safe Local Examples

ssh is the OpenSSH client for encrypted remote login and command execution. It reads ssh_config, negotiates ciphers with the server, and supports port forwarding, jump hosts, and algorithm queries via ssh -Q.

Rohan Timalsina12 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