Linux Bash Commands 2 Flashcards

1
Q

mkdir

A

create new folder(s)

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

mkfifo

A

make fifos (named pipes)

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

mkisofs

A

create a hybrid ISO9660/JOLIET/HFS filesystem

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

mknod

A

make block or character special files

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

more

A

display output one screen at a time

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

mount

A

mount a file system

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

mtools

A

manipulate ms-dos files

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

mtr

A

network diagnostics (traceroute/ping)

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

mv

A

move or rename files or directories

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

mmv

A

mass move and rename file(s)

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

netstat

A

networking information

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

nice

A

set the priority of a command or job

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

nl

A

number of lines and write files

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

nohup

A

run a command immune to hangups

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

notify-send

A

send desktop notifications

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

nslookup

A

query internet name servers interactively

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

open

A

open a file in its default application

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

op

A

operator access

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

passwd

A

modify a user password

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

paste

A

merge lines of files

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

pathchk

A

check file name portability

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

ping

A

test a network connection

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

pkill

A

stop processes from running

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

popd

A

restores the previous value of the current directory

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

pr

A

prepare files for printing

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

printcap

A

printer capability database

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

printenv

A

print environment variables

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

printf

A

format and print data

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

ps

A

process status

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

pushd

A

save and then change the current directory

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

pxd

A

print working directory

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

quota

A

display disk usage and limits

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

quotacheck

A

scan a file system for disk usage

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

quotactl

A

set disk quotas

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

ram

A

ram disk device

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

rcp

A

copy files between two machines

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

read

A

read a line from standard input

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

readarray

A

read from stdin into an array variable

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

readonly

A

mark variables/functions as read only

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

reboot

A

reboot the system

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

rename

A

rename files

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

renice

A

alter priority of running processes

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

remsync

A

synchronize remote files via email

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

return

A

exit a shell function

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

rev

A

reverse lines of a file

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

rm

A

remove files

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

rmdir

A

remove folder(s)

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

rsync

A

remote file copy (Synchronize files trees)

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

screen

A

multiplex terminal, run remote shells via ssh

50
Q

scp

A

secure copy (remote file copy)

51
Q

sdiff

A

merge two file interactively

52
Q

sed

A

stream editor

53
Q

select

A

accept keyboard input

54
Q

seq

A

print numeric sequences

55
Q

set

A

manipulate shell variables and functions

56
Q

sftp

A

secure file transfer protocols

57
Q

shift

A

shift positional parameters

58
Q

shopt

A

shell options

59
Q

shutdown

A

shutdown or restart linux

60
Q

sleep

A

delay for a specified time

61
Q

slocate

A

find files

62
Q

sort

A

sort text files

63
Q

source

A

run commands from a file

64
Q

split

A

split a file into fixed-size pieces

65
Q

ssh

A

secure shell client (remote login program)

66
Q

strace

A

trace system calls and signals

67
Q

su

A

substitute user identity

68
Q

sudo

A

execute a command as another user

69
Q

su,

A

print a checksum for a file

70
Q

suspend

A

suspend execution of this shell

71
Q

symlink

A

make a new name for a file

72
Q

sync

A

synchronize data on disk with memory

73
Q

tail

A

output the last part of a file(s)

74
Q

tar

A

tape archiver

75
Q

tee

A

redirect output to multiple files

76
Q

test

A

evaluate a conditional expression

77
Q

time

A

measure program running time

78
Q

times

A

user and system times

79
Q

touch

A

change file timestamps

80
Q

top

A

list processes running on the system

81
Q

traceroute

A

trace route to host

82
Q

trap

A

run a command when a signal is set (bourne)

83
Q

tr

A

translate, squeeze, and/or delete character

84
Q

TRUE

A

do nothing, successfully

85
Q

tsort

A

topological sort

86
Q

tty

A

print filename of terminal on stdin

87
Q

type

A

describe a command

88
Q

ulimit

A

limit user resources

89
Q

umask

A

users file creation mask

90
Q

umount

A

unmount a device

91
Q

unalias

A

remove an alias

92
Q

uname

A

print system information

93
Q

unexpand

A

convert spaces to tabs

94
Q

uniq

A

uniquify files

95
Q

units

A

convert units from one scale to another

96
Q

unset

A

remove variable or function names

97
Q

unshar

A

unpack shell archive scripts

98
Q

until

A

execute commands (until error)

99
Q

useradd

A

create new user account

100
Q

usermod

A

modify user account

101
Q

users

A

list users currently logged in

102
Q

uuencode

A

encode binary file

103
Q

uudecode

A

decode a file created by uuencode

104
Q

v

A

verbosely list directory contents (ls -l -b)

105
Q

vdir

A

verbosely list directory contents (ls -l -b)

106
Q

vi

A

text editor

107
Q

vmstat

A

report virtual memory statistics

108
Q

watch

A

execute/display a program periodically

109
Q

wc

A

print byte, word, and line counts

110
Q

whereis

A

search the user’s $path, man pages and source files for a program

111
Q

which

A

search user’s $path for a program file

112
Q

while

A

execute commands

113
Q

who

A

print all usernames currently logged in

114
Q

whoami

A

print the current user id and name (id -un)

115
Q

wget

A

retrieve web pages or files via http, https or ftp

116
Q

write

A

send a message to another user

117
Q

xargs

A

execute utility, passing constructed argument list(s)

118
Q

xdg-open

A

open a file or URL in the user’s preferred application

119
Q

.

A

run a command script in the current shell

120
Q

###

A

comment / remark