O'Reilly logo

Linux Shell Scripting with Bash by Ken O. Burtch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Console Scripting

In any of the companies that I worked for, if you were given the task of writing a short utility program and, after two weeks, you returned with a beautiful-looking X Windows application, you would be called in front of the boss and be sharply criticized. In the business world, time is money and developing GUI applications is time-consuming and expensive.

Console scripts, sometimes called text-based or terminal scripts, are scripts designed to run in a text-only environment such as the Linux console, a Telnet session, or an xterm window. Console scripts are easy to design and quick to build, but they don't have to be hostile to the user. Bash and Linux both provide features for writing friendly console scripts that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required