Commands Flashcards
adduser
Add a user to the system
dirname
convert a full pathname to just a path
addgroup
add a group to the system
alias
create and alias
apropos
search help manual pages (man -k)
apt-get
search for and install software packages
aptitude
search for and install software packages
aspell
spell checker
awk
find and replace text, database sort/validate/index
basename
strip directory and suffix from filenames
bash
GNU Bourne-Again SHell
bc
arbitrary precision calculator language
bg
send to background
break
exit from loop
builtin
run a shell builtin
bzip2
compress or decompress named file(s)
cal
display and calendar
case
conditionally perform a command
cat
display contents of a file
cd
change directory
cfdisk
partition table manipulator for Linux
chgrp
change group ownership
chmod
change access permissions
chown
change file owner and group
chroot
run a command with a different root directory
chkconfig
system services (runlevel)
cksum
print CRC checksum and byte counts
clear
clear terminal screen
cmp
compare two files
comm
compare two sorted files line by line
command
run a command - ignore shell functions
continue
resume the next iteration of a loop
cp
copy one or more files to another location
cron
daemon to execute scheduled commands
crontab
schedule a command to run at a later time
csplit
split a file into context-determined pieces
cut
divide a file into several parts
date
display or change the date and time
dc
disk calculator
dd
convert and copy a file, write disk headers, boot records
ddrescue
data recovery tool
declare
declare variables and give them attributes
df
display free disk space
diff
display differences between two files
diff3
show differences among three files
DNS
DNS lookup
dir
briefly list directory contents
dircolor
colour setup for “ls”
dirname
convert a full pathname to just a path
dirs
display list of remembered directories
dmesg
print kernel and driver messages
du
estimate file space usage
echo
display message on screen
egrep
search file(s) for lines that match and extended expression
eject
eject removable media
enable
enable and disable builtin shell commands
env
environment variables
ethtool
ethernet card settings
eval
evaluate several commands/arguments
exec
execute a command
exit
exit the shell
expect
automate arbitrary applications accessed over a terminal
expand
convert tabs to spaces
export
set an environment variable
expr
evaluate expressions
false
do nothing, unsuccessfully
fdformat
low-level format a floppy disk
fdisk
partition table manipulator for Linux
fg
send job to foreground
fgrep
search file(s) for lones that match a fixed string
file
determine file type
find
search for files that meet a desired criteria
fmt
reformat paragraph text
fold
wrap text to fit a specified width
for
expand words, and execute commands
format
format disks or tapes
free
display memory usage
fsck
file system consistency check and repair
ftp
file transfer protocol
function
define function macros
fuser
identify/kill the process that is accessing a file
gawk
find and replace the text within file(s)
getopts
parse positional parameters
grep
search file(s) for lines that match a given pattern
groups
print group names a user is in
gzip
compress or decompress named file(s)
hash
remember the full pathname of a name argument
head
output the first part of files
help
display help for a built-in command
history
command history
hostname
print or set system name
iconv
convert the character set of a file
id
print user and group id’s
if
conditionally perform a command
ifconfig
configure a network interface