Explanation. Last updated: June 22, 2017, How to prompt and read user input in a Bash shell script, How to read and write from a file in a Linux bash shell script, A Bash ‘for’ loop to iterate over a file that has blank spaces in its lines, How to prompt users for input from Scala shell scripts, How to access command-line arguments in Scala shell scripts, The Rocky Mountains, Longmont, Colorado, December 31, 2020, Rocky Mountain National Park, Jan. 3, 2018, 12,000 feet up in Rocky Mountain National Park (Estes Park area), Two moose in Rocky Mountain National Park. Bash Read File line by line. Given a list of countries, each on a new line, your task is to read them into an array and then display the element indexed at 3. Close but doesn't separate each line with a space for the desired output. Locate the variable called PS1. options=$(