What is redirection? Explain giving suitable example.
Answers
Answered by
1
On a Web site, redirection is a technique for moving visitors to a different Web page than the one they request, usually because the page requested is unavailable. Web users often encounter redirection when they visit the Web site of a company whose name has been changed or which has been acquired by another company.
Answered by
0
Redirection:
- Redirection is a Linux feature that allows you to change the normal input/output devices when running a command.
- Redirection is the process of moving commands from where they read input to where they send output.
- A command's input and output can be redirected.
- Metacharacters are used for redirection.
- A file (shell metacharacters are angle brackets ", '>') or a program (shell metacharacters are pipe symbol '|') can be redirected.
- Any Linux command's core operation is to receive an input and produce something.
- The keyboard is the standard input (stdin) device.
- The screen is the standard output (stdout) device.
- The above standard input/output can be altered using redirection.
Similar questions