
In Linux, stdin is 0, stdout is 1, and stderr is 2! 🖥️✨
Linux မှာ stdin က 0**၊ stdout
က *1*၊ stderr
က **2 နဲ့ ကိုယ်စားပြုပါတယ်! 🖥️✨
These numbers make redirecting input, output, and errors super easy! 🚀
ဒီနံပါတ်တွေသုံးပြီး input, output, error တွေကို အလွယ်တကူ redirect လုပ်လို့ရပါတယ်! 🚀
Usage / အသုံးပြုပုံ:
- Redirect stdout to a file: command 1> output.txt
stdout ကို ဖိုင်ထဲသိမ်းမယ်: command 1> output.txt - Redirect stderr to a file: command 2> error.log
stderr ကို ဖိုင်ထဲသိမ်းမယ်: command 2> error.log