This website works better with JavaScript.
Explore
Help
Register
Sign In
Kerem
/
Linux
Watch
1
Star
1
Fork
You've already forked Linux
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8cbe5d026a
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '8cbe5d026a'
${ noResults }
Linux
/
scripts
/
check_installed.sh
12 lines
102 B
Raw
Blame
History
#!/bin/bash
check_installed
(
)
{
if
!
command
-v
$1
&
> /dev/null
then
echo
0
else
echo
1
fi
}
Reference in new issue
View Git Blame
Copy Permalink