11-18-2011
Noob to Shell Scripting
Hello. I'm attempting to create a shell script to assist me by saving time with one of my hobbies. I am an Android Enthusiast and currently build a few roms for one of the devices.
One of the roms I make is ported from a different device to mine (I get the original for the HTC Desire HD and port it to the HTC Glacier)
This gets updated weekly and has a lot of minor changes which have to be made every time. I believe a script can help me with this, but I'm inexperienced with this.
I'm rather new to Linux. I used Ubuntu for about eight months and then switched to Linux Mint which I've been using now for about a month, before that is was all window$.
What would be a good guide, either online tutorial, or else a book I can buy to start working on this task? As I understand there are a few different languages you can script in, what would be ideal in this task? (it needs to start with two .zip files, break them down, then assemble the files into a new, corrected amalgamation of the two.
Thanks for your input, I appreciate it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
2. Shell Programming and Scripting
Hi all,
I am trying to write a shell script that will move files from one directory to another, the only thing is I want to to check loads of different source directory and move the files to loads of different directories.
I am totally new to shell scripts but not to UNIX (although I would... (16 Replies)
Discussion started by: Sax
16 Replies
3. Shell Programming and Scripting
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies
4. UNIX for Dummies Questions & Answers
Hello everyone.
i work in a school and i ran into an application today that is a real pickle. i know how to make it work, but i would need to script it. The way to make it work would be to have a script check each local user profile on login, see if the directory already exists, do nothing... (27 Replies)
Discussion started by: jscan
27 Replies
5. Web Development
i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies
6. UNIX for Dummies Questions & Answers
Hi I'm pretty new to scripting and I've been googling around looking for an answer but have yet to come up with a proper solution. I work with multiple android devices at a time and I'm looking to simplify my life with a script. Basically I'm looking for a script that takes the device ID's and then... (2 Replies)
Discussion started by: Onyoursix
2 Replies
7. Shell Programming and Scripting
I'm having some difficulty with convincing Expect to do what I need..
I have a loop that waits for input, a specific phrase of text followed by a single word. I need Expect to capture that word following the specific phrase. It should then store the word in a variable.
I'm fairly sure it's... (6 Replies)
Discussion started by: LongLeafTea
6 Replies
8. Shell Programming and Scripting
Hello,
I am in a Unix class and have been out of town. I have been tasked to generate a couple of scripts and ahve never done it before. I have a virtual machine running Ubuntu. The task is below
Prompt the system administrator for all valid input parameters
Generate a menu to ask which... (1 Reply)
Discussion started by: jkeeton81
1 Replies
9. UNIX for Beginners Questions & Answers
Hey Guys and Gals, Im a complete Noob to Unix. But recently have started working on a unix system for my PET/CT scanner. My scanner comes with a MOD drive for backup. I would like to back up to USB (its alot cheaper). But the only way to do so is by manually enterin the unix commands. Id like to... (13 Replies)
Discussion started by: TorresGXL
13 Replies
10. Shell Programming and Scripting
Hello All,
I have a file of ip addresses called activeips.txt
What I'm trying to do is run a simple bash script that has a loop in it. The loop is a cat of the IP addresses in the file.
The goal is to run 2 nmap commands to give me outputs where each address in the list has an OS... (11 Replies)
Discussion started by: Dirk_Pitt
11 Replies
LEARN ABOUT LINUX
ifplugd.conf
ifplugd.conf(5) File Formats Manual ifplugd.conf(5)
NAME
ifplugd.conf - ifplugd configuration file
SYNOPSIS
/etc/default/ifplugd
DESCRIPTION
ifplugd.conf is the configuration file for ifplugd. It is a shell script that is sourced by the init script starting the daemon. It shall
be used to set environment variables which are interpreted by the init script:
OPTIONS
INTERFACES
Specifies the ethernet interfaces to monitor. It has to contain a space seperated list of network interfaces names. Most users will
probably use "eth0" here, however you may add additional interfaces for monitoring more than one device. A special value is sup-
ported as well: "auto" will enable a more or less working auto detection of available network devices. This won't make you happy
when using network module auto loading, since it cannot detect currently unloaded network devices.
HOTPLUG_INTERFACES
Specifies the interfaces that can be hotplugged (like interfaces on PCMCIA, USB or WLAN adapters). "all" can be used to make the
udev script start an ifplugd process for any hotplugged interfaces (except those already listed in INTERFACES).
ARGS Additional command line arguments for ifplugd invocation. See ifplugd(8) for further information.
ARGS_iface
If specified for an interface this variable takes precedence over ARGS. This may be useful if more than one network device is
present.
SEE ALSO
ifplugd(8)
COMMENTS
This man page was written using xmltoman(1) by Oliver Kurth.
Manuals User ifplugd.conf(5)