Computer scienceSystem administration and DevOpsCommand lineWorking with files

File descriptors and pipes

Change file content

Report a typo

Write a program that will change the content of the /tmp/file.txt to I am the bash master! to make us know you've mastered the topics well!

Sample Input 1:

Hello, world!

Sample Output 1:

I am the bash master!
Write a program in Shell
#!/usr/bin/env bash
solve() {
# add your solution here

}
___

Create a free account to access the full topic