1/82
Looks like no tags are added yet.
cd
Changes the current directory.
dir
Lists files and folders in the current directory
md / mkdir
Creates a new directory.
rmdir / rd
Removes an empty directory.
copy
Copies individual files or all files inside a single folder. It cannot copy subdirectories/folders.
xcopy
Copies files and entire directory trees (folders and subfolders).
robocopy
Designed for massive transfers, backups, and unstable network connections. It resumes interrupted transfers, preserves NTFS permissions/attributes, and supports multithreading.
format
Prepares a drive or partition with a file system.
diskpart
Command-line utility for managing disks and partitions.
ipconfig
Displays IP configuration.
ping
Tests basic network connectivity to a host or IP
tracert
Traces the route packets take to a destination.
pathping
Combines ping and tracert to show routing and packet loss/latency per hop.
nslookup
Queries DNS to troubleshoot name resolution.
netstat
Displays active connections, listening ports, and network statistics.
net use
Connects or disconnects mapped network drives/shared resources.
sfc /scannow
Scans and repairs corrupted protected Windows system files.
chkdsk
Checks file system integrity and disk errors
dism
Prepares and modifies Windows system images.
gpupdate
Updates Group Policy settings
gpresult
Displays applied Group Policy results.
shutdown
Shuts down, restarts, or aborts a shutdown
tasklist / taskkill
Lists running processes and ends them by PID or image name
net user
Manages local user accounts.
ls
Lists files and folders in the current directory
pwd
Prints the working directory
cp
Copies files or directories
cd ..
Moves you up one level to the parent directory in both Windows Command Prompt and Linux/macOS terminals.
mv
Moves files/folders or renames them.
rm
Removes (deletes) files
rmdir
Removes an empty directory.
cat
Concatenates and displays the contents of a text file in the terminal.
find
Searches for files and directories based on criteria like name, size, or date.
grep
Searches inside files or command output for matching text strings or patterns.
dd
Data duplicator—performs low-level copying and cloning of raw disk partitions, drives, or ISO images.
chmod
Changes mode
chown
Changes ownership of a file or directory to a specific user and/or group.
sudo
Superuser do—runs a single command with administrative (root) privileges.
su
Substitute/switch user—switches the active terminal session to another user account (defaults to root if no username is given).
passwd
Changes a user's password.
ps
Process status—displays a static snapshot of currently running processes and their Process IDs (PIDs).
top
Displays a live, real-time list of active processes and CPU/memory usage.
kill
Terminates a running process by its PID (e.g., kill 1234 or kill -9 1234 to force-kill).
df
Disk free—displays available and used disk space on mounted file systems (df -h shows sizes in human-readable GB/MB).
shutdown
Shuts down or restarts the system
apt-get (or apt)
Package management tool used to install, update, and remove software on Debian/Ubuntu-based systems.
yum (or dnf)
Package management tool used on Red Hat/Fedora-based systems.
nano
A beginner-friendly, straightforward command-line text editor.
vi
A powerful, modal command-line text editor found on almost all Unix/Linux systems.
man
Opens the manual page
chkdsk /f
Fixes file system errors on the disk.
chkdsk /r
Locates bad sectors and recovers readable information (automatically includes /f).
shutdown /s
Shuts down the computer.
shutdown /r
Restarts the computer.
shutdown /a
Aborts a scheduled shutdown.
shutdown /t
Sets a time-out period in seconds before shutting down.
shutdown /f
Forces running applications to close without warning.
copy /v
Verifies that new files are written correctly.
copy /y
Suppresses confirmation prompts ("Yes" to overwrite existing files).
xcopy /s
Copies subdirectories (excluding empty ones).
xcopy /e
Copies all subdirectories, including empty ones.
xcopy /y
Suppresses confirmation prompts ("Yes" to overwrite existing files).
robocopy /s
Copies subdirectories (excluding empty ones).
robocopy /e
Copies all subdirectories, including empty ones.
robocopy /z
Copies files in restartable mode (resumes if interrupted).
dir /p
Pauses after each screen of information.
dir /w
Displays results in wide list format.
dir /a
Shows files with specific attributes
dir /s
Lists files in the current directory and all subdirectories.
cd /d
Changes both the drive and the directory at the same time
rmdir /s
Removes a directory tree (subdirectories and all files inside it).
rmdir /q
Quiet mode—skips asking "Are you sure?" when deleting a folder tree.
taskkill /f
Forcefully terminates a process.
netstat /a
Displays all active connections and listening ports.
netstat /n
Displays addresses and port numbers in numerical form.
netstat /o
Displays the owning Process ID (PID) for each connection.
ls -l
Long listing format (shows permissions, owner, size, and date).
ls -a
Shows all files, including hidden files starting with a dot (.).
rm -r
Recursively deletes a folder and everything inside it.
rm -f
Forcefully deletes files without prompting.
cp -r
Recursively copies a directory and its contents.
df -h
Displays disk free space in human-readable sizes (GB/MB).
ps -e
Shows running processes for everyone / all users.