![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| shell script that adds two integers and display answer on screen | wanyac2 | Shell Programming and Scripting | 1 | 07-04-2008 09:37 AM |
| Shell script answer prompts? | eltinator | Shell Programming and Scripting | 4 | 08-29-2007 11:15 AM |
| Shell script fundamental Questions | pankajkrmishra | Shell Programming and Scripting | 2 | 07-21-2006 02:14 AM |
| urgent- please answer these set of questions | uni_ajay_r | UNIX for Dummies Questions & Answers | 6 | 05-14-2006 09:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Answer Terminal Questions With Shell Script?
First off, I am using Mac OS X, with Apple Remote Desktop.
I have to install several app's on teachers' laptops which are on several cd's that I have made disk images of. (DMG's) To do rollouts quicker, I have written a script to mount the disk images and running the installers inside each of the disk images (this is not done yet, but in progress) Here's the script. Code:
#!/bin/sh #Version .1a, by XXXXXXXX ##Installer script for TeacherEXPRESS apps and expansion packs ##First, mount the DMG files ##Usage: hdiutil mount AppName.dmg cd / ##Change to /Science for final run hdiutil mount /Install_Teacher_express.dmg Code:
Are you sure you want to mount the image? (Y/N) |
|
||||
|
Quote:
and can automatize installation any software ![]() Code:
# printf "y Yes Yes n /path/to/file " > /tmp/answers # my_script.sh < /tmp/answers |
| Sponsored Links | ||
|
|