atlas news
Shell-Tips
27 mars
00h00
Understanding Common Error Messages
Learn about various error messages that are specific to the Bash shell on Linux, along with illustrative examples of scripts that might produce these errors, and how to resolve them.
21 mars
00h00
How to Master String Pattern Matching using Bash Character Classes
Exploring the power of GNU bash character classes for efficient pattern matching in regular expressions, with an example script to generate an ASCII table.
00h00
Top 10 Bash Pitfalls You Don’t Want to Make
This blog post provides an informative guide to common pitfalls in GNU Bash shell and offers practical tips and solutions for avoiding or resolving them.
22 décembre
16h38
Find, Filter, and Count Text: How to become a badass with Grep
All you need to know to be efficient with grep for searching line matching a regular expression pattern.
16h30
How to use Microsoft PowerShell to boost your tasks automation journey
Introduction to tasks automation with Microsoft PowerShell and PowerShell Core. Learn some essentials cmdlet and how to create and execute PowerShell scripts.
16 août
00h00
5 Simple Steps On How To Debug a Bash Shell Script
Learn how to quickly debug scripts in Bash with those simple steps that use some of the Bash shell special properties.
15 août
00h00
A Complete Guide to the Bash Environment Variables
A complete guide on the Linux Bash environment variables with details on how to set, unset, and use the specials shell variables or define custom environment variables.
00h00
How To Make A Custom Bash Shell Prompt
Learn how to customize your shell prompt and the specificity of the Bash Prompt variables PROMPT COMMAND, PROMPT DIRTRIM, PS , PS , PS , PS , and PS .
00h00
The Most Useful Bash Shortcuts That You Will Want To Use
A detailed review of the most useful Terminal and Bash shortcuts to improve your productivity when typing command lines and how to customize the ones you don’t like.
15 juillet
00h00
The Complete How To Guide of Bash Functions
Learn how to write shell scripts with bash functions. This guide includes examples and best practices on how to define, call, and debug functions in bash.
14 juillet
00h00
8 Tips to Get the Most of an Old Windows XP
command line tips to get the most value of your old Windows XP, Windows Server , and others.
01 juillet
00h00
How To Create Simple Menu with the Shell Select Loop?
The select loop is not a regular shell loop. It can be used in Bash to generate a simple menu from which a user can select numbered options.
28 juin
00h00
What is the Right Way to do Bash Loops?
Looping over a list of numbers or words is a building block in shell scripts. Learn how to write Bash loops, including for loop, while loop, and until loop.
19 juin
00h00
What is the Best Way to Count Files in a Directory?
Learn how to count the number of files in a directory using the Linux command line ls, find, and a native bash shell solution with globs and arrays.
05 juin
00h00
5 Mistakes To Avoid For Writing High-Quality Bash Comments
Adding comments in your Bash scripts is necessary to ensure maintainability over time. This post covers Bash comments mistakes to avoid in your shell scripts.
27 mai
00h00
How To Script Error Free Bash If Statement?
Learn how to script a Bash If statement with the then, else, and else if elif clauses. Includes Bash conditional expressions and common pitfalls to avoid.
25 mai
00h00
What are the Differences Between Vi and Vim?
Vi vs Vim: A review of the main differences between the Vi Ex POSIX standard and the Vim implementation.
23 mai
00h00
sudo: no tty present and no askpass program specified
Learn what is askpass and how to solve the ’sudo: no tty present and no askpass program specified’ error when using sudo to execute a command.
19 mai
00h00
What is the Bash Null Command?
Learn about the Bash null command, also known as the POSIX shell colon command. This post cover concrete use cases and pitfalls to avoid.
10 mai
00h00
How To Format Date and Time in Linux, macOS, and Bash?
This guide covers how to format date and time in Linux, Mac, and the Bash shell. Includes how to do date shell operations like adding days or comparing dates.
05 mai
00h00
How To Use Option as Meta Key in macOS Terminal?
The Meta Key is a modifier key that can be quite helpful to improve your productivity while working in a terminal and bash. This post cover how to enable from the command line the Meta Key in macOS Terminal.
04 mai
00h00
How To Change Preferences from the Command Line on macOS?
Introduction to the command line ’defaults’ on Mac with examples on how to programmatically change user preferences from a shell script and terminal.
24 avril
00h00
What’s New in Focal Fossa Ubuntu 20.04 LTS?
Ubuntu . LTS is available for download. Find out some of the major security and performance improvements from this new distribution, including the introduction of WireGuard VPN, upgraded suite of software packages, faster boot time, etc.
12 avril
00h00
How and When to Use the Dot Command in Bash?
Learn the difference between the dot command . and a dot file notation. This post cover how and when you should leverage the dot command to execute a Bash script.
04 avril
00h00
Running Bash script with Ubuntu on Windows 10 using WSL
No hassle Learn how to run Bash on Windows by installing your favorite Linux distribution natively on Windows using Windows Subsystem for Linux, aka WSL.
16 mars
00h00
How to Parse a CSV File in Bash?
Learn how to parse a CSV file in Bash and avoid the common pitfalls. Includes examples using bash builtins and the awk command line.
23 février
00h00
Bash Error: Must Use Subscript When Assigning Associative Array
How to solve the Bash Error must use subscript when assigning associative array . This post covers why it is occurring and how to fix the error when using Bash arrays.
27 janvier
00h00
A Complete Guide on How To Use Bash Arrays
This guide covers how to use the bash array variables as indexed or associative bash arrays. Includes how to declare, iterate over, sort, and other array operations.
16 janvier
00h00
How To Upgrade your Bash Version on Mac OS?
MacOS comes with an outdated version Bash which can be limiting in shell scripts. This post explain how to upgrade your Bash version on Mac from the command line.
01 septembre
00h00
How to Find which macOS version you are running?
Find out which macOS version you are currently running with the use of two command line tools named respectively system profiler and sw vers.
09 janvier
00h00
What’s New in GNU Bash 5?
Bash version is generally available and comes with some important improvements and new features like BASH ARGV , EPOCHSECONDS, and EPOCHREALTIME.
01 janvier
00h00
How To Do Advanced Math Calculation Using bc?
Learn how to use the GNU Linux bc command line to do math arithmetic and algebra with square root, sine, cosine, tangent, arctangent, bessel, and more.
09 septembre
00h00
Disown a running shell process and reattach it to a new screen
This post cover the basics of shell jobs management and terminal screen sessions. It covers how to detach a running job from your current shell and how to attached it to a new TTY session.
08 septembre
00h00
Redirecting a stdout to a file using sudo and tee
Learn how to address a permission denied error when trying to edit a file on Linux and work around some sudo issues. This post include a simple vim tips to save changes to a file with sudo right from your editor.
00h00
sudo: sorry, you must have a tty to run sudo
Learn what is a tty and how to solve ’sudo: sorry, you must have a tty to run sudo’ error when using ssh to execute a sudo remote command.
09 juillet
00h00
Download files from a Bash Shell
Introduction to the essential function of downloading files directly from a Bash script. This is a common task in any kind of backup restore automation or in crawling scenarios to retried some kind of data on a regular basis.
13 septembre
00h00
Linux sysctl configuration and tuning script
Legacy post providing a custom script to auto tune your Linux kernel and sysctl options based on your server specifications.
14 juin
00h00
Math Arithmetic: How To Do Calculation in Bash?
Learn how to do math arithmetic with integer and floating point in Bash. Includes addition, subtraction, division, multiplication, and also floating point precision.
13 juillet
00h00
Using losetup and dd to secure sensitive data
Legacy post on using dd and losetup to encrypt a block device and secure sensitive data.
14 janvier
00h00
How To Generate Sequences of Letters or Numbers?
Learn how to use seq command line and the bash braces expansion to generate sequences of letters or numbers in your shell scripts.
03 janvier
00h00
How to flush your DNS Cache on Mac OS X?
Learn how to resolve a bad DNS entry returned by your Mac local cache due to a long TTL DNS and how to purge your Mac OS DNS cache for your specific Mac OS version, all this right from the command line.
04 septembre
00h00
Bind 9.5.0 - Patch dlz MySQL 5 for Auto Reconnect
Legacy post addressing connectivity issue from a Bind server with the dlz MySQL driver to a MySQL backend server. This post provides appropriate patch for the given software versions.
27 août
00h00
Choosing a filesystem for your Linux Unix server
Review of various filesystems available on Linux and how to choose one for your workstation or production server.
25 août
00h00
A Quick Guide on How to Use Bash Alias
This post cover the Bash builtin commands alias and unalias. You will often find Bash alias in a customized .bashrc to improve your shell command line workflow.
15 avril
00h00
Bash Quick References: A One Page Cheat Sheet
A one page of Bash quick references, aka cheat sheet, to help you script faster and better. Good material from newbies to regular basher.
14 février
00h00
Two common errors while starting Apache server on Linux
Legacy post discussing some common errors when starting or running an Apache server on Linux.
10 janvier
00h00
How to Reload or Change your current Shell?
Learn the basic steps to reload your Linux shell to apply your recent configurations changes. This post cover the POSIX exec builtin command in Bash and the GNOME shell.
25 novembre
00h00
Fine tuning a Linux Apache MySQL PHP (LAMP) server
Legacy post discussing how to tune a production system using Linux, Apache, MySQL, and PHP aka LAMP .
04 novembre
00h00
How To Use Bash Wildcards for Globbing?
Improve your productivity at the Linux command line and in Bash scripting with globbing by using Wildcards as glob patterns or extended glob expressions.
29 octobre
00h00
Vi and Vim Quick References: A One Page Cheat Sheet
A one page cheat sheet of Vi Vim quick references to speed up your productivity with your favorite terminal based text editor. Great for casual Vi and Vim users to daily coders.