Podcast
Questions and Answers
What does the command 'command > file.txt' do in Linux?
What does the command 'command > file.txt' do in Linux?
- Redirects standard error to a file
- Redirects standard output to a file (correct)
- Appends standard error to a file
- Appends standard output to a file
If you want to append the standard output to a file in Linux, which command would you use?
If you want to append the standard output to a file in Linux, which command would you use?
- command 2>> file.txt
- command 2> file.txt
- command >> file.txt (correct)
- command > file.txt
What does the command 'command 2> error.txt' do in Linux?
What does the command 'command 2> error.txt' do in Linux?
- Redirects standard error to a file (correct)
- Appends standard output to a file
- Appends standard error to a file
- Redirects standard output to a file
Match the following Linux redirection symbols with their descriptions:
Match the following Linux redirection symbols with their descriptions:
Match the following Linux redirection commands with their functions:
Match the following Linux redirection commands with their functions:
Match the following descriptions with their corresponding Linux redirection symbols:
Match the following descriptions with their corresponding Linux redirection symbols: