Click any step to jump to it (resets partial progress for that step).
0IntroductionCompleted
Welcome to RHCSA Lab 1.2. You'll work through four I/O redirection techniques. Open 💡 Explain at any time to understand what's happening under the hood.
1Output Redirection (>)Current Step
Redirect command output into a file instead of the screen, then verify it.
Run:
echo "Hello RHCSA" > hello.txt
Then verify:
cat hello.txt
2Input Redirection (<)Pending
Feed a file as input to a command using <.
Run either:
wc -l < hello.txt
wc -l hello.txt
3Pipes (|)Pending
Connect two commands so the output of one becomes the input of the next.
Run:
cat hello.txt | grep "RHCSA"
4Error Redirection (2>)Pending
Redirect error output (stderr) to a file separately from normal output.
Run:
ls /nonexistent 2> error.log
Then check the log:
cat error.log