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
Q

chkconfig

A

system services (runlevel)

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

cksum

A

print CRC checksum and byte counts

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

clear

A

clear terminal screen

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

cmp

A

compare two files

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

comm

A

compare two sorted files line by line

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

command

A

run a command - ignore shell functions

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

continue

A

resume the next iteration of a loop

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

cp

A

copy one or more files to another location

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

cron

A

daemon to execute scheduled commands

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

crontab

A

schedule a command to run at a later time

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

csplit

A

split a file into context-determined pieces

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

cut

A

divide a file into several parts

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

date

A

display or change the date and time

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

dc

A

disk calculator

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

dd

A

convert and copy a file, write disk headers, boot records

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

ddrescue

A

data recovery tool

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

declare

A

declare variables and give them attributes

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

df

A

display free disk space

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

diff

A

display differences between two files

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

diff3

A

show differences among three files

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

dig

A

DNS lookup

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

dir

A

briefly list directory contents

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

dircolors

A

colour setup for “ls”

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

dirname

A

convert a full pathname to just a path

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

dirs

A

display list of remembered directories

50
Q

dmesg

A

print kernel and driver messages

51
Q

du

A

estimate file space usage

52
Q

echo

A

display message on screen

53
Q

egrep

A

search file(s) for lines that match and extended expression

54
Q

eject

A

eject removable media

55
Q

enable

A

enable and disable builtin shell commands

56
Q

env

A

environment variables

57
Q

ethtool

A

ethernet card settings

58
Q

eval

A

evaluate several commands/arguments

59
Q

exec

A

execute a command

60
Q

exit

A

exit the shell

61
Q

expect

A

automate arbitrary applications accessed over a terminal

62
Q

expand

A

convert tabs to spaces

63
Q

export

A

set an environment variable

64
Q

expr

A

evaluate expressions

65
Q

FALSE

A

do nothing, unsuccessfully

66
Q

fdformat

A

low-level format a floppy disk

67
Q

fdisk

A

partition table manipulator for Linux

68
Q

fg

A

send job to foreground

69
Q

fgrep

A

search file(s) for lones that match a fixed string

70
Q

file

A

determine file type

71
Q

find

A

search for files that meet a desired criteria

72
Q

fmt

A

reformat paragraph text

73
Q

fold

A

wrap text to fit a specified width

74
Q

for

A

expand words, and execute commands

75
Q

format

A

format disks or tapes

76
Q

free

A

display memory usage

77
Q

fsck

A

file system consistency check and repair

78
Q

ftp

A

file transfer protocol

79
Q

function

A

define function macros

80
Q

fuser

A

identify/kill the process that is accessing a file

81
Q

gawk

A

find and replace the text within file(s)

82
Q

getopts

A

parse positional parameters

83
Q

grep

A

search file(s) for lines that match a given pattern

84
Q

groups

A

print group names a user is in

85
Q

gzip

A

compress or decompress named file(s)

86
Q

hash

A

remember the full pathname of a name argument

87
Q

head

A

output the first part of files

88
Q

help

A

display help for a built-in command

89
Q

history

A

command history

90
Q

hostname

A

print or set system name

91
Q

iconv

A

convert the character set of a file

92
Q

id

A

print user and group id’s

93
Q

if

A

conditionally perform a command

94
Q

ifconfig

A

configure a network interface

95
Q

ifdown

A

stop a network interface

96
Q

ifup

A

start a network interface up

97
Q

import

A

capture an X server screen and save the image to a file

98
Q

install

A

copy files and set attributes

99
Q

jobs

A

list active jobs

100
Q

join

A

join lines on a common field

101
Q

kill

A

stop a process from running

102
Q

killall

A

kill processes by name

103
Q

less

A

display output one screen at a time

104
Q

let

A

perform arithmetic on shell variables

105
Q

ln

A

make links between files

106
Q

local

A

create variables

107
Q

locate

A

find files

108
Q

logname

A

print current login name

109
Q

logout

A

exit a login shell

110
Q

look

A

display lines beginning with a given string

111
Q

lpc

A

line printer control program

112
Q

lpr

A

off line print

113
Q

lprint

A

print a file

114
Q

lprintd

A

abort a print job

115
Q

lprintq

A

list the print queue

116
Q

lprm

A

remove jobs from the print queue

117
Q

ls

A

list information about file(s)

118
Q

lsof

A

list open files

119
Q

make

A

recompile a group of programs

120
Q

man

A

help manual