Input Redirection
Last updated
What is Input Redirection?
Input redirection enables a command to obtain its input from a source other than the standard input (typically the keyboard). Instead of typing input directly, a command can read data from a file or another command's output. This is achieved using operators like < to specify the input source.
Free resources to learn Input Redirection
More in stage 8: Bash Alias
Input Redirection: common questions
Can I learn Input Redirection in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Input Redirection in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Input Redirection tutorial for beginners?
It is lesson 22 of 166 in the free Shell / Bash roadmap, in stage 8, Bash Alias. If you are new to Shell / Bash, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.