Skip to Content
Red Hat RHCSA 8 Cert Guide: EX200, 2nd Edition
book

Red Hat RHCSA 8 Cert Guide: EX200, 2nd Edition

by Sander van Vugt
March 2021
Intermediate to advanced
704 pages
18h 20m
English
Pearson IT Certification
Content preview from Red Hat RHCSA 8 Cert Guide: EX200, 2nd Edition

Appendix B

Memory Tables

Chapter 2

Table 2-2 Standard Input, Output, and Error Overview

Name

Default Destination

Use in Redirection

File Descriptor Number

Computer keyboard

< (same as 0<)

0

Computer monitor

> (same as 1>)

1

STDERR

 

2>

2

Table 2-3 Common Bash Redirectors

Redirector

Explanation

(same as 1>)

Redirects STDOUT. If redirection is to a file, the current contents of that file are overwritten.

(same as 1>>)

Redirects STDOUT. If output is written to a file, the output is appended to that file.

Redirects STDERR.

Redirects STDERR to the same destination as STDOUT. Notice that this has to be used in combination with normal output redirection, as in ls whuhiu > errout 2>&1.

(same as 0<)

Redirects ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Red Hat RHCSA 8 Cert Guide: EX200

Red Hat RHCSA 8 Cert Guide: EX200

Sander van Vugt
Red Hat Enterprise Linux 8 Administration

Red Hat Enterprise Linux 8 Administration

Miguel Pérez Colino, Pablo Iranzo Gómez, Scott McCarty

Publisher Resources

ISBN: 9780137341641