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

Search results for Have a Bash With This Linux Shell

Unix+clones

Bash tips and tricks

Post date: November 26, 2007, 05:11 Category: Software Views: 39491 Comments
Tutorial quote: For the uninitiated, bash is the default shell in many Linux distros, including Fedora, Ubuntu, Redhat etc etc. If you use a Linux based OS, then chances are that you are using bash. For this reason, I outline below a few common annoyances, and the simple ways to overcome them.
Unix+clones

Have a Bash With This Linux Shell

Post date: April 15, 2005, 05:04 Category: Programming Views: 3085 Comments
Tutorial quote: Any Linux administrator who wishes to remain sane relies heavily on scripting to automate routine tasks, customize jobs, and build the plumbing that connects the different utilities that make a Linux system run smoothly. The Linux world is chock-full of scripting languages: Perl, Python, PHP, Scheme, Tcl, Tk, Ruby, Forth, Smalltalk, Eiffel, and doubtless many more. To get the column started, we'll look at shell scripting with Bash, and scripting with Python and Perl.
Linux

Bourne / Bash shell scripting tutorial

Post date: October 11, 2006, 20:10 Category: Programming Views: 6087 Comments
Tutorial quote: A Bourne Shell Programming/Scripting Tutorial for learning about using the Unix shell. Learn linux / Unix shell scripting by example along with the theory. We'll have you mastering Unix shell scripting in no time!
Unix+clones

A quick guide to writing scripts using the bash shell

Post date: December 23, 2007, 20:12 Category: Programming Views: 6821 Comments
Tutorial quote: This quick bash scripting guide will have you writing scripts in no time.
Linux

Tweakin' your Bash Prompt

Post date: January 6, 2007, 22:01 Category: System Views: 4197 Comments
Tutorial quote: A friendly companion to the Bash-Prompt HOWTO, including a new trick to make the prompt change color dynamically based on your log-in. In the process, the overview could be handy in doing other Bash prompt tricks.
Ubuntu

Transform Linux into a Talking Companion

Post date: November 24, 2007, 22:11 Category: Miscellaneous Views: 4294 Comments
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.
Unix+clones

CLI Magic: OpenSSH + Bash

Post date: January 25, 2006, 20:01 Category: Network Views: 2926 Comments
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.
Linux

Automating the Login Script

Post date: April 17, 2005, 10:04 Category: Miscellaneous Views: 2459 Comments
Tutorial quote: In a perfect world, you could spend a few weeks creating a system and the result would be a system that never required manual maintenance or modifications. Whether this ideal will ever be achieved is debatable, but it definitely won't happen in the near future. In the meantime, we still have to do things manually, even if only once in a while. When I must do things manually, I'm not usually happy about it. In fact, it usually means that there has been an emergency, so other people aren't happy about it either. In times like this, it is nice to have a consistent and efficient user interface on every machine. The information and examples presented in this article assume that you are using the bash shell. However, you can modify all of the scripts so that they work in other shells. In some cases, they might even work unmodified (like in the standard Bourne Shell [sh]). Other shells will also work, but they might have different methods for changing the prompt and creating command aliases. The principles in this article should be relatively easy to adapt to the shell of your choice.
Unix+clones

A web server in a shell script

Post date: March 14, 2006, 08:03 Category: Programming Views: 16465 Comments
Tutorial quote: Suppose you want to experiment a little with web pages and CGI's, but you don't want the hassle of installing the full Apache package. This quick and dirty shell script could just be what you need.

Put simply, a web server is an application that sends local text files over the network to the clients that request them. If you let another program (for example inetd) deal with the network part, the web server could be reduced to a mere cat "$filename" to stdout. Of course, the difficult part would be to extract that filename out of the HTTP request string: nothing that a Bash script cannot easily do!
Linux

How the One-Liner For-Loop in Bash Goes

Post date: January 6, 2007, 21:01 Category: System Views: 3361 Comments
Tutorial quote: A mini-guide to one of the coolest tricks at the Bash command line - performing the same operation on a whole group of files at once using the "for-do-done" loop syntax.
Web-based applications and online marketing solutions - LumoLink