Take control of the command line

Only the Beginning

To go much beyond this point, you really need to know some Bash scripting. Scripting can expand the range of possibilities in a huge way. In Debian, for example, a script is used in .bash_logout to clear the screen to ensure your privacy when you exit the command line. The examples described in this article are simple enough to help you get started and give you a glimpse of the possibilities for customizing Bash.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Introducing Bash

    Beyond all the splash screens, screen savers, and vivid rock-star wallpaper is the simple yet powerful Bash shell.

  • Command Line: Bash Prompt

    Color-coding your prompt may help avoid configuration errors and data loss. We’ll show you how to design your own custom shell prompt with color and control sequences.

  • Bash Builtins

    Even beginners can benefit from a greater understanding of the Bash shell’s many builtin commands.

  • Command Line

    A few basic tricks can liven up the command line and add a dash of color to your console.

  • Command Line: File Management

    Do some serious spring cleaning and reorganize your data. The right commands can help you to keep on top of your file and directory management.

comments powered by Disqus

Direct Download

Read full article as PDF:

090-092_commandline.pdf (323.41 kB)