Thread: How can we check
how can check whether program installed or not??
suppose want write script checks whether mysql installed or not..
if installed should ask me password of root... connect database , create database...
if not should ask me whether want install mysql or not??
if entered "y " should install mysql , mysql server
don't understand how can check whether program installed or not??
if installed suppose if try enter database root
if enter in command prompt prompt me password how can in shell script??code:mysql -uroot -p
, if installing newly using
how can prompt root password ??code:apt-get install mysql apt-get install mysql-server
ask me root password how possible if try install through shell script??
possible automatically ask me enter root password doing in shell script???
mean shell script series of commands right?
have tried whereis, examplehow can check whether program installed or not??
whereis mysql
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk How can we check
Ubuntu
Comments
Post a Comment