JavaScript is disabled !
Shell
Shell
2021-03-08
2014-11-17
How to get the
IP address
of the
current host
from a script ?
hostname
2021-02-04
2019-10-17
How to display
colors
in
Bash
?
ANSI
2021-01-26
Simulate a
ternary
operator with
cmd1
&&
cmd2
||
cmd3
2021-01-26
2010-07-20
How to
chain shell commands
?
&& || () {}
2020-07-08
2014-01-10
Curly brackets & shell
Brace Expansion
{}
2020-06-11
2019-01-24
system
variables
(aka
environment variables
+
shell variables
)
!! !$ $! $# $$ $* $- $0 $? $@ $_ BASH_SOURCE DISPLAY EDITOR H http_proxy HISTFILE HOME HOSTNAME IFS LC_NUMERIC LOGNAME OLDPWD PATH PIPESTATUS PPID PROMPT_COMMAND PS1 PWD RANDOM SHELL SHLVL TMPDIR USER
2020-01-30
How to
amend
and
replay
the previous command ?
2019-10-23
2010-09-09
Control
Bash
history
with
HISTCONTROL
2019-10-23
2010-09-09
How to customize the shell
prompt
?
PS1
2019-09-30
2018-09-20
How to spot a
hard link
?
2019-04-11
2009-03-17
Bash
wildcards
and
patterns
2018-11-09
2003-03-11
How to
compare
files ?
2018-11-08
Read-only
TMOUT
variable, how to workaround and
disable automatic logout
?
2018-10-30
How to write messages specifically to
stdout
or
stderr
?
2018-08-20
2016-11-24
How to
cd
into a directory among others starting with the same characters ?
2018-07-10
2011-07-22
Shell
exit codes
2018-05-14
2015-02-13
Heredocs
2018-01-26
2008-11-26
How to redirect the inputs and outputs of a command ?
fd, file descriptors, stdin, stdout, stderr
2017-12-13
WARNING: terminal is not fully functional
2017-09-28
2013-06-02
How to
bind
a function to a
key
?
2017-07-26
-bash: !
whatever
: event not found
,
exclamation marks
,
events
, what are these ?
!!
2017-04-27
How to
group shell commands
?
subshell
2017-04-11
2014-02-05
Job
control
2017-03-20
Bash
shortcut keys
2017-03-02
2007-09-24
How to handle files which name starts with a dash
-
?
2016-01-15
2004-11-09
How to
rename numerous files
?
file extension, file name
2015-12-16
2015-06-10
Regular Expressions
in
shell
context
characters list
2015-12-03
How to enter a
directory
having a special
non-printable
character in its name ?
2015-09-15
Wildcards
and
quotes
2015-09-13
2008-02-11
When
Bash
outputs :
-bash: /bin/ls: Argument list too long
2015-05-12
Unset variables
in
Bash
/
Ksh
2014-10-02
2013-04-29
Bash
(non-)?(
login
|
interactive
) shells
2014-09-09
Why does this
{
start
..
stop
..
step
}
output
{
start
..
stop
..
step
}
instead of a sequence of numbers ?
brace expansion
2014-02-25
How to run a
resource-friendly
command ?
2013-04-25
~/.bashrc
is not executed when opening a new
SSH
session