User prompt with touch command?
Hopefully I've got a simple question for you. I am working on putting together a bash script to automatically gather system information into a file from various commands.
I've got most everything else figured out, but I am wondering if there is a way that I can use the touch command for something like the following:
The script would be executed, and the first step would be a prompt that asks the user for the name of the system they are working on. For example:
What is the name of the system you are currently working on?
The user would then enter the name of the system, and then the touch command would create a file with the name that the user entered.
Is something like this possible? Thanks!