DEV Community

macnux
macnux

Posted on

1 1

Shell Scripting – Input, Output, And Redirection

In the previous post, we talked about parameters and options in detail, today we will talk about something very important in shell scripting which are Input, Output, and Redirection.

1 Standard File Descriptors
2 STDIN
3 STDOUT
4 STDERR
5 Redirecting Errors
6 Redirecting Errors and Normal Output
7 Output Redirection
7.1 Temporary Redirections
7.2 Permanent Redirections
8 Redirecting Input
9 Creating Custom Redirection
10 Creating Input File Descriptors
11 Close File Descriptors
12 lsof Command
13 Suppressing Command Output

https://likegeeks.com/shell-scripting-awesome-guide-part4/

Thanks in advance.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs