stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


SysAdmin to SysAdmin: Programming with bash







SysAdmin to SysAdmin: Programming with
bash

SysAdmin to SysAdmin: Programming with
bash
06/23/2004 04:30 AM

Face it, you can't become any kind of respectable administrator without knowing a decent bit about shell scripting. You don't have to be the "Bashmeister General" or anything, but having a firm grasp on the basics will get you out of a lot of jams, and provide a foundation for furthering your experience and your skill. In this article we'll cover some programming functionality of the bash shell.




This is a GrokNews Entry: (what is grok?)





Similar Items

SysAdmin to SysAdmin: Programming with bash

Grok Headline matches for SysAdmin to SysAdmin: Programming with bash

SysAdmin to SysAdmin: Linux is the Unix
reference implementation


SysAdmin to SysAdmin: Linux is the Unix
reference implementation
05/12/2004 10:01 AM
When you quit picking on Windows and start picking on Unix vendors for not being "Linuxy" enough, you've become a true zealot. However, if you consider administration, education, software development, and the labor market (at least in the U.S.), the notion of Linux being the de facto standard Unix starts to look a little less goofy.

SysAdmin to SysAdmin: using Ximian tools
for system maintenance


SysAdmin to SysAdmin: using Ximian tools
for system maintenance
05/05/2004 12:53 PM
Have you ever needed an automated solution that requires very little administration intervention, works on possibly different flavors of Linux, and doesn't require software with 'phone home' functionality? A solution based on free software which is scriptable and flexible enough to allow updates from a locally mounted source, as opposed to a remote mirror?

SysAdmin to SysAdmin: Educate users
about strong passwords


SysAdmin to SysAdmin: Educate users
about strong passwords
07/21/2004 04:22 AM
General concepts in security escape most end users, pointy-haired bosses, and other decision-makers, and even some junior administrators. While the more senior technologists may not ever hope to get them to relate to the finer points of DMZs and VLANs, we should at least continue to push and educate in the area of passwords.

SysAdmin to SysAdmin: IP's binary roots


SysAdmin to SysAdmin: IP's binary roots 04/21/2004 08:55 AM
A wise man once said, "There are only 10 kinds of people in the world -- those who understand binary, and those who don't." OK, so I saw it on a T-shirt. Fact is, if you're in charge of a network, or just want to understand how your network ticks, understanding binary is a requirement. Luckily, binary isn't very difficult when it's applied to something you already know -- namely, IP addresses and subnet masks.

SysAdmin to SysAdmin: Service monitoring
with Nagios


SysAdmin to SysAdmin: Service monitoring
with Nagios
09/15/2004 03:18 PM

SysAdmin to SysAdmin: Perl's Tie::File
module


SysAdmin to SysAdmin: Perl's Tie::File
module
06/02/2004 03:50 AM
Two factors outshine all others as reasons I became a systems administrator. The first is that, well, I like computers and computing. The second is that I'm not particularly fond of writing code. If I were, I'd probably be a programmer. As it stands, if I can find tools that work, I won't write code. However, inevitably, some site-specific situation will come up for which I have no choice. In that case, I at least want to write very little code. Perl's Tie::File has helped me do that on more than one occasion.

SysAdmin to SysAdmin: Using RAID with
PVFS under ROCKS


SysAdmin to SysAdmin: Using RAID with
PVFS under ROCKS
01/06/2005 03:14 PM

SysAdmin to SysAdmin: Using Jabber as a
log monitor


SysAdmin to SysAdmin: Using Jabber as a
log monitor
06/09/2004 04:26 AM
Jabber, the streaming XML technology mainly used for instant messaging, is well-suited to its most common task. However, Jabber is a far more generic tool. It's not a chat server per se, but rather a complete XML routing framework. This has some pretty far-reaching implications.

SysAdmin to SysAdmin: Netgroups are not
just for NIS anymore


SysAdmin to SysAdmin: Netgroups are not
just for NIS anymore
04/28/2004 03:59 PM
With recent advances in freely available LDAP client utilities, Linux administrators can now take advantage of some of the benefits of network groups without the overhead of maintaining a NIS server. In this article, I'll explain what netgroups are, and how they can help you get finer-grained control over your local system security.

SysAdmin to SysAdmin: Scripting
languages


