Tags: Shell

emmanuel-1220413-unsplash.jpg

Bash
The recently released Bash 5.0 adds new shell variables and also repairs several major bugs.

Bash Shell Utility Reaches 5.0 Milestone

As we look forward to the release of Linux Kernel 5.0 in the coming weeks, we can enjoy another venerable open source technology reaching the 5.0 milestone: the Bash shell utility. The GNU Project has launched the public version 5.0 of GNU/Linux’s default command language interpreter. Bash 5.0 adds...
Read 0 Comments

psychedelic-dot.jpg

dots
Paul Brown explains the various meanings and uses of the humble dot for Linux shell commands.

Linux Tools: The Meaning of Dot

Let's face it: writing one-liners and scripts using shell commands can be confusing. Many of the names of the tools at your disposal are far from obvious in terms of what they do (grep, tee and awk, anyone?) and, when you combine two or more, the resulting "sentence" looks like some kind of alien...
Read 0 Comments

prairie-path_1920.jpg

shortcut
Linux shells let you chain commands together to carry out sophisticated operations in one fell swoop and create aliases to act as shortcuts.

Aliases: To Protect and Serve

Happy 2019! Here in the new year, we’re continuing our series on aliases. By now, you’ve probably read our first article on aliases, and it should be quite clear how they are the easiest way to save yourself a lot of trouble. You already saw, for example, that they helped with muscle-memory, but...
Read 0 Comments

jodi-mucha-540841-unsplash.jpg

aliases
Learn how to create aliases -- commands you build yourself by packing them with other instructions that are too long or too hard to remember.

Aliases: DIY Shell Commands

Aliases, in the context of the Linux shell, are commands you build yourself by packing them with combinations of other instructions that are too long or too hard to remember. You create an alias by using the word alias, then the name of the command you want to create, an equal sign (=), and then...
Read 0 Comments

What's New in Bash Parameter Expansion

The bash man page is close to 40K words. It's not quite War and Peace, but it could hold its own in a rack of cheap novels. Given the size of bash's documentation, missing a useful feature is easy to do when looking through the man page. For that reason, as well as to look for new features,...
Read 0 Comments

Manipulating Binary Data with Bash

Bash is known for admin utilities and text manipulation tools, but the venerable command shell included with most Linux systems also has some powerful commands for manipulating binary data. One of the most versatile scripting environments available on Linux is the Bash shell. The core...
Read 0 Comments

The fc Command Tutorial With Examples For Beginners

The fc command, short for fix commands, is a shell built-in command used to list, edit and re-execute the most recently entered commands in to an interactive shell. You can edit the recently entered commands in your favorite editor and run them without having to retype the entire commands. This...
Read 0 Comments

Linux Fu: Better Bash Scripting

It is easy to dismiss bash — the typical Linux shell program — as just a command prompt that allows scripting. Bash, however, is a full-blown programming language. I wouldn’t presume to tell you that it is as fast as a compiled C program, but that’s not why it exists. While a lot of people use...
Read 0 Comments

DevOps: More Than Automation

Type “devops” into any job search site today and the overwhelming majority of results will be for some variation of “DevOps Engineer”. The skills required will centre on tools like Puppet/Chef/Ansible, AWS/Azure, scripting in Python/Perl/Bash/PowerShell etc. Essentially, they’ve taken a deployment...
Read 0 Comments

9 Shell Tips Every Developer Should Know

The shell is your friend. But many developers don’t really know the shell, the Unix or Linux command-line environment available in several operating systems. (Bash is the best known, but there are others.) Some of you, when you transitioned from Windows to Mac, took your (slow) clickety habits with...
Read 0 Comments

Pages

Click Here!