Categories > Coding > C# >

How can I use a Bash script to see if a software exists?

UlaDeia

Senior Developer

Posts: 14

Threads: 9

Joined: Jul, 2022

Reputation: 2

Posted

How would I check the existence of a program in such a way that it either returns an error and exits or continues with the script?

I'm reading this article from scaler academy and It appears to be simple, yet it has confounded me. Can someone help me out?

  • 0

Posts: 1391

Threads: 71

Joined: May, 2022

Reputation: 17

Replied

why the hell bash

  • 0

Did I mention I use arch btw?

SeizureSalad

i love femboys

Posts: 1153

Threads: 79

Joined: Mar, 2021

Reputation: 36

Replied

why bash lol and also why post in c#

  • 0

"Questionable intellegence, but I like the mystery" - CubeFaces

https://cdn.discordapp.com/attachments/1136067487847415848/1138948596679589898/sig.png

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )