Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

3 bytes added, 09:08, 17 July 2020
LINUX PRACTICE QUESTIONS
# Write a Bash shell script that clears the screen and displays the text Hello World on the screen.<br><br><br><br><br>What permissions are required to run this Bash shell script?<br><br><br>What are the different ways that you can run this Bash shell script from the command line?<br><br><br>
# Write a Bash shell script that clears the screen, prompts the user for their '''full name''' and then prompts the user for their '''age''', <br>then clears the screen again and welcomes the user by their name and tells them their age.<br> <br><br><br><br><br><br><br>What comments would you add to the above script’s contents to properly document this Bash shell script to be understood for those users<br>that would read / edit this Bash shell script’s contents?<br> <br><br>
# x
# x
13,420
edits