corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Scripting in Linux.


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Scripting in Linux.
PhilC
Member

Registered: 21st Jan 06
Location: Lancs, UK
User status: Offline
25th Nov 09 at 13:21   View User's Profile U2U Member Reply With Quote

Hi guys,

I need to write a script that will launch terminal, copy a driver from USB to usr\home, then install the driver.

I have all the commands I need to type it out, and it works. Just don't know how to make something I can just double click.

I need to install this driver on 200 laptops!
PhilC
Member

Registered: 21st Jan 06
Location: Lancs, UK
User status: Offline
25th Nov 09 at 15:20   View User's Profile U2U Member Reply With Quote

#!/bin/sh

Done it.
willay
Moderator
Organiser: South East, National Events
Premium Member


Avatar

Registered: 10th Nov 02
Location: Roydon, Essex
User status: Offline
25th Nov 09 at 18:05   View Garage View User's Profile U2U Member Reply With Quote

or chmod +x filename to make it executable
PhilC
Member

Registered: 21st Jan 06
Location: Lancs, UK
User status: Offline
26th Nov 09 at 08:57   View User's Profile U2U Member Reply With Quote

chmod 755 driverscript.sh

I think that made it work?

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Linux... Mikorsa16v Geek Day 0 1263
15th Sep 03 at 17:42
by Mikorsa16v
 
any LINUX users in the house? need help..... M2RTY Geek Day 21 1947
27th Feb 04 at 15:12
by M2RTY
 
2 pcs + broadband?? Martin_C Geek Day 20 1117
20th Jul 04 at 02:24
by drunkenfool
 
look what came through the post today :-) Jas Geek Day 15 632
1st Dec 06 at 17:28
by aPk
 
VB Scripting With GPO's iceman Geek Day 4 379
1st Apr 09 at 20:32
by pow
 

Corsa Sport » Message Board » Off Day » Geek Day » Scripting in Linux. 28 database queries in 0.0196469 seconds