(updated 3/25/25)
Raindrop.io bookmarks, 3/25/25
Learn to process thousands of items reliably and repeatably in this installment.
Bash-my-AWS is a simple but powerful set of CLI commands for managing resources on Amazon Web Services.
The .bash_logout file is the individual login shell cleanup file. It is executed when a login shell exits. This file exists in the user's home directory. For example, $HOME/.bash_logout. This file is useful if you want to run task or another script or command automatically at logout. For example, clear the mysql command line history stored in ~/.mysql_history or to make a backup of files you can use this file.
Why unix pipes are awesome.
Images take up to 50% of the total size of an average web page. And if images are not optimized, users end up downloading extra bytes. And if they’re
Explains three methods to get and extract filename extension in Bash for Linux and Unix shell scripting needs.
In this post, I try to explore various ways to repeat a character and string in Bash 'n' times that must run on macOS/FreeBSD and Linux.
As a developer, you most likely spend a significant amount of time working with the command-line...
Have you ever wondered how a Web server works under the hood? Moreover, would you be willing to...
Update 25 Sep 2019: This article is now available in Japanese, thanks to the hard work of ラナ・クアール....
I write a letter to my past self about the Shell's importance I wish I'd focused on earlier in my career.
What exactly happens when we run a file starting with #! (aka shebang), and why some people use #!/us...
Five lesser-known command line utilities you'll want to install right away.
Variables · Functions · Interpolation · Brace expansions · Loops · Conditional execution · Command substitution · One-page guide to Bash scripting
This is an open-source introduction to Bash scripting ebook that will help you learn the basics of Bash scripting and start writing awesome Bash scripts that will help you automate your daily SysOps, DevOps, and Dev tasks...
📖 A collection of pure bash alternatives to external processes. - dylanaraps/pure-bash-bible
A collection of handy Bash One-Liners and terminal tricks for data processing and Linux system maintenance. - onceupon/Bash-Oneliner
📖 A collection of pure bash alternatives to external processes. - dylanaraps/pure-bash-bible
Free Introduction to Bash Scripting eBook.
Dead simple testing framework for Bash with coverage reporting - Checksum/critic.sh
A collection of small bash scripts for heavy terminal users - alexanderepstein/Bash-Snippets
A complete guide for newcomers and advanced users to correct usage and deepen understanding of the bash shell language.
I've long been impressed by shell one-liners. They seem like magical incantations. Pipe a few terse commands together, et voilà! Out pops the solution to a problem that would seem to require pages of code. Are these one-liners real or mythology? To some extent, they're both. Below I'll give a famous real example. Then I'll argue
In this tutorial, we’ll cover 10 essential Bash shell commands every data scientist should know—commands that save time, simplify tasks, and keep you focused on insights rather than busywork.
In this article, we are going to take a look at five different data science-related scripting-friendly tasks, where we should see how flexible and useful Bash can be.
You can do more data science than you think from the terminal.
Here are a couple of ways for reading file line by line in the Bash shell.
While for maybe the most popular bash loop, wait until you discover until. Pun intended :)
In Linux, there are shell built-in commands which you are already using but never paid attention to. Learn more about them in this tutorial.
In this quick Bash tip, you'll learn about appending to an existing array in bash.
The bash shell has some special variables that have specific usages and purposes. Learn more about them here.
The exec command in shell scripts is super useful for logging, reading from files and running commands by replacing the current process.
Brace expansion in the bash shell is a lesser known but an awesome feature. Learn about using them like a Pro Linux user with practical examples.
Learn how to find PID using a process name in Linux. Also learn to get the parent process ID (PPID) of the given process.
You might have used variables in Bash before, but probably not like this.
The seemingly insignificant #! characters at the beginning of a shell script has a major significance on how your script will be executed.
Ruby is one of the most popular languages today. It has an elegant syntax and it is the language behind the powerful Ruby on Rails framework. In this tutorial we will show you three different ways to install Ruby on Ubuntu 18.04 system.
Bash aliases are essentially shortcuts that can save you from having to remember long commands and eliminate a great deal of typing when you are working on the command line.
It’s more than rails!
$BASH_REMATCH is a special array variable in the Bash shell that stores the results of matching a regular expression using the =~ operator…
Commandline one liners that makes your workflow more productive
Bash scripting, a cornerstone of Unix and Linux system administration, offers powerful tools to automate repetitive tasks, streamline workflows, and handle complex operations. For those already comfortable with basic scripting, diving into advanced techniques can unlock new levels of efficiency and capability. This post will explore advanced shell scripting techniques in Bash, focusing on script optimization, robust error handling, and automating complex system administration tasks. Script Optimization Optimization is crucial for ensuring that your scripts run efficiently, especially when dealing with large datasets or intensive tasks. Here are some key techniques to optimize your Bash scripts.
Get more efficient by using condensed versions of long Bash commands.
Introduction For beginners venturing into the world of Linux, understanding shell expansion is a crucial step towards mastering the command line. Shell expansion is a powerful feature that allows users to generate complex commands and manipulat...
other, mainly PDFs (7/6/22)