Commands Flashcards

0
Q

adduser

A

Add a user to the system

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

39
Q

dd

A

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

40
Q

ddrescue

A

data recovery tool

41
Q

declare

A

declare variables and give them attributes

42
Q

df

A

display free disk space

43
Q

diff

A

display differences between two files

44
Q

diff3

A

show differences among three files

45
Q

DNS

A

DNS lookup

46
Q

dir

A

briefly list directory contents

47
Q

dircolor

A

colour setup for “ls”

48
Q

dirname

A

convert a full pathname to just a path

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