Create a shell script in the home directory called create-directory-structure.sh
. The script should do the following tasks:
- Create the following directories under
/home/bob/countries - USA, UK, Kenya
- Create a file under each directory by the name
capital.txt
- Add the capital cities name in the file -
Washington, D.C, London, Nairobi
- Print
uptime
of the system