I have been studying bash recently.
I need a bash code that displays a list of files in the current directory and prompts for which file to execute.
If the user enters a valid choice, then the executable file selection should be invoked.
|
I have been studying bash recently. I need a bash code that displays a list of files in the current directory and prompts for which file to execute. If the user enters a valid choice, then the executable file selection should be invoked. | |||||||||||
feedback
|
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.
|
To get you started, look up these constructs in the bash manual.
| |||
feedback
|