Bash Command 1 Flashcards

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
Q

clear

A

Clear terminal screen

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

cmp

A

Compare two files

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

command

A

Run a command - ignoring shell functions ?

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

cron

A

Daemon to execute scheduled commands

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

cut

A

Divide a file into several parts

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

date

A

Display or change the date & time

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

dc

A

Desk Calculator

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

ddrescue

A

Data recovery tool

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

declare

A

Declare variables and give them attributes ?

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

df

A

Display free disk space

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

diff

A

Display the differences between two files

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

diff3

A

Show differences among three files

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

dig

A

DNS lookup

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

dir

A

Briefly list directory contents

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

dircolors

A

Colour setup for `ls’

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

dirs

A

Display list of remembered directories

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

dmesg

A

Print kernel & driver messages

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

du

A

Estimate file space usage

50
Q

echo

A

Display message on screen ?

51
Q

egrep

A

Search file(s) for lines that match an extended expression

52
Q

eject

A

Eject removable media

53
Q

enable

A

Enable and disable builtin shell commands ?

54
Q

env

A

Environment variables

55
Q

ethtool

A

Ethernet card settings

56
Q

eval

A

Evaluate several commands/arguments

57
Q

exec

A

Execute a command

58
Q

exit

A

Exit the shell

59
Q

expect

A

Automate arbitrary applications accessed over a terminal

60
Q

expand

A

Convert tabs to spaces

61
Q

export

A

Set an environment variable

62
Q

expr

A

Evaluate expressions

63
Q

false

A

Do nothing, unsuccessfully

64
Q

fdformat

A

Low-level format a floppy disk

65
Q

fdisk

A

Partition table manipulator for Linux

66
Q

fg

A

Send job to foreground

67
Q

fgrep

A

Search file(s) for lines that match a fixed string

68
Q

file

A

Determine file type

69
Q

find

A

Search for files that meet a desired criteria

70
Q

fmt

A

Reformat paragraph text

71
Q

fold

A

Wrap text to fit a specified width.

72
Q

for

A

Expand words, and execute commands

73
Q

format

A

Format disks or tapes

74
Q

free

A

Display memory usage

75
Q

fsck

A

File system consistency check and repair

76
Q

ftp

A

File Transfer Protocol

77
Q

function

A

Define Function Macros

78
Q

fuser

A

Identify/kill the process that is accessing a file

79
Q

gawk

A

Find and Replace text within file(s)

80
Q

getopts

A

Parse positional parameters

81
Q

grep

A

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

82
Q

groupadd

A

Add a user security group

83
Q

groupdel

A

Delete a group

84
Q

groupmod

A

Modify a group

85
Q

groups

A

Print group names a user is in

86
Q

gzip

A

Compress or decompress named file(s)

87
Q

hash

A

Remember the full pathname of a name argument

88
Q

head

A

Output the first part of file(s)

89
Q

help

A

Display help for a built-in command ?

90
Q

history

A

Command History

91
Q

hostname

A

Print or set system name

92
Q

iconv

A

Convert the character set of a file

93
Q

id

A

Print user and group id’s

94
Q

if

A

Conditionally perform a command

95
Q

ifconfig

A

Configure a network interface

96
Q

ifdown

A

Stop a network interface

97
Q

ifup

A

Start a network interface up

98
Q

import

A

Capture an X server screen and save the image to file

99
Q

install

A

Copy files and set attributes

100
Q

jobs

A

List active jobs ?

101
Q

join

A

Join lines on a common field

102
Q

kill

A

Stop a process from running

103
Q

killall

A

Kill processes by name

104
Q

less

A

Display output one screen at a time

105
Q

let

A

Perform arithmetic on shell variables ?

106
Q

ln

A

Create a symbolic link to a file

107
Q

local

A

Create variables ?

108
Q

locate

A

Find files

109
Q

logname

A

Print current login name

110
Q

logout

A

Exit a login shell ?

111
Q

look

A

Display lines beginning with a given string

112
Q

lpc

A

Line printer control program

113
Q

lpr

A

Off line print

114
Q

lprint

A

Print a file

115
Q

lprintd

A

Abort a print job

116
Q

lprintq

A

List the print queue

117
Q

lprm

A

Remove jobs from the print queue

118
Q

ls

A

List information about file(s)

119
Q

lsof

A

List open files

120
Q

make

A

Recompile a group of programs