#!/bin/bash ## Interactive prompt to show linux syntax Shortcuts=$HOME/Sync/Linux/Syntax/* echo "Which shortcut would you like to be shown?" for file in $Shortcuts; do echo $file done read input_variable echo "You've selected $input_variable'" cat $HOME/Sync/Linux/Syntax/$input_variable