1. Engineering
  2. Computer Science
  3. write a script called funnysh that prints out the phrase...

Question: write a script called funnysh that prints out the phrase...

Question details

Write a script called funny.sh that prints out the phrase ‘This is funny’ if you include an argument when you invoke the script, i.e., typing ./funny.sh will result in the above phrase being printed out. However, if you invoke the script with no argument, then the script should then return the phrase ‘This is NOT funny’.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution