Other Useful Commands

By admin, 27 April, 2025

badblocks - search a device for bad blocks

bind - bind a name to a socket

chdir - change current working directory

chroot - run command or interactive shell with special root directory

clear - sweep terminal screen

column - columnate lists

cut - remove sections from each line of files

dig - DNS lookup utility

dmesg - display the system message buffer

dmidecode - DMI table decoder

eject - eject removable media

exit - cause normal process termination

factor - primes, factor a number, generate large primes

fdisk - Partition table manipulator

finger - user information lookup program

free - display amount of free and used memory in the system

fsck - file system consistency check and interactive repair

grep - print lines matching a pattern

groups - show group memberships

gzip - compression/decompression tool

help - display help information

history - GNU History Library

hostname - set or print name of current host system

htop - interactive process viewer

iostat - report I/O statistics

killall - kill processes by name

last - indicate last logins of users and ttys

locate - find filenames quickly

login - log into the computer

logout - log out the session

lsof - list open files

mktemp - create a temporary file or directory

mount - filesystem change name space

nano - editor, an enhanced free Pico clone

netstat - show network status and statistics

nmap - Network exploration tool and security / port scanner

read - read from a file descriptor

set - change the options and positional parameters

scp - secure copy (remote file copy program)

screen - screen manager with VT100/ANSI terminal emulation

stat - display file status

passwd - modify a user's password

ping - send ICMP ECHO_REQUEST packets to network hosts

reboot - stopping and restarting the system

rsync - a fast, versatile, remote (and local) file-copying tool

scrot - command line screen capture utility

shutdown - close down the system at a given time

ssh - OpenSSH SSH client (remote login program)

sudo - execute a command as another user

swapon, swapoff - enable/disable devices and files for paging and swapping

sync - force completion of pending disk writes (flush cache)

tar - manipulate tape archives

telnet - user interface to the TELNET protocol

tcpdump - dump traffic on a network

tree - list contents of directories in a tree-like format

uname - display information about the system

unset - remove variable or function names

uptime - show how long system has been running

rev - reverse lines of a file

whatis - search manual page databases

which - locate a program file in the user's path

whoami - display effective user id

whois - domain name and network number directory service

wipe - securely erase files from magnetic media