Most Commonly Used BASH Commands Flashcards
unshar
Unpack shell archive scripts.
kill
Terminate a process.
tail
Output the last part of files.
tee
Read from standard input and write to standard output and files.
file
Determine file type.
od
Dump files in octal and other formats.
fc
Fix command; list or edit and re-execute commands from the history list.
at
Schedule one-time tasks.
last
Show listing of last logged-in users.
lscpu
Provides detailed information about the CPU architecture, useful for understanding resources available for data processing tasks.
ssh-keygen
Used for SSH key generation, essential for securely connecting to remote servers in tasks involving big data or distributed computing.
factor
Display the prime factors of a number.
ftpwho
Show current process information for FTP connections.
telnet
User interface to the TELNET protocol.
awk
A full-fledged scripting language often used as a command-line tool for text/data extraction and reporting.
patch
Apply a diff file to an original.
dd
Convert and copy a file.
mv
Move files or directories.
fold
Wrap each input line to fit in specified width.
passwd
Change user password.
tftp
Trivial File Transfer Protocol client.
curl
Transfer data from or to a server.
scp
Secure copy (remote file copy program).
set
Set shell options.
df
Report file system disk space usage.
dirs
Display the list of currently remembered directories.
shred
Overwrite a file to destroy its contents.
ip
Show/manipulate routing, network devices, interfaces, and tunnels.
uniq
Remove duplicate lines from a sorted file.
swapon
Enable device or file for paging or swapping.
free
Display memory usage.
netstat
Network statistics.
csplit
Split a file into sections determined by context lines.
groups
Print the groups a user is in.
zip, unzip
Package and unpack zip archives.
swapoff
Disable device or file for paging or swapping.
source
Run commands from a file in the current shell.
umount
Unmount a filesystem.
join
Join lines of two files on a common field
bc
An arbitrary precision calculator language.
unset
Remove variable or function names.
ls
List directory contents.
bzip2
A block-sorting file compressor.
unrar
Extract files from a RAR archive.
dialog
Display dialog boxes from shell scripts.
sum
Compute and check checksums.
ifconfig
Display or configure a network interface.
vdir
Verbosely list directory contents (ls -l -b).
nm
List symbols from object files.
vmstat
Report virtual memory statistics.
rm
Remove files or directories.
uname
Display system information.
tmux
Terminal multiplexer that allows you to easily switch between several programs in one terminal, detach them, and reattach them.
nslookup
Query DNS.
dos2unix
Convert text files from DOS to UNIX format.
strace
Trace system calls and signals.
printenv
Print all or part of the environment.
gzip
Compress or decompress named files.
pr
Convert text files for printing.
ping
Test a network connection.
host
DNS lookup utility.
pwd
Print the current directory.
fmt
Simple text formatters.
screen
Multiplex terminal, run remote shells via ssh.
sftp
Secure file transfer program.
seq
Generate a sequence of numbers.
gdisk
Disk partitioning tool, useful for setting up storage optimized for data tasks.
mkdir
Create a new directory.
ps
Display current processes.
symlink
Create a symbolic link to a file.
who
Show who is logged on.
sed
Stream editor for filtering and transforming text.
watch
Run a command repeatedly and display the results.
jot
Generate sequential or random data.
ftp
File Transfer Protocol client.
tac
Concatenate and print files in reverse.
ar
Create, modify, and extract from archives.
stat
Display detailed information about a file.
tty
Print the filename of the terminal connected to standard input.
hexdump
Display file in a readable format.
cd
Change the current directory.
expand
Convert tabs to spaces.