SysAdmin to SysAdmin: Scripting
languages
06/16/2004 03:54 AM
Theoretically, the ultimate goal for a system administrator, whether you're in a large data center or a small home network, is to script yourself out of a job. The more you can automate tasks, the more time you can spend researching new technologies, deploying new services, and playing Quake! Experienced administrators generally have at least three scripting languages under their belts for regular use, and probably have books that cover one or two more for occasional use. Beginners, however, sometimes have a hard time deciding which tools to devote their learning cycles to. This article aims to help those users come to grips with the many options available.

SysAdmin to SysAdmin: bring out your
inner xargs


SysAdmin to SysAdmin: bring out your
inner xargs
04/14/2004 05:14 AM
xargs is your friend. Using xargs, you can pull off feats of greatness and not have to write a script to do it. xargs can take care of things right on the command line. Though I focus mainly on files in this article (it's what I use it for almost exclusively), it's important to remember that xargs acts on standard input, which could mean lines redirected from /var/log/messages or urls or whatever else you can manage to point in its direction.

SysAdmin to SysAdmin: GUI administration
with KSysguard


SysAdmin to SysAdmin: GUI administration
with KSysguard
05/19/2004 08:55 AM
I only recently came across KSysguard, a great application for making productive use of the desktop real estate currently occupied by less useful things like end-user emails and the GAIM window, as a result of switching my desktop from Fedora to SUSE 9.1, but KSysguard has apparently been around since the KDE2 days.

SysAdmin to SysAdmin: Approaching Perl


SysAdmin to SysAdmin: Approaching Perl 07/07/2004 04:59 AM
Writing an article about getting started with Perl is a bit like writing an article about getting started with neurosurgery. Sure, I could cover some basics -- but it would only leave you scratching your head the first time something comes up that you've never seen. I'd hate to see a neurosurgeon in that position! But no matter what you do, there are always times when you just don't know an answer. A much more horrible fate to suffer is to have no clue where to go to find the answer. So, this article covers one or two basics of Perl, just to show you that's it's not so scary, and a future article will tell you where to find solutions when you're on your own.

SysAdmin to SysAdmin: Did you ever have
one of those weeks?


SysAdmin to SysAdmin: Did you ever have
one of those weeks?
05/26/2004 08:56 AM
This week's little computer-based irritations have reached the overload state for me. I need to vent a little to folks who'll understand the frustrations.

SysAdmin to SysAdmin: Awk is your friend


SysAdmin to SysAdmin: Awk is your friend 06/30/2004 04:21 AM
The nice thing about humans is that they're at least somewhat predictable. Given the choice between having data randomly strewn about, and having it in some predictable pattern, humans will generally choose predictable patterns (Microsoft filesystem management issues notwithstanding). These patterns are what make awk, a pattern-matching programming language, a wonderful tool for systems administrators, database administrators, and even command-line junkies who use their box mainly for pleasure. The notion of being able to write a one-line command to do almost anything draws ever closer with awk in your toolbelt.

BE the sysadmin?


BE the sysadmin? 08/05/2004 04:23 PM
Here's a question in the ongoing quest of starting my own company. I'm a pretty bad sysadmin, so I'd like to work together with someone good for some projects I have planned. Have you worked together with a sysadmin on an irregular basis? I don't imagine paying someone every week - ...

ClairVoyanT SysAdmin 0.2


ClairVoyanT SysAdmin 0.2 12/25/2003 01:56 PM
A tool for running commands by email.

The Oft Frustrating Job of a Sysadmin


The Oft Frustrating Job of a Sysadmin 03/06/2004 02:04 AM
Slashdot Mar 6 2004 4:10AM GMT

ClairVoyanT SysAdmin 0.1.9.7


ClairVoyanT SysAdmin 0.1.9.7 12/05/2003 07:51 PM
A tool for running commands by email.

ClairVoyanT SysAdmin


ClairVoyanT SysAdmin 11/04/2003 09:46 AM
cvtsa-0.1.9.6 has been released!

The Home Sysadmin


The Home Sysadmin 08/02/2004 01:18 AM
Notes from the Lab: As our dwellings become increasingly connected, managing a home network is becoming a bigger and bigger priority. How do we keep our digital lives organized, given the already heavy demands on our time? Plus: A sneak peek at the upcoming week's stories.

Happy Sysadmin Appreciation Day, Ken!


Happy Sysadmin Appreciation Day, Ken! 07/30/2004 05:06 AM
Today is Sysadmin Appreciation Day, and it's long overdue. I started out as a sysadmin, and I'm here to tell you that sysadmins are the secret masters of the universe, underappreciated, all powerful, and indispensible. The world would crumble into dust but for the diligent work of our sysadmins.

I'd like to take a moment to recognise Boing Boing's volunteer sysadmin, the incomparable Mr Ken Snider, whose indispensible work is the reason that Boing Boing has such killer availability and uptime.

I'd also like to thank Chris Smith, who runs our submit-a-link form, instituting countermeasures against formspammers and catching the bounces.

Also due for appreciation is Carl Steadman, the long-time host of Boing Boing, whose donated services and connectivity made this all possible.

Finally, my appreciation to the sysadmins at EFF, past and present: Matt Peterson, Chris Palmer and Marc Perkel. Thanks for keeping the Internet working (oh, and lest I forget, the OpenCola sysadmins: Helen, Michael, Karl, and Ken [again!]). Link

My sysadmin is a special constable


My sysadmin is a special constable 12/11/2003 05:00 PM
Stop, Hacker!

PHP Sysadmin Script Collection


PHP Sysadmin Script Collection 04/09/2005 03:30 AM
PSSC v0.1.2 released!

Lee's SysAdmin Tools


Lee's SysAdmin Tools 08/11/2004 10:04 AM
sgzlogs 0407xx

ClairVoyanT SysAdmin 0.0.5 (WEBCVTSA
branch)


ClairVoyanT SysAdmin 0.0.5 (WEBCVTSA
branch)
03/14/2005 06:19 PM
CVTSA is a suite of tools that allows users to administrate a GNU/Linux system via the Web or email, without running daemons and opening ports on their own computer. WEBCVTSA is a tool that allows users to administrate a GNU/Linux system by using a form on a Web page to post commands. It supports Blowfish encryption and has a lot of interesting applications.
Changes:
Command execution with forking execlp has been fixed.

ClairVoyanT SysAdmin 0.0.1 (WEBCVTSA
branch)


ClairVoyanT SysAdmin 0.0.1 (WEBCVTSA
branch)
02/01/2005 09:46 PM
CVTSA is a suite of tools that allows users to administrate a GNU/Linux system via the Web or email, without running daemons and opening ports on their own computer. WEBCVTSA is a tool that allows users to administrate a GNU/Linux system by using a form on a Web page to post commands. It supports Blowfish encryption and has a lot of interesting applications.

NYC: Junior SysAdmin/Helpdesk Staffer


NYC: Junior SysAdmin/Helpdesk Staffer 07/09/2004 06:39 PM
Trafficmac, an online ad trafficking company, seeks junior system administrator to join our team in New York City (Manhattan).

TX Linux Sysadmin / Tech Support


TX Linux Sysadmin / Tech Support 08/01/2004 08:22 AM
Manage Linux server infrastructure and provide technical support and pre-sales assistance.

ClairVoyanT SysAdmin 0.0.8 (WEBCVTSA
branch)


ClairVoyanT SysAdmin 0.0.8 (WEBCVTSA
branch)
03/22/2005 03:52 PM
CVTSA is a suite of tools that allows users to administrate a GNU/Linux system via the Web or email, without running daemons and opening ports on their own computer. WEBCVTSA is a tool that allows users to administrate a GNU/Linux system by using a form on a Web page to post commands. It supports Blowfish encryption and has a lot of interesting applications.
Changes:
Support was added for sending confirmation emails when commands are executed. The README file was updated. A configuration script was added. Logging of executed commands with relative date was implemented.

sysadmin & Perl programmer for daemons
and interfaces


sysadmin & Perl programmer for daemons
and interfaces
03/23/2005 07:46 PM
Personalmanagement Blank GmbH - Germany, Bayern, Munich (2005-03-23)

Production Engineer, Linux/Perl/SysAdmin
- Bangalore, India


Production Engineer, Linux/Perl/SysAdmin
- Bangalore, India
03/28/2005 11:47 PM
Yahoo! Inc - India, Karnataka, Bangalore (2005-03-28)

Apache/mod_perl/MySQL
programmer/sysadmin for weather
forecasting group


Apache/mod_perl/MySQL
programmer/sysadmin for weather
forecasting group
07/19/2004 04:30 PM
Quantum Weather - United States, Colorado, Durango (2004-07-19)

Computerworld Australia: Google Sysadmin
Preaches Debian for Software Management


Computerworld Australia: Google Sysadmin
Preaches Debian for Software Management
06/20/2004 07:11 PM
"Caught up in the tangle of manually installing and updating software, enterprises can find a tip or two in the open source community’s book on how to streamline the process..."

Senior perl programmer/ software
engineer / technical director / sysadmin


Senior perl programmer/ software
engineer / technical director / sysadmin
11/10/2003 11:32 PM
Spectra Ltd. - United Kingdom, London (2003-11-08)

bash on Mac OS X


bash on Mac OS X 03/06/2004 01:52 AM
O’Reilly: bash on Mac OS X. I need to read this because I’m still using tcsh, and I have a number of aliases I need to convert before I can switch.

Env-Bash-0.03


Env-Bash-0.03 12/24/2004 12:11 PM

bash!


bash! 10/28/2003 11:06 PM
I did clean installs of Panther, so I got the defaults of everything, and I discovered that the default shell in Panther is bash!

Given the popularity of bash on Linux that’s probably the right choice. But I’ve been using tcsh since the OS X public beta, and I don’t want to switch.

So, easily enough, I changed my shell to tcsh. In case you’re wondering how to do this, here’s what I did: in NetInfo Manager I navigated to /users/brent, then clicked the lock to make changes, then set the value of the shell property to /bin/tcsh, then I logged out then back in.

Here’s a page on Mac OS X Hints that goes into more detail.

Env-Bash-0.04


Env-Bash-0.04 12/24/2004 12:10 PM

Grok Description matches for SysAdmin to SysAdmin: Programming with bash
GrokA matches for SysAdmin to SysAdmin: Programming with bash

SysAdmin to SysAdmin: Programming with bash

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

Vote for who should
run the UK's
Internet

Broadband gets FCC
chairman hot

Apple iTunes Europe
shifts 0.8m songs in
first week

Carlyle and Kyocera
dig deep into DDI
Pocket

Oracle - Microsoft
sales battles
revealed in court

Call centres 'bad
for income and
health'

Tunes Create Context
Like Language -
Maths Shows Why
Tonal Music Is Easy
Listening

TRIBnet 24-hour News
Page

Reads, Chortles,
& Smirks - Why
nobody's learning
anything from Lynne
Truss. By Timothy
Noah

Billy Jeff Clinton's
memoir Contradicts
Testimony on
Lewinsky

The New York Times
> Science >
Cones, Curves,
Shells, Towers: He
Made Paper Jump to
Life

Paramedics comfort
distraught Britney

WorldNetDaily: Bush
to screen population
for mental illness

Computer 'sick' days
revealed

fSONA Announces New
Scalable 2.5 Gbps
Free Space Optical
Wireless System

Touchstone
Technologies
Announces WinEyeQ,
an Intelligent,
Affordable
Software-Based VoIP
(Voice and Video
over IP) Call
Monitoring and
Analysis Tool for
SIP and H.323

Life Imitate Art, Or
Is Art Too Real?

Quaker Valley
Schools Computer
Lease Approved

UK Servicemen to Be
Released Today, Iran
Says (Reuters)

Envoy: Pyongyang
Willing to Give Up
Nukes (AP)

Iran Orders Release
of British Sailors
(AP)

Genocide is
happening today in
Sudan

The Ants of 9-11
Dixons profits
prompt expansion

Finucane inquiry
'blocked'

Policemen killed in
India blast

'Al-Qaeda tape'
threatens Iraq PM

Rugby: Johnson in
car crash

BBC outlines
post-Hutton reforms

Iran 'to release UK
sailors soon'

bwbunit 2004.6.1
DCVMStools 0.9
Cerc 0.2
pam_imap 0.3.6
ScheduleWorld 1.4.5
Pogo 3.0RC39
phpDiveLog 0.1.1
ToolLogger 0.1
Mondo Rescue 2.01
(Stable)

Wasabi 0.2.1
DALLAB announces its
new generation of
Bluetooth™ headsets

DLINK 704, script
injection
vulnerability

Silicon Graphics
Awards Contract to
STR Software for
Automated Fax System

United Water Selects
WaterGEMS —Haestad
Methods’ WaterGEMS
Rated No. 1 in
Comprehensive
Evaluation—

Hosting Controller
v.6.1 Released

eWarna and Hangzhou
Hi2000 Form
Strategic Marketing
Partnership

HSLAB Print Logger
SE has been
released!

Planning Can be
Faster with
Drag-and-Drop

Servergraph™
Improves Support for
StorageTek® Tape
Libraries

SYPHA Launches New
Edition of The NLE
Buyers Guide

what is grok?