Skip to Content
Learn Linux Shell Scripting - Fundamentals of Bash 4.4
book

Learn Linux Shell Scripting - Fundamentals of Bash 4.4

by Sebastiaan Tammer
December 2018
Beginner
452 pages
12h 17m
English
Packt Publishing
Content preview from Learn Linux Shell Scripting - Fundamentals of Bash 4.4

Questions

  1. What are file descriptors?
  2. What do the terms stdin, stdout, and stderr mean?
  3. How do stdin, stdout, and stderr map to the default file descriptors?
  4. What is the difference between the output redirections >, 1>, and 2>?
  5. What is the difference between > and >>?
  6. How can both stdout and stderr be redirected at the same time?
  7. Which special devices can be used to act as a black hole for output?
  8. What does a pipe do, with regards to redirections?
  9. How can we send output to both the Terminal and a log file?
  10. What is a typical use case for a here string?
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

Bash Scripting Fundamentals

Bash Scripting Fundamentals

Sander van Vugt

Publisher Resources

ISBN: 9781788995597Supplemental Content