Linux Shell Commands - Command Summary Flashcards
a2p
Creates a Perl script from an awk script.
ac
Prints statistics about user connection time.
access
A system function which checks real user’s permissions to access a file.
addgroup
Adds a new group to the system.
adduser
Adds a new user to the system.
agrep
Version of the grep utility which also matches approximate patterns.
alias
Creates another name for a command or command string.
apropos
Searches the manual pages for a keyword or regular expression.
apt-cache
Queries the APT software package cache.
apt-get
Command line tool for working with APT software packages.
aptitude
Text-based front-end for the APT package management system.
ar
Creates, modifies, and extracts from archives.
arch
Displays the architecture of the current host.
arp
Manipulate the system ARP cache.
as
An assembler.
aspell
Interactive spell checker.
at
Command scheduler.
awk
Awk script processing program.
basename
Deletes any specified prefix from a string.
bash
Command Bourne interpreter
bc
Calculator.
bdiff
Compare large files.
bfs
Editor for large files.
bg
Continues a program running in the background.
biff
Enable and disable incoming mail notifications.
break
Break out of while, for, foreach, or until loop.
bs
Battleship game.
bye
Alias often used for the exit command.
cal
Calendar.
calendar
Display appointments and reminders.
cancel
Cancels a print job.
cat
View or modify a file.
cc
C compiler.
cd
Change directory.
cfdisk
A more user-friendly version of the fdisk disk partitioning utility.
chdir
Change directory.
checkeq
Language processors to assist in describing equations.
checknr
Check nroff and troff files for any errors.
chfn
Modify your own information or if superuser or root modify another users information.
chgrp
Change a groups access to a file or directory.
chkey
Change the secure RPC key pair.
chmod
Change the permission of a file.
chown
Change the ownership of a file.
chroot
Run a command or shell from another directory, and treats that directory as root.
chsh
Change login shell.
cksum
Display and calculate a CRC for files.
clear
Clears screen.
cmp
Compare files.
col
Reverse line-feeds filter.
comm
Compare files and select or reject lines that are common.
compress
Compress files on a computer.
continue
Break out of while, for, foreach, or until loop.
cp
Copy files.
cpio
Creates archived CPIO files.
crontab
Create and list files that you want to run on a regular schedule.
crypt
Function used to encrypt passwords.
csh
Execute the C shell command interpreter
csplit
Split files based on context.
ctags
Create a tag file for use with ex and vi.
cu
Calls or connects to another Unix system, terminal or non-Unix system.
curl
Transfer a URL.
cut
Cut out selected fields of each line of a file.
date
Tells you the date and time in Unix.
dc
An arbitrary precision arithmetic package.
dd
Convert and copy a file.
delgroup
Remove a group from the system.
deluser
Remove a user from the system.
depmod
Generates a list of kernel module dependences, modules.dep, and associated map files.
deroff
Removes nroff/troff, tbl, and eqn constructs.
df
Display the available disk space for each mount.
dhclient
Dynamic Host Configuration Protocol Client.
diff
Displays two files and prints the lines that are different.
dig
DNS lookup utility.
dircmp
Lists the different files when comparing directories.
dirname
Deliver portions of path names.
dmesg
Print or control the kernel ring buffer.
dos2unix
Converts text files between DOS and Unix formats.
dpkg
Queries, installs, removes, and maintains Debian software packages and their dependencies.
dpost
Translates files created by troff into PostScript.
du
Tells you how much space a file occupies.
echo
Displays text after echo to the terminal.
ed
Line oriented file editor.
edit
Text editor.
egrep
Search a file for a pattern using full regular expressions.
eject
Ejects removable media.
elm
Program command used to send and receive e-mail.
emacs
Text editor.
enable
Enables and disables LP printers.
env
Displays environment variables.
eqn
Language processors to assist in describing equations.
ex
Line-editor mode of the vi text editor.
exit
Exit from a program, shell or log you out of a Unix network.
expand
Expand copies of files.
expr
Evaluate arguments as an expression.
fc
Lists, edits, or re-executes commands previously entered.
fdisk
A disk partioning utility.
fg
Continues a stopped job by running it in the foreground
fgrep
Search a file for a fixed-character string.
file
Tells you if the object you are looking at is a file or a directory.
find
Finds files within a directory hierarchy.
findsmb
List info about machines that respond to SMB name queries on a subnet.
finger
Lists information about the user.
fmt
Simple text formatters.
fold
Filter for folding lines.
for
Shell built-in functions to repeatedly execute action(s) for a selected number of times.
foreach
Shell built-in functions to repeatedly execute action(s) for a selected number of times.
free
Display amount of free and used memory in the system
fsck
Check and repair a Linux file system.
ftp
Enables ftp access to another terminal.
fuser
Identify processes using files or sockets.
gawk
Powerful pattern-matching and processing language.
getfacl
Display discretionary file information.
gethostname
System call to get the hostname of the current processor.
gpasswd
Administer /etc/group and /etc/gshadow.
gprof
The gprof utility produces an execution profile of a program.
grep
Finds text within a file.
groupadd
Creates a new group account.
groupdel
Enables a superuser or root to remove a group.
groupmod
Enables a superuser or root to modify a group.
gunzip
Expand compressed files.
gview
A programmer’s text editor.
gvim
A programmer’s text editor.
gzip
Compress files.
halt
Stop the computer.
hash
Remove internal hash tables.
hashstat
Evaluates the effectiveness of internal hash tables.
head
Displays the first ten lines of a file, unless otherwise stated.
help
Displays help for built-in shell commands.
history
Display the command history.
host
DNS lookup utility.
hostid
Prints the numeric identifier for the current host.
hostname
Set or print name of current host system.
id
Shows you the numeric user and group ID on BSD.
ifconfig
Sets up network interfaces.
ifdown
Take a network interface down.
ifup
Bring a network interface up.
info
Read Info documents.
init
Process control initialization.
iostat
Reports Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions.
ip
Show and manipulate routing, devices, policy routing and tunnels.
isalist
Display the native instruction sets executable on this platform.
iwconfig
Configure a wireless network interface.
jobs
List the jobs currently running in the background.
join
Joins command forms together.
keylogin
Decrypt the user’s secret key.
kill
Cancels a job.
killall
Kills processes by name.
ksh
Korn shell command interpreter.
last
Displays a listing of the most recently logged-in users.
ld
Link-editor for object files.
ldd
List dynamic dependencies of executable files or shared objects.
less
Opposite of the more command.
lex
Generate programs for lexical tasks.