Bash usage

Usage

2024-08-06 2013-01-31
2024-05-16 2009-11-27
2024-04-02 2003-03-11
2024-04-02 2008-02-11
2023-12-08 2013-01-31
2023-10-18 2010-09-27

Bash documentation

2024-04-02 2019-01-24
!! !$ $! $# $$ $* $- $0 $? $@ $_ BASH_SOURCE DISPLAY EDITOR H http_proxy HISTFILE HOME HOSTNAME IFS LANG LC_NUMERIC LOGNAME OLDPWD PATH PIPESTATUS PPID PROMPT_COMMAND PS1 PWD RANDOM SHELL SHLVL TMPDIR UID USER
2023-09-23
2023-09-18
2023-09-18 2015-09-15
`` $()
2023-09-12 2014-01-10
{}
2023-07-10
2022-08-24 2015-02-13
2022-05-20 2013-04-29
2022-02-08 2009-03-17
2022-01-20
2021-11-13 2017-12-13
2019-10-23 2010-09-09
2018-07-10 2011-07-22
2017-07-26
!!
2017-04-11 2014-02-05
2017-03-20
2015-12-16 2015-06-10
characters list
2015-09-13 2008-02-11
2015-05-12
2014-09-09
brace expansion
2013-04-25

Generic HowTo's

2024-04-02 2023-12-04
$((...)) $[...] modulo
2023-12-19
2023-12-13
2023-07-24 2008-11-26
fd, file descriptors, stdin, stdout, stderr
2023-05-16 2014-02-25
2023-04-14 2018-09-20
2023-03-16
2022-11-23 2003-03-11
2021-03-08 2014-11-17
hostname
2021-02-04 2019-10-17
ANSI
2021-01-26 2010-07-20
&& || () {}
2021-01-26
2020-01-30
2019-10-23 2010-09-09
PS1
2018-11-08
2018-08-20 2016-11-24
2017-09-28 2013-06-02
2017-04-27
subshell
2017-03-02 2007-09-24
2016-01-15 2004-11-09
file extension, file name
2015-12-03

Scripting

2024-08-06 2018-07-03
import, include
2024-04-24
2024-04-17 2014-01-01
[ [[
2024-04-05 2015-12-10
associative, indexed
2023-09-25
2023-09-19 2023-09-15
2023-04-04 2015-06-10
getopts
2023-03-24
2022-09-01
2022-02-16 2018-12-17
2021-03-23 2013-12-04
set
2021-03-18 2017-09-25
scope
2021-02-09 2015-09-29
<<<
2021-01-07 2013-01-31
retry, until
2019-11-04 2018-11-23
2018-12-18
2018-12-17 2018-11-08
2018-11-28
2018-11-09 2013-01-31
#!/bin/sh, #!/bin/bash, #!/usr/bin/env bash
2018-02-23
2017-10-05 2013-01-31
2017-03-31 2014-12-10
2016-11-15
break, continue, eval, exit, return
2016-01-29
2015-12-05
2015-02-20 2015-02-16
set, unset

HowTo's about text in single line / word / string

2023-10-18
2023-09-12 2016-11-19
2023-06-16
2022-09-08
2020-07-08 2014-09-24
2020-01-23
2020-01-14 2015-08-04
2019-02-15
2019-01-24
2019-01-07 2018-12-21
+=
2018-12-20 2015-08-19
case, for, regular expression
2018-11-21
sed
2018-10-15
2017-10-04
2017-04-12 2013-01-31
bc
2017-03-28
awk
2016-12-19 2010-09-27
sed
2016-02-03 2015-06-10
2016-01-28 2010-09-27
sed
2016-01-28 2010-09-27
sed
2015-12-15
2015-09-03
eval

HowTo's about text in multiple-line strings / text files

2024-05-16 2016-01-15
2024-03-29
2023-12-04 2019-03-08
2023-09-13
awk grep sed
2023-09-13 2023-08-02
awk
2023-06-16 2017-03-27
2020-10-20 2017-02-23
sed
2020-06-22 2016-07-04
awk
2019-12-11
2019-07-18 2019-05-13
2019-06-24
2019-04-16
awk
2019-04-09
2019-02-27 2018-10-30
2018-12-11
2018-12-07 2010-09-27
sed
2018-12-06
2018-12-06 2018-08-20
process substitution, < <(...)
2018-11-05
awk
2018-10-15
2018-09-03
awk
2017-03-16 2010-09-27
grep, sed
2016-12-14
sed
2016-01-28 2010-09-27
sed
2016-01-28 2010-09-27
sed
2016-01-28 2010-09-27
sed
2015-12-29 2009-11-27
iconv, recode, Emacs
2015-04-24 2011-04-01
line endings, dos2unix, tofrodos, unix2dos
2015-02-13 2014-10-17
2014-07-31

Loops and constructs

2023-12-08 2013-01-31
arithmetic
2023-03-24 2017-10-09
;; ;& ;;&
2021-06-09 2013-01-31
2019-05-20
2019-05-10