Chp 1.2 Flashcards

1
Q

>

A

Creates a new file containing standard output. If the specified file exists, it’s overwritten. No file descriptor necessary.

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

>

A

Creates a new file containing standard output. If the specified file exists, it’s overwritten. No file descriptor necessary.

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

> >

A

Appends standard output to the existing file. If the specified file doesn’t exist, it’s created. No file descriptor necessary.

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

2>

A

Creates a new file containing standard error. If the specified file exists, it’s overwritten. File descriptor necessary.

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

A

Appends standard error to the existing file. If the specified file doesn’t exist, it’s created. File descriptor necessary.

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

&>

A

Creates a new file containing both standard output and standard error. If the specified file exists, it’s overwritten. No file descriptors necessary.

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

Sends the contents of the specified file to be used as standard input. No file descriptor necessary.

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

<

A

Accepts text on the following lines as standard input. No file descriptor necessary.

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

<>

A

Causes the specified file to be used for both standard input and standard output. No file descriptor necessary.

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

/dev/null

A

Device which is null and discard output to it.

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

(or a pipe)

A

A pipe redirects the first program’s standard output to the second program’s standard input.

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

tee

A

Used in conjunction with data pipes so that a program’s output can be both stored and viewed immediately.

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

xargs

A

The xargs command builds a command from its standard input.

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

> >

A

Appends standard output to the existing file. If the specified file doesn’t exist, it’s created. No file descriptor necessary.

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

2>

A

Creates a new file containing standard error. If the specified file exists, it’s overwritten. File descriptor necessary.

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

A

Appends standard error to the existing file. If the specified file doesn’t exist, it’s created. File descriptor necessary.

17
Q

&>

A

Creates a new file containing both standard output and standard error. If the specified file exists, it’s overwritten. No file descriptors necessary.

18
Q
A

Sends the contents of the specified file to be used as standard input. No file descriptor necessary.

19
Q

<

A

Accepts text on the following lines as standard input. No file descriptor necessary.

20
Q

<>

A

Causes the specified file to be used for both standard input and standard output. No file descriptor necessary.

21
Q

/dev/null

A

Device which is null and discard output to it.

22
Q

(or a pipe)

A

A pipe redirects the first program’s standard output to the second program’s standard input.

23
Q

tee

A

Used in conjunction with data pipes so that a program’s output can be both stored and viewed immediately.

24
Q

xargs

A

The xargs command builds a command from its standard input.