BashCards Flashcards

(239 cards)

1
Q

alias

A

Create an alias *

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

apropos

A

Search Help manual pages (man -k)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

apt-get

A

Search for and install software packages (Debian/Ubuntu)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

aptitude

A

Search for and install software packages (Debian/Ubuntu)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

aspell

A

Spell Checker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

awk

A

Find and Replace text (database sort/validate/index)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

basename

A

Strip directory and suffix from filenames

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

bash

A

GNU Bourne-Again SHell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

bc

A

Arbitrary precision calculator language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

bg

A

Send to background

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

break

A

Exit from a loop *

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

builtin

A

Run a shell builtin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

bzip2

A

Compress or decompress named file(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

cal

A

Display a calendar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

case

A

Conditionally perform a command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

cat

A

Concatenate and print (display) the content of files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

cd

A

Change Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

cfdisk

A

Partition table manipulator for Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

chgrp

A

Change group ownership

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

chmod

A

Change access permissions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

chown

A

Change file owner and group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

chroot

A

Run a command with a different root directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

chkconfig

A

System services (runlevel)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

cksum

A

Print CRC checksum and byte counts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
clear
Clear terminal screen
26
cmp
Compare two files
27
comm
Compare two sorted files line by line
28
command
Run a command - ignoring shell functions *
29
continue
Resume the next iteration of a loop *
30
cp
Copy one or more files to another location
31
cron
Daemon to execute scheduled commands
32
crontab
Schedule a command to run at a later time
33
csplit
Split a file into context-determined pieces
34
cut
Divide a file into several parts
35
date
Display or change the date & time
36
dc
Desk Calculator
37
dd
Convert and copy a file & write disk headers & boot records
38
ddrescue
Data recovery tool
39
declare
Declare variables and give them attributes *
40
df
Display free disk space
41
diff
Display the differences between two files
42
diff3
Show differences among three files
43
dig
DNS lookup
44
dir
Briefly list directory contents
45
dircolors
Colour setup for ls
46
dirname
Convert a full pathname to just a path
47
dirs
Display list of remembered directories
48
dmesg
Print kernel & driver messages
49
du
Estimate file space usage
50
echo
Display message on screen *
51
egrep
Search file(s) for lines that match an extended expression
52
eject
Eject removable media
53
enable
Enable and disable builtin shell commands *
54
env
Environment variables
55
ethtool
Ethernet card settings
56
eval
Evaluate several commands/arguments
57
exec
Execute a command
58
exit
Exit the shell
59
expect
Automate arbitrary applications accessed over a terminal
60
expand
Convert tabs to spaces
61
export
Set an environment variable
62
expr
Evaluate expressions
63
false
Do nothing unsuccessfully
64
fdisk
Partition table manipulator for Linux
65
fg
Send job to foreground
66
fgrep
Search file(s) for lines that match a fixed string
67
file
Determine file type
68
find
Search for files that meet a desired criteria
69
fmt
Reformat paragraph text
70
fold
Wrap text to fit a specified width.
71
for
Expand words, and execute commands
72
format
Format disks or tapes
73
free
Display memory usage
74
fsck
File system consistency check and repair
75
ftp
File Transfer Protocol
76
fuser
Identify/kill the process that is accessing a file
77
gawk
Find and Replace text within file(s)
78
getopts
Parse positional parameters
79
grep
Search file(s) for lines that match a given pattern
80
groups
Print group names a user is in
81
gzip
Compress or decompress named file(s)
82
hash
Remember the full pathname of a name argument
83
head
Output the first part of file(s)
84
help
Display help for a built-in command *
85
history
Command History
86
htop
Interactive process viewer
87
iconv
Convert the character set of a file
88
id
Print user and group ids
89
if
Conditionally perform a command
90
ifconfig
Configure a network interface
91
ifdown
Stop a network interface
92
ifup
Start a network interface up
93
import
Capture an X server screen and save the image to file
94
install
Copy files and set attributes
95
ip
Routing, devices and tunnels
96
jobs
List active jobs *
97
join
Join lines on a common field
98
kill
Kill a process by specifying its PID
99
killall
Kill processes by name
100
less
Display output one screen at a time
101
let
Perform arithmetic on shell variables *
102
link
Create a link to a file
103
ln
Create a symbolic link to a file
104
local
Create variables *
105
locate
Find files
106
logname
Print current login name
107
logout
Exit a login shell *
108
look
Display lines beginning with a given string
109
lpc
Line printer control program
110
lpr
Off line print
111
lprint
Print a file
112
lprintd
Abort a print job
113
lprintq
List the print queue
114
lprm
Remove jobs from the print queue
115
ls
List information about file(s)
116
lsof
List open files
117
make
Recompile a group of programs
118
man
Help manual
119
mkdir
Create new folder(s)
120
mkfifo
Make FIFOs (named pipes)
121
mkisofs
Create an hybrid ISO9660/JOLIET/HFS filesystem
122
mknod
Make block or character special files
123
more
Display output one screen at a time
124
most
Browse or page through a text file
125
mount
Mount a file system
126
mtools
Manipulate MS-DOS files
127
mtr
Network diagnostics (traceroute/ping)
128
mv
Move or rename files or directories
129
mmv
Mass Move and rename (files)
130
netstat
Networking information
131
nice
Set the priority of a command or job
132
nl
Number lines and write files
133
nohup
Run a command immune to hangups
134
notify-send
Send desktop notifications
135
open
Open a file in its default application
136
op
Operator access
137
passwd
Modify a user password
138
paste
Merge lines of files
139
pathchk
Check file name portability
140
ping
Test a network connection
141
pkill
Kill processes by a full or partial name.
142
popd
Restore the previous value of the current directory
143
pr
Prepare files for printing
144
printf
Format and print data *
145
ps
Process status
146
pushd
Save and then change the current directory
147
pv
Monitor the progress of data through a pipe
148
pwd
Print Working Directory
149
quota
Display disk usage and limits
150
ram
ram disk device
151
rar
Archive files with compression
152
rcp
Copy files between two machines
153
read
Read a line from standard input *
154
reboot
Reboot the system
155
rename
Rename files
156
renice
Alter priority of running processes
157
remsync
Synchronize remote files via email
158
return
Exit a shell function
159
rev
Reverse lines of a file
160
rm
Remove files
161
rmdir
Remove folder(s)
162
rsync
Remote file copy (Synchronize file trees)
163
screen
Multiplex terminal, run remote shells via ssh
164
scp
Secure copy (remote file copy)
165
sdiff
Merge two files interactively
166
sed
Stream Editor
167
select
Accept keyboard input
168
seq
Print numeric sequences
169
set
Manipulate shell variables and functions
170
sftp
Secure File Transfer Program
171
shift
Shift positional parameters
172
shopt
Shell Options
173
sleep
Delay for a specified time
174
slocate
Find files
175
sort
Sort text files
176
source
Run commands from a file '.'
177
split
Split a file into fixed-size pieces
178
ssh
Secure Shell client (remote login program)
179
stat
Display file or file system status
180
strace
Trace system calls and signals
181
su
Substitute user identity
182
sudo
Execute a command as another user
183
sum
Print a checksum for a file
184
suspend
Suspend execution of this shell *
185
sync
Synchronize data on disk with memory
186
tail
Output the last part of file
187
tar
Store, list or extract files in an archive
188
tee
Redirect output to multiple files
189
test
Evaluate a conditional expression
190
time
Measure Program running time
191
timeout
Run a command with a time limit
192
times
User and system times
193
touch
Change file timestamps
194
top
List processes running on the system
195
tput
Set terminal-dependent capabilities, color, position
196
trap
Run a command when a signal is set(bourne)
197
tr
Translate, squeeze, and/or delete characters
198
true
Do nothing, successfully
199
tsort
Topological sort
200
tty
Print filename of terminal on stdin
201
type
Describe a command *
202
ulimit
Limit user resources *
203
umask
Users file creation mask
204
umount
Unmount a device
205
unalias
Remove an alias *
206
uname
Print system information
207
uniq
Uniquify files
208
units
Convert units from one scale to another
209
unrar
Extract files from a rar archive
210
unset
Remove variable or function names
211
unshar
Unpack shell archive scripts
212
until
Execute commands (until error)
213
uptime
Show uptime
214
useradd
Create new user account
215
userdel
Delete a user account
216
usermod
Modify user account
217
users
List users currently logged in
218
v
Verbosely list directory contents (`ls -l -b')
219
vdir
Verbosely list directory contents (`ls -l -b')
220
vi
Text Editor
221
vmstat
Report virtual memory statistics
222
wait
Wait for a process to complete *
223
watch
Execute/display a program periodically
224
wc
Print byte, word and line counts
225
whereis
Search the users $path man pages and source files for a program
226
which
Search the users $path for a program file
227
while
Execute commands
228
who
Print all usernames currently logged in
229
whoami
Print the current user id and name (id-un)
230
wget
Retrieve web pages or files via HTTP HTTPS or FTP
231
write
Send a message to another user
232
xargs
Execute utility passing constructed argument list(s)
233
xdg-open
Open a file or URL in the user's preferred application.
234
yes
Print a string until interrupted
235
zip
Package and compress (archive) files.
236
. (dot)
Run a command script in the current shell
237
!!
Run the last command again
238
###
Comment / Remark
239
Commands marked *
bash built-ins