5 - Working with Commands Flashcards

1
Q

what are commands?

A

executable programs, shell builtins, shell functions or aliases

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

executable programs

A

programs written in scripting languages or compiles binaries

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

shell builtins

A

commands supported by the shell internally

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

shell functions

A

miniature shell scripts incorporated into the environment

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

alias

A

commands built from other commands

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

type (command)

A

displays command type

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

which (command)

A

displays the location of executables

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

man (command)

A

special paging program used to view cmd documentation
*divided into 8 sections
*covers user/sysadmin commands, programming interfaces, file formats

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

apropos

A

displays appearances of a search term in man pages

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

whatis

A

displays one-line man page descriptions of a given term

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

info

A

GNU alt to man
*reader program displaying documentation - reads info files (tree structured into nodes)
*info pages are hyperlinked

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

zless

A

version of less displaying contents of gzip compressed files

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

how to create an alias

A

alias name=’string’

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

alias (command/no arguments)

A

displays all aliases defined in the environment

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