Hi, I am faily new to linux and bash scripting. But essentially what I am trying to do is create a small bash script that will automatically install a driver I want. I can do it manually but I want to create a script so I won't forget, since it is an internet driver I won't be able to get help when trying to install it on my computer unless I have another one nearby.
Anyways, what I want to do is first extract the driver from its zip archive. So I want the bash script to read the full path to the archive and unzip it. I so far have a prompt that says to drag the driver onto the terminal screen, and in doing so this stores the filepath (enclosed by single quotations) in the variable "ans".
So how do I parse the variable so that the single quotations are excluded when I run an unzip command on the variable?
---------- Post updated at 05:23 PM ---------- Previous update was at 05:20 PM ----------
Hi,
i'm using a debian-4.0r1 on an old subnet machine.
I have to extend it with an other keyboard .
What i have is a DVD of etch 4.0r7.
How can i install and load the keyboard-driver for the us-keyboard?
Can anybody please give me a hint how to do that?
Thanks in advance (0 Replies)
I have a really old distro (FC7) that I am trying to make compatible with some new hardware (ie. new RAID drivers)...
I put the RAID driver into the ISO so that the installer can detect the RAID set... but post-install (aka: first boot) it appears that the Anaconda-generated initrd does not have... (0 Replies)
I'm planning to install the Ubuntu OS on my laptop(currently has windows Vista), but I don't know if Ubuntu is good. Do you need to install any drivers for Ubuntu? Can I send stuff to my printer in Ubuntu? Is it compatible with my printer driver? (1 Reply)
hi guys
i am using fedora 14
but today moving to OpenBSD4.8
and remove all part hard :mad:
but easy install programs pkg_add program :b:
now
How i can install Driver ATI on OpenBSD 4.8 ?
and i am use "lspci" show hardware but not work openbsd
&
how i can create part my home size... (0 Replies)
Hi Gurus of Unix
Recently I install a OpenSolaris in My HP 530
In this moment want to install a USB-A to Serial Cable. Any guru can send a Link where I can use how reference.
I want to configure a Router and my PC don't have any serial Port.
My LapTOP only has USB ports. In this case I buy a... (2 Replies)
hi
I have a fresh installation of SCO 5.0.6 and I have download a NIC driver for Intel Pro 1000:
ftp://ftp.sco.com/pub/openserver5/507/drivers/eeG_5.0.7g/VOL.000.000
Howto install it using floppy?
---------- Post updated at 04:02 PM ---------- Previous update was at 02:18 PM... (0 Replies)
Hi all
I had update a server from Solaris 8 to Solaris 10
is it the HBA driver still need to reinstall?
since i can get the driver info as below:
root@sgerpdev # fcinfo hba-port
HBA Port WWN: 21000003ba9b58a3
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
... (1 Reply)
When I boot up the Solaris 10 5/09 install CD and select 'Solaris' from the GRUB menu that comes up, a menu loads. Option 5 is 'Apply Driver Updates'. Can I install the Gani driver using that? I tried using the tar file (the way it came) that I wrote to a floppy but when I asked it to look at the... (8 Replies)
Hi ,
How to check the drivers of a dat tape? And once downloaded how to install drivers for the same??
Where to download drivers from? Having some trouble with Dat tape drive configuration.. (2 Replies)
I have a new Dell PowerEdge 2900 with perc5/i and no os. I need to install SCO Openserver 6 and I need create a megasas BTLD floppy in order to install the os.
http://ftp.sco.com/pub/unixware7/714/drivers/megasas_1.1/README.hba.megasas.1.1.txt
According to the link, I need to download the... (4 Replies)
LIBBASH(7) libbash Manual LIBBASH(7)NAME
libbash -- A bash shared libraries package.
DESCRIPTION
libbash is a package that enables bash dynamic-like shared libraries. Actually its a tool for managing bash scripts whose functions you may
want to load and use in scripts of your own.
It contains a 'dynamic loader' for the shared libraries ( ldbash(1)), a configuration tool (ldbashconfig(8)), and some libraries.
Using ldbash(1) you are able to load loadable bash libraries, such as getopts(1) and hashstash(1). A bash shared library that can be loaded
using
ldbash(1) must answer 4 requirments:
1. It must be installed in $LIBBASH_PREFIX/lib/bash (default is /usr/lib/bash).
2. It must contain a line that begins with '#EXPORT='. That line will contain (after the '=') a list of functions that the library
exports. I.e. all the function that will be usable after loading that library will be listed in that line.
3. It must contain a line that begins with '#REQUIRE='. That line will contain (after the '=') a list of bash libraries that are
required for our library. I.e. every bash library that is in use in our bash library must be listed there.
4. The library must be listed (For more information, see ldbashconfig(8)).
Basic guidelines for writing library of your own:
1. Be aware, that your library will be actually sourced. So, basically, it should contain (i.e define) only functions.
2. Try to declare all variables intended for internal use as local.
3. Global variables and functions that are intended for internal use (i.e are not defined in '#EXPORT=') should begin with:
__<library_name>_
For example, internal function myfoosort of hashstash library should be named as
__hashstash_myfoosort
This helps to avoid conflicts in global name space when using libraries that come from different vendors.
4. See html manual for full version of this guide.
AUTHORS
Hai Zaar <haizaar@haizaar.com>
Gil Ran <ril@ran4.net>
SEE ALSO ldbash(1), ldbashconfig(8), getopts(1), hashstash(1)colors(1)messages(1)urlcoding(1)locks(1)Linux Epoch Linux