public marks

PUBLIC MARKS with tags shell & bash

This year

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.

Iterate And Check If A Bash Array Contains A Value

by orieg
Deep dive into the use of array variables (i.e. lists) and associative arrays (i.e. dictionaries or hash tables) in Bash. This post cover common usages to iterate efficiently over an 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.


ShellCheck – shell script analysis tool

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


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





Using Bash's History Effectively

by ghis & 1 other
I will attempt here to focus on only one feature of Bash, its command history. There are other good documents on the other features of Bash. If you're interested in anything other than the command history/recall, then this document really isn't going to fulfill your needs.


PUBLIC TAGS related to tag shell

applescript +   bookmarklet +   browser +   couleur +   css +   cvs +   dev +   dom +   emacs +   fade +   html +   iframe +   java +   javascript +   js +   langage c +   live +   moo + +   mysql +   navigateur +   online +   perl +   php +   python +   Quick Blinks +   reference +   référence +   ror +   ruby +   scheme +   sql +   svn +   test +   testing +   tests +   tutorial +   vb +   vb xsl +   webdesign +   webdev +   xhtml +   xml +   xsl +  

Active users

last mark : 01/06/2020 14:12

last mark : 29/08/2017 10:13

last mark : 13/04/2016 16:48

last mark : 26/03/2012 20:15

last mark : 10/05/2010 22:48

last mark : 03/03/2010 14:07

last mark : 30/11/2009 10:31

last mark : 21/11/2009 19:19

last mark : 30/05/2009 17:19