Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Bourne / Bash shell scripting tutorial

Ubuntu Transform Linux into a Talking Companion
Post date: November 24, 2007, 16:11 Category: Miscellaneous Views: 2008 Comments: 0
Tutorial quote: Text-to-speech is really convenient, especially when you are lazy like me. Festival enables us to achieve a TTS system with limitless possibilities thanks to our Linux bash shell. I will show you some ways that we can use Festival as an enabler to our laziness and also produce some really cool and useful effects when coupling this technology with common things like PHP, cron, dnotify, or login scripts.
Linux Talking clock, written in bash using common utilities
Post date: October 20, 2006, 14:10 Category: Programming Views: 1746 Comments: 0
Tutorial quote: Build your own talking clock, using Bash and some common *nix utilities like sox. Articluates the time at random once an hour and hour and with a random pitch.
Includes very basic short scripts to get you going on basic bash coding and then puts it all together to produce the finished item.
Takes time out to explain as much as possible to a large audience.
Linux Breaking the SHELL
Post date: May 28, 2005, 20:05 Category: Programming Views: 1099 Comments: 0
Tutorial quote: Shell scripts are a part and parcel of almost all software applications running on UNIX, and the use simply spans from a trivial script, managing automatic database backup to bunch of scripts collaboratively doing complex operation on regular expressions.

Though it's a mere design decision to partition modules between scripts and programming language, but I personally feel that they sometimes come very handy saving lot of time and lines of code, when compared to implementing the same functionality in the programming language in context.And in fact with some exceptions, complexity of a shell script can scale to that of codes in C language. Add to this the power of all those numerous UNIX commands, and just think through, what can be achieved by shell scripts.
Here I will discuss few topics mainly relevant to intermediate shell programmers
Unix+clones UNIX Shell Programming QuickStart
Post date: April 12, 2005, 21:04 Category: Programming Views: 1140 Comments: 0
Tutorial quote: If you read, write, or maintain programs, the following samples will give you a quick overview of the construction and style of a shell script and introduce you to some of the constructs and syntax found in these programs.
Unix+clones Writing Shell Scripts
Post date: April 12, 2005, 21:04 Category: Programming Views: 1427 Comments: 0
Tutorial quote: With the thousands of commands available for the command line user, how can you remember them all? The answer is, you don't. The real power of the computer is its ability to do the work for you. To get it to do that, we use the power of the shell to automate things. We write scripts.
Unix+clones CLI Magic: OpenSSH + Bash
Post date: January 25, 2006, 14:01 Category: Network Views: 926 Comments: 0
Tutorial quote: As a system administrator, I have used OpenSSH's piping abilities more times than I can remember. The typical ssh call gets me access to systems for administration with a proven identity, but ssh is capable of so much more. In combination with bash's subshell invocation, OpenSSH can distribute the heavy work, reduce trace interference on a system under test, and make other "impossible" tasks possible. I've even used it to make Microsoft Windows remote administration easier.

In the examples below, I have tried to avoid GNU-specific idioms for tools which have non-GNU counterparts. This practice improves portability of shell scripts in heterogeneous environments.
Unix+clones How To Look Like A UNIX Guru
Post date: October 29, 2006, 20:10 Category: Miscellaneous Views: 2937 Comments: 0
Tutorial quote: UNIX is an extremely popular platform for deploying server software partly because of its security and stability, but also because it has a rich set of command line and scripting tools. Programmers use these tools for manipulating the file system, processing log files, and generally automating as much as possible.

If you want to be a serious server developer, you will need to have a certain facility with a number of UNIX tools; about 15. You will start to see similarities among them, particularly regular expressions, and soon you will feel very comfortable. Combining the simple commands, you can build very powerful tools very quickly--much faster than you could build the equivalent functionality in C or Java, for example.

This lecture takes you through the basic commands and then shows you how to combine them in simple patterns or idioms to provide sophisticated functionality like histogramming. This lecture assumes you know what a shell is and that you have some basic familiarity with UNIX.
Unix+clones Learn REXX fast
Post date: August 31, 2005, 20:08 Category: Programming Views: 1164 Comments: 0
Tutorial quote: If you’ve programmed under IBM operating systems, you’ve undoubtedly heard of Rexx. Rexx is the scripting and command language IBM bundles with all its mainframe, mid-range, and lower-end operating systems. What you might not be aware of is that Rexx also runs on almost every other operating system in the known universe. You can download Rexx free for all versions of Windows®, Linux, UNIX®, BSD, Mac OS, and DOS, and many other systems. It even runs on the three major operating systems for handheld devices: Windows CE, Palm OS, and Symbian/EPOC32.

What this means is, if you learn Rexx, you’ll know a scripting language that runs everywhere from mainframes to handhelds—and everything in between. Rexx is a general-purpose language that's powerful enough for mainframes yet flexible enough for other platforms. Best of all, Rexx is easy to learn.
Debian Managing Xen With Xen-Tools, Xen-Shell, And Argo
Post date: November 5, 2006, 15:11 Category: System Views: 1758 Comments: 0
Tutorial quote: This guide describes how to install and use xen-tools, xen-shell, and Argo on a Debian system. All three packages provide useful tools for the administration of virtual Xen machines. Xen-tools is a collection of Perl scripts that allow you to easily create, update, and delete Xen guest domains. The xen-shell provides a command-line interface to owners of Xen domains so that they can manage their Xen domains without the help of the server administrator. And with Argo, you can control Xen domains through a web interface or through a menu on the command line.
CentOS Chroot jail SFTP only OpenSSH 5.x
Post date: May 4, 2008, 19:05 Category: Security Views: 4771 Comments: 0
Tutorial quote: This tutorial describes how to set up a chroot jail (SFTP only) to allow your users to ONLY use sftp (no ssh/bash/), and keep them stuck inside their own home directory. This tutorial is known to work on many other distributions as well as CentOS.
This tutorial is for the 4.9-5.x updates of OpenSSH