Question: Linux Create the following scripts in your scripts directory Name each script: exercise 1 , exercise 2 , . . . excercise 1 2 .
Linux
Create the following scripts in your scripts directory
Name each script: exercise exercise excercise
cat each script to display
Run each script once.
Exercise : Please write a script that ask user to enter a password, and display it to screen. Use s option for input the password. readsecret script
Exercise : Write the script to do the following, ask user to enter an integer, and output whether the given number is divisible by modify intevenodd
Exercise : Write a script that print all even number from n to n n and nPrompt and read are provided by user. while loopcombine modify whilecount script arithmeticops script
Exercise : Write a menu script that has option, modify Example script
option : list all files current directory,
option : list all file in your home directory
option : exit.
Create Scripts to do each of the following:
Exercise : Print number from to modify whilecount script
Exercise : Print number from to modify whilecount script
Exercise : Print number from to modify whilecount script
Exercise : Print only even number from to modify whilecount script and intevenodd script
Exercise : Print sum of number between to exercise create new variable to hold sum, dont print individual numbers, just sum
Exercise : Print sum of even number between to modify exercise to sum, create new variable to hold sum, dont print individual numbers, just sum
Exercise : Print sum of even number between to modify exercise
Exercise : Print factorial, modify exercise create new variable to hold product, dont print individual numbers, just product
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
