Elektrine lite

← Feed

@floquant@lemmy.dbzer0.com

Post #569410

2026-03-07 11:27 UTC

You can test if a command exists in several ways, but the most portable one should be using command -v which is POSIX. if command -v playerctl &> /dev/null # do things else # warn and exit end

Replies (0)

No replies.