# Can't write to file
echo "test" > /etc/hosts # Permission denied
# Solution: use sudo
echo "test" | sudo tee -a /etc/hosts
# Debug pipeline step by step
command1 > temp1.txt
command2 < temp1.txt > temp2.txt
command3 < temp2.txt
Next: → Review Questions
Previous: ← Performance And Best Practices
Lesson Home: ↑ Lesson 4: Redirects & Pipes
Course Home: ⌂ Introduction to Linux