![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script to open program and send/execute command in program | tuathan | UNIX for Dummies Questions & Answers | 1 | 11-19-2008 09:59 PM |
| A program to trace execution of another program | jiten_hegde | High Level Programming | 3 | 08-19-2008 06:26 AM |
| Checking which databases are installed | figaro | UNIX for Dummies Questions & Answers | 3 | 03-08-2008 02:31 PM |
| How to know the program 'perl' is installed ? | zp523444 | UNIX for Dummies Questions & Answers | 3 | 12-13-2005 07:06 PM |
| I 've installed Red Hat 7.2 but ????Help | atiato | UNIX for Dummies Questions & Answers | 2 | 02-07-2002 02:37 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Checking whether program is installed
I currently use this construction to check whether a certain program is installed:
Code:
if [ ! -e `which sqlite3` ]; then
cd /usr/ports/databases/sqlite3 && make install clean
else
echo "sqlite already installed"
fi
|
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|