JBoss Community
[Deprecated] Write your own basic shell scripts
Task goals: Using your preferred editor create the following scripts
- A basic script that prints "Hello World!"
- A calculator script able to perform basic calculations (addition, subtraction, multiplication, division). The user of the script should be able to pick the operation on runtime and provide the numbers for the operation. The operation and initial numbers must not be hardcoded into the script.
- A note-keeping script. The user provides a title and the text for the note. If the note title already exists, the text should be appended to the previous note.
- A script that replaces a phrase in all the notes created previously by the user. The user running the script provides the phrase that he wishes to be replaced, and subsequently the phrase that will replace it.
Completion requirements: Link to a Github repo containing the scripts
Useful links:
Shell scripting tutorial:
http://linuxcommand.org/lc3_writing_shell_scripts.php
Intro to Github and repositories:
https://guides.github.com/activities/hello-world/
Task tags
Students who completed this task
MysteryMage, sankha