public marks

PUBLIC MARKS with tag shell

2020

How To Script Powerful Bash If Statement?

by orieg
Learn how to script a Bash If statement with the then, else, and else if / elif clauses. This post covers the Bash conditional expressions, and how to avoid common pitfalls when using the Bash If statement.

Performing Math Calculation In Bash

by orieg
Find out how to do math with integer and floating-point arithmetic in Bash. We cover addition, subtraction, division, multiplication, and also floating-point precision.

What Is The Bash Null Command?

by orieg
Learn about the Bash null command, also known as the POSIX shell colon command. This post cover concrete use cases and pitfalls to avoid.

A Complete Guide On How To Use Bash Arrays

by orieg
Learn how to use bash array variables and associative bash arrays. This guide covers how to declare a bash array, iterate over a bash array, and access keys and values.

How To Format Date And Time In Linux, MacOS, And Bash?

by orieg
Find out how to manipulate date and time on linux and macOS systems as well as natively in the Bash shell. This post covers all you need to know to format a date from your shell.

2018

2017

ShellCheck – shell script analysis tool

by dzc
finds bugs in shell scripts. Online, Linux software

2016

warning messages using mysql from within Terminal

by dzc
use mysql_config_editor (user/pass are saved encrypted in your home/myshellusername/.mylogin.cnf) - mysql --login-path=local (Remember that the --login-path has to come before all other arguments.)

"mysql --login-path=local" instead of "mysql -u username -p pass"

by dzc
mysql_config_editor set --login-path=local --host=localhost --user=db_user --password

2015

UFW - Uncomplicated Firewall

by dzc
UFW est un nouvel outil de configuration simplifié en ligne de commande de Netfilter, qui donne une alternative à l'outil iptables.

2014

Active users

orieg
last mark : 17/07/2020 20:21

dzc
last mark : 27/02/2018 02:31

mfaure
last mark : 13/04/2016 16:48

srcmax
last mark : 19/05/2014 07:55