37195/how-to-take-input-from-user-in-bash-script
You can use if-else branch to check the input and then do the associated task:
echo -n "Enter Yes or No:" read answer if ["$answer" = "Yes"]; then # Yes associated task else # No associated task fi
If u copy single files, it takes ...READ MORE
Hi@akhtar, You can extract text from a file. ...READ MORE
I'm starting a number of screens in ...READ MORE
I would like to keep my .bashrc and .bash_login files in ...READ MORE
Please check the below-mentioned syntax and commands: To ...READ MORE
Try using systemd isntead of a cron ...READ MORE
Here is what you can do.Just use packagesmatching to ...READ MORE
I needed to do a similar thing ...READ MORE
You can use this: stat -c "%a %n" ...READ MORE
To create a symbolic link, you can ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.