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

File Write — Example 140

Quick explanation + ready code for: File Write.

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

Code

echo "Hello #23" > out.txt

Notes

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