subject

Write a bash script that accepts a person’s name as a command-line argument and simply prints out the following greeting: "good day, ! nice to meet you! ", where is a positional parameter (i. e., a command-line argument) passed to the script. if the user does not enter a command-line argument when invoking this shell script, you will simply output: "hope you have a great day! ", without any name displayed. this bash script should be called rec03a. sh. sample output (input in bold): $ ./rec03a. sh mark good day, mark! nice to meet you! $ ./rec03a. sh hope you have a great day!

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
question
Computers and Technology, 24.06.2019 06:30
Me and category do i put them in because this is science
Answers: 1
question
Computers and Technology, 24.06.2019 11:20
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput.find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
You know the right answer?
Write a bash script that accepts a person’s name as a command-line argument and simply prints out th...
Questions
question
Mathematics, 24.04.2020 23:27
question
Mathematics, 24.04.2020 23:27
question
Mathematics, 24.04.2020 23:27
Questions on the website: 13722362