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

Search results for Writing Shell Scripts


Writing Shell Scripts

Post date: April 13, 2005, 02:04 Category: Programming Views: 3744 Comments
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.

A quick guide to writing scripts using the bash shell

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

Breaking the SHELL

Post date: May 29, 2005, 01:05 Category: Programming Views: 3196 Comments
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

CGI Programming on the World Wide Web

Post date: December 12, 2005, 17:12 Category: Programming Views: 2985 Comments
Tutorial quote: The Common Gateway Interface (CGI) emerged as the first way to present dynamically generated information on the World Wide Web. CGI allows the computer to generate Web pages instantly at the user's request rather than being written by someone in advance. And at the time of this writing, it remains the only stable and well-understood method for creating such pages. Java presents problems that have not yet been solved. Other products are currently just in the announcement stage.

CGI is fun. You can get a kick out of writing scripts that perform tricks for you, and the users enjoy the spice the scripts add to your Web pages. But CGI has a serious side too: It lets the Internet offer the kind of interactive, user-driven applications that modern computer users have come to expect. CGI opens up an entire class of modern applications to the Web.

Managing Xen With Xen-Tools, Xen-Shell, And Argo

Post date: November 5, 2006, 21:11 Category: System Views: 4243 Comments
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.

Automating the Login Script

Post date: April 17, 2005, 10:04 Category: Miscellaneous Views: 2463 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.

Automating Perl Database Applications

Post date: May 1, 2005, 17:05 Category: Programming Views: 3133 Comments
Tutorial quote: This article describes how Perl is used to generate Perl CGI code using the multi-platform CGIScripter application. The resulting output code automates SQL table creation commands (in this example, for a MySQL database), HTML pages and Perl code. Web security issues, data validation and image handling functionality are incorporated into the resulting Perl code. By automating the development of Perl CGI scripts, even entry-level developers can create CGI scripts that contain most of the commonly requested features in a short period of time--without manually writing any code.

Bourne / Bash shell scripting tutorial

Post date: October 11, 2006, 20:10 Category: Programming Views: 6088 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!

Serving CGI Scripts With Nginx On CentOS 6.0

Post date: October 23, 2011, 09:10 Category: Miscellaneous Views: 19648 Comments
Tutorial quote: This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on CentOS 6.0. While nginx itself does not serve CGI, there are several ways to work around this. I will outline two solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second solution uses a CGI wrapper to serve CGI scripts.

Serving CGI Scripts With Nginx On Debian Squeeze/Ubuntu 11.04

Post date: October 3, 2011, 06:10 Category: Miscellaneous Views: 4319 Comments
Tutorial quote: This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Debian Squeeze/Ubuntu 11.04. While nginx itself does not serve CGI, there are several ways to work around this. I will outline three solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second and third solution are very similar - both use a CGI wrapper to serve CGI scripts.
Web-based applications and online marketing solutions - LumoLink