Showing posts with label Site News. Show all posts
Showing posts with label Site News. Show all posts

Thursday, January 15, 2026

Announcing The Linux Command Line Seventh Internet Edition and Third Print Edition


 

Good News Everyone!

I have just released the Seventh Internet Edition of my book. Along with the Internet Edition release, we're just days away from the general availability of the new print edition which is based on the aforementioned Internet Edition.

So what's new? The Seventh Internet Edition is an enhanced version of the previous release with numerous cleanups, fixed typos, and small clarifications throughout. For a detailed list of the changes, see the release notes available here.

The Third Print Edition has been significantly modernized and expanded and contains all the changes found in the Sixth and Seventh Internet editions (the previous print edition was based on the Fifth Internet Edition). You can get all the details at No Starch Press.

Enjoy! 

Friday, November 1, 2024

Announcing The Linux Command Line, 6th Internet Edition

After eighteen months of semi-serious effort, I am pleased to announce the release of the 6th Internet Edition. With nearly forty pages of new, additional content, it's perhaps the largest revision since the book's original release in 2009.

Highlights of the 6th Internet Edition include:

  • Updated Package Management chapter.
  • Extensive revision of the Storage Devices chapter.
  • Coverage of additional shell builtins such as eval, getopts, and select.
  • Expansion of the Arrays chapter including how to simulate multi-dimensional arrays.
  • There is now a downloadable collection of example scripts appearing in the book.


And many more additions and improvements.

For a detailed list of changes, see the Release Notes.

The 6th Internet Edition is now available for free download at https://LinuxCommand.org/tlcl.php.

Enjoy!

Wednesday, October 20, 2021

Adventures with the Linux Command Line, First Internet Edition

I've just released the first Internet edition of my new book, Adventures with the Linux Command Line. This 250+ page volume is a sequel/supplement to The Linux Command Line (TLCL).  With 14 action-packed chapters, it covers a variety of skill-enhancing topics intended for makers, students, and anyone who wants to take their knowledge of the command line and shell scripting to the next level. 

The First Internet Edition is available in two forms. First, as a series of web pages in the Adventures section of LinuxCommand.org and second, as a PDF book like the Internet edition of The Linux Command Line. The PDF book is released under the same Creative Commons license (BY-NC-ND) as TLCL.

The book is available now for free download. You can get it in the Books section of LinuxCommand.org.

Happy keyboarding!

Wednesday, October 14, 2020

LinuxCommand.org is Twenty Years Old...

That's right, it's been twenty years since I launched the first version of LC.o and began this journey of Linux advocacy and education. Over the years, a lot has changed and a lot has stayed the same.

Many years ago, when Linux was young, Linus Torvalds gave a talk at a Linux users group meeting. At this point in Linux history, Linus had to actually use PowerPoint to present his slides as no office suite yet existed for Linux. During his talk he began to discuss the goals of the Linux project. He said something to the effect, "Of course, the true goal of Linux is..." and he brought up his next slide which read "TOTAL WORLD DOMINATION" at which point the audience erupted into complete laughter. At the time, the very idea of this little hobbyist project being able to compete with Microsoft Windows or even mainstream Unix seemed utterly preposterous.

Fast forward to today and we see that Linux has indeed achieved total world domination. It powers 80% of the world's smart phones, almost all of the Internet, Chromebooks, automotive infotainment systems, and countless embedded systems. Commercial Unix has largely disappeared and even Microsoft is starting to get onboard. Yet, despite all this change, the command line endures. Over the last 20 years there have only been three major releases of the bash shell. Scripts written back in the 1990s still work fine today. The same goes for most of the common utilities, too.   

In honor of my 20 year milestone, LC.o has been extensively modernized. Several weeks of re-engineering have resulted in the following improvements:

  • New responsive design. The site now renders usefully on devices of all sizes from desktops down to most common mobile phones.
  • Simplified, modern HTML and CSS. These improvements should result in better page performance.
  • Updated tutorials. The text has been reviewed and modernized. While still very sparse compared to the corresponding sections in the book, the online tutorials are at least up to date. Many of the tutorials now feature "Further Reading" sections with links to supplemental material.
  • Manual pages. A complete set of man pages is now provided for the bash builtins, GNU coreutils package (which comprise most of the common command line utilities one encounters on a Linux box), and many other common utilities.

Many thanks to all the folks who have taken the time to write and provide feedback and encouragement. Without you, I might not have kept at it for so many years.  I hope that everyone enjoys the new LC.o and maybe I can squeeze another 20 years out of it (though by then I will be a seriously old man).

Wednesday, August 19, 2020

Adventure: SQL

Structured Query Language (SQL) is the lingua franca of the database world. It's also a useful and important skill. In this adventure, we will look at its major features and techniques, as well as discover a command-line tool that makes SQL easy to use with our scripts and projects.

http://linuxcommand.org/lc3_adv_sql.php

Thursday, May 14, 2020

Adventures: Coding Standards, Parts 1 and 2

Good news everyone! I have just posted 2 new adventures! In this two-part series we look at bash script coding standards.

In Part 1, we review what a coding standard does and how they work. We next create our own standard called the LinuxCommand Bash Scripting Style Guide.

In Part 2, we look at the new_script program, a bash shell script template generator that makes using our new coding standard fun and easy. Enjoy!

Coding Standards Part 1
Coding Standards Part 2

Saturday, March 21, 2020

Adventure: source

We looked at the source builtin a little in TLCL when we were examining how the shell's environment is established with the .profile and .bashrc files. In this adventure, we will delve further into how to use this feature to support configuration files and shareable function libraries for our bash scripts.

http://linuxcommand.org/lc3_adv_source.php

Saturday, April 27, 2019

(Not so new) Adventure: Vim, with Vigor

A few months ago I wrote an adventure but I forgot to announce it. In it, we advance our skill with the vim text editor from the beginner level to an intermediate level. This adventure is one of my favorites so far. I learned a lot while writing it.

Vim is a very capable and configurable program. For example, it's easy to configure vim to behave differently according to the type of file it is editing and in this adventure we will configure vim to be optimized for writing shell scripts and plain text documentation files making vim a useful partner when working on the command line. We also introduce a number of powerful editing tricks that make using vim a lot more fun.


You can find the Vim, with Vigor adventure here.

Thursday, October 19, 2017

Announcing The Linux Command Line, Fourth Internet Edition

Good News Everyone!

I have just released the 4th Internet edition of my book, The Linux Command Line. This new edition contains a number of refinements and modernizations. In particular, the example scripts in Part 4 have been improved to increase the robustness of string handling and to serve as better examples of modern coding practice.

You can download the new version here:

https://sourceforge.net/projects/linuxcommand/files/TLCL/17.10/TLCL-17.10.pdf/download

Be sure to download the file named TLCL-17.10.pdf

Enjoy!

Friday, July 29, 2016

Announcing The Linux Command Line, Third Internet Edition

Hello Everyone!

I have just released a new edition of my book, The Linux Command Line. This version is mostly a maintenance and modernization release. It also fixes several bugs and clarifies a few things, too.

You can download it here:

https://sourceforge.net/projects/linuxcommand/files/TLCL/16.07/TLCL-16.07.pdf/download

Make sure you get the file named TLCL-16.07.pdf.

Enjoy!

A word about the PDF version of my book: if you look around the Internet, you will find many people offering the PDF of the No Starch Press edition of my book which is titled, The Linux Command Line: A Complete Introduction. This PDF is different from my PDF at LinuxCommand.org in  two important ways:

  1. While the content of both books is essentially the same, my version of the book is more up-to-date and contains links to additional resources not found in the No Starch Press edition (which is based on my First Internet Edition). The No Starch Press version also features different typography and layout from my version.
  2. The No Starch Press edition of the book is not freely distributable under a Creative Commons license, so those copies you see are infringing on the copyright, which I consider very impolite.

Tuesday, June 21, 2016

Adventure: Other Shells and Power Terminals

Two new Adventures! First, we'll look at some of the other shell programs available to Linux users. Most are of historical interest, but one attempts to do bash one better. Learn more about Other Shells.

Second, we'll explore some of the often overlooked features of our most frequently used command line tool-- our terminal emulator. Explore Power Terminals.


Enjoy!

Tuesday, January 26, 2016

Adventure: AWK

Another new Adventure! The AWK programming language is one of the truly classic Unix tools still in wide use today. Often embedded in shell scripts or employed directly at the command line, this powerful and elegant text processing and pattern matching language is a must-have for every Linux user's toolbox. In this adventure, we'll try it out.

Thursday, February 5, 2015

Adventure: dialog

Another new Adventure! dialog is a program that, as the name might suggest, creates dialog boxes in text mode. We can use it to give our scripts a friendly face. In this adventure, we will look at what it does, and how to use it.


Friday, November 7, 2014

Adventure: tput

Another new Adventure! Tired of looking at the same old text? Learn how to add color and text effects to your scripts with tput.


Monday, May 12, 2014

Adventure: Less Typing

Another new Adventure! Fingers getting tired? Making more mistakes than you should? You should learn to do more with Less Typing!



Tuesday, March 25, 2014

Adventure: Terminal Multiplexers

I have just posted another Adventure! This one explores terminal multiplexers; programs that allow your terminal to perform clever tricks. Enjoy!



Monday, March 3, 2014

Adventures

I have just posted the first unit of a new series on LinuxCommand.org called Adventures. These are tutorials that supplement my book, The Linux Command Line.

The first tutorial in the Adventures series is Midnight Commander. Midnight Commander is a text-based directory browser and file manager. A very powerful and useful program.


Look for more Adventures in the coming weeks. Enjoy!

Friday, January 17, 2014

A Couple More Scripts

I have just posted 2 new bash scripts on the Resources page for your edification and enjoyment. They are:

my_cloud - A script to store and manage files on a remote server (a kind of stone-age Dropbox).

photo2mail - A script that re-sizes images. Used to make image files suitable for use as email attachments.

In addition, I have updated new_script to support a more modern coding standard.

Enjoy!

Thursday, August 22, 2013

Translation Policy

I have received a number of requests from readers for permission to translate the LinuxCommand.org tutorials and/or The Linux Command Line (book) into various languages. I have been pondering this issue for some time and due to my indecision, I have neglected to respond to these requests while I come up with a policy. I apologize for the delay in getting back to those of you who have made requests.

LinuxCommand.org Tutorials

I grant permission to anyone interested in translating the tutorials Learning the Shell and Writing Shell Scripts. However I make the following requests:

  1. You must translate the two tutorials in their entirety. This means every one of the files listed below must be translated.
  2. You must not alter the contents of the tutorial. You may, however change the HTML markup to suit your needs.
  3. You must include the copyright message found at the bottom of each page.
  4. Please send me a link to the translated version so that I may include it on the LinuxCommand.org Resources page.

Learning the Shell
lc3_learning_the_shell.php
lc3_lts0010.php
lc3_lts0020.php
lc3_lts0030.php
lc3_lts0040.php
lc3_lts0050.php
lc3_lts0060.php
lc3_lts0070.php
lc3_lts0080.php
lc3_lts0090.php
lc3_lts0100.php

Writing Shell Scripts
lc3_writing_shell_scripts.php
lc3_wss0010.php
lc3_wss0020.php
lc3_wss0030.php
lc3_wss0040.php
lc3_wss0050.php
lc3_wss0060.php
lc3_wss0070.php
lc3_wss0080.php
lc3_wss0090.php
lc3_wss0100.php
lc3_wss0110.php
lc3_wss0120.php
lc3_wss0130.php
lc3_wss0140.php
lc3_wss0150.php

The Linux Command Line

At this time, I am not granting permission to translate the book. No Starch Press is arranging several translated editions. A Korean translation is available now. Simplified Chinese, Traditional Chinese, and Serbian translations are being developed.