-1

I'm trying to run .sh script to check if aws-azure-login is installed or not and install it if it's not installed.

any ideas would be appreciated!

  • What have you tried? Where are you getting stuck? Stack Overflow isn't your personal code-writing service - see [ask]. – esqew Mar 31 '22 at 01:54
  • Please research your inquiry before posting here in accordance with [ask]. Duplicate of https://stackoverflow.com/questions/7522712/how-can-i-check-if-a-command-exists-in-a-shell-script – esqew Mar 31 '22 at 01:55

1 Answers1

-1

There is already many commands that let you find packages, such as 'which' and 'find'. You can check using those commands.

Primitive
  • 108
  • 1
  • 6
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 31 '22 at 04:57