Computer scienceSystem administration and DevOpsCommand lineWorking with files

File descriptors and pipes

Redirect the output

Report a typo

Write a script that will redirect the stdout of the run command to the /tmp/logs.txt file.

Sample Input 1:

Ready

Sample Output 1:

Ready
Write a program in Shell
#!/usr/bin/env bash
solve() {
run # add your redirections here
}
___

Create a free account to access the full topic