Basic Scripts 2
|
Remember 1. Create and save the script. 2. Change file permissions (chmod 755) 3. Test the script (./script) 4. Copy the script into your path (cp file /bin) |
Good Morning
#!/bin/bash
# Show some useful info at the start of the day
date
echo Good morning $USER
cal