back to labs
Run Your First Script
EasyLinux Fundamentals10-15 minThe brief
The text file /root/welcome.sh is a small script. Read it with cat, and inspect its permissions with ls -l. It starts without permission to run.
Make it executable by its owner. Keep its contents unchanged and do not grant write permission to the group or other users. Run it to create /root/welcome-receipt.txt, then check your work.
This is guided practice. All hints are free; there is no timer to beat.
What you'll do
- Inspect and safely make welcome.sh executable
- Keep the supplied script intact
- Produce the welcome receipt
Hands-on lab: you work on a real Linux box in your browser, graded on the machine's actual state.
