Search Results

Search: Posts Made By: greavette
4,450
Posted By greavette
Thanks Again RudiC for your help. I'll now be...
Thanks Again RudiC for your help. I'll now be able to use the 2>/dev/null || echo "not installed" in future one line command scripts.

Your solution worked perfectly! :b:
4,450
Posted By greavette
Bash find version of an installed application but if none is found set variable to App Not Installed
Hello Forum,

I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:

APP=application --version

But if the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy