Linux Bash Commands 1 Flashcards

1
Q

adduser

A

Add a user to the system

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

addgroup

A

add a group to the system

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

alias

A

create and alias

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

apropos

A

search help manual pages (man -k)

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

apt-get

A

search for and install software packages

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

aptitude

A

search for and install software packages

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

aspell

A

spell checker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
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
9
Q

basename

A

strip directory and suffix from filenames

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

bash

A

GNU Bourne-Again SHell

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

bc

A

arbitrary precision calculator language

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

bg

A

send to background

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

break

A

exit from loop

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

builtin

A

run a shell builtin

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

bzip2

A

compress or decompress named file(s)

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

cal

A

display and calendar

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

case

A

conditionally perform a command

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

cat

A

display contents of a file

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

cd

A

change directory

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

cfdisk

A

partition table manipulator for Linux

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

chgrp

A

change group ownership

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

chmod

A

change access permissions

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

chown

A

change file owner and group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
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
25
chkconfig
system services (runlevel)
26
cksum
print CRC checksum and byte counts
27
clear
clear terminal screen
28
cmp
compare two files
29
comm
compare two sorted files line by line
30
command
run a command - ignore shell functions
31
continue
resume the next iteration of a loop
32
cp
copy one or more files to another location
33
cron
daemon to execute scheduled commands
34
crontab
schedule a command to run at a later time
35
csplit
split a file into context-determined pieces
36
cut
divide a file into several parts
37
date
display or change the date and time
38
dc
disk calculator
39
dd
convert and copy a file, write disk headers, boot records
40
ddrescue
data recovery tool
41
declare
declare variables and give them attributes
42
df
display free disk space
43
diff
display differences between two files
44
diff3
show differences among three files
45
dig
DNS lookup
46
dir
briefly list directory contents
47
dircolors
colour setup for "ls"
48
dirname
convert a full pathname to just a path
49
dirs
display list of remembered directories
50
dmesg
print kernel and driver messages
51
du
estimate file space usage
52
echo
display message on screen
53
egrep
search file(s) for lines that match and extended expression
54
eject
eject removable media
55
enable
enable and disable builtin shell commands
56
env
environment variables
57
ethtool
ethernet card settings
58
eval
evaluate several commands/arguments
59
exec
execute a command
60
exit
exit the shell
61
expect
automate arbitrary applications accessed over a terminal
62
expand
convert tabs to spaces
63
export
set an environment variable
64
expr
evaluate expressions
65
FALSE
do nothing, unsuccessfully
66
fdformat
low-level format a floppy disk
67
fdisk
partition table manipulator for Linux
68
fg
send job to foreground
69
fgrep
search file(s) for lones that match a fixed string
70
file
determine file type
71
find
search for files that meet a desired criteria
72
fmt
reformat paragraph text
73
fold
wrap text to fit a specified width
74
for
expand words, and execute commands
75
format
format disks or tapes
76
free
display memory usage
77
fsck
file system consistency check and repair
78
ftp
file transfer protocol
79
function
define function macros
80
fuser
identify/kill the process that is accessing a file
81
gawk
find and replace the text within file(s)
82
getopts
parse positional parameters
83
grep
search file(s) for lines that match a given pattern
84
groups
print group names a user is in
85
gzip
compress or decompress named file(s)
86
hash
remember the full pathname of a name argument
87
head
output the first part of files
88
help
display help for a built-in command
89
history
command history
90
hostname
print or set system name
91
iconv
convert the character set of a file
92
id
print user and group id's
93
if
conditionally perform a command
94
ifconfig
configure a network interface
95
ifdown
stop a network interface
96
ifup
start a network interface up
97
import
capture an X server screen and save the image to a file
98
install
copy files and set attributes
99
jobs
list active jobs
100
join
join lines on a common field
101
kill
stop a process from running
102
killall
kill processes by name
103
less
display output one screen at a time
104
let
perform arithmetic on shell variables
105
ln
make links between files
106
local
create variables
107
locate
find files
108
logname
print current login name
109
logout
exit a login shell
110
look
display lines beginning with a given string
111
lpc
line printer control program
112
lpr
off line print
113
lprint
print a file
114
lprintd
abort a print job
115
lprintq
list the print queue
116
lprm
remove jobs from the print queue
117
ls
list information about file(s)
118
lsof
list open files
119
make
recompile a group of programs
120
man
help manual