DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

File Write — Example 136

Quick explanation + ready code for: File Write.

Shell File Write Back to examples
Back to language
Syntax: File Write in Shell. ID: #136

Code

echo "Hello #15" > out.txt

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.