You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a test the usage of which return always 0 even if the command aren't present on Solaris 10.
From tests, command seems to be a better solutions to use, both on 10.x and 11.x
Eg: command -v ping return 0 while command -v non_existing_command return 1
The text was updated successfully, but these errors were encountered:
From a test the usage of
which
return always 0 even if the command aren't present on Solaris 10.From tests,
command
seems to be a better solutions to use, both on 10.x and 11.xEg:
command -v ping
return 0 whilecommand -v non_existing_command
return 1The text was updated successfully, but these errors were encountered: