Learn how to redirect command output to both a file and stdout in Bash using the tee command. Complete guide with examples and advanced techniques.