Added command examples from external blogs

This commit is contained in:
Michele Cereda
2023-02-07 16:04:57 +01:00
parent 6151dde1d0
commit f4455f598f
10 changed files with 145 additions and 47 deletions

View File

@@ -31,6 +31,21 @@ echo $(tr '[:upper:]' '[:lower:]' <<< "$name")
# Bash 5 has a special parameter expansion for upper- and lowercasing strings.
echo ${name,,}
echo ${name^^}
# Add a clock to the top-right part of the terminal.
while sleep 1
do
tput sc;
tput cup 0 $(($(tput cols)-29))
date
tput rc
done &
# Show a binary clock.
watch -n 1 'echo "obase=2; `date +%s`" | bc'
# Fork bomb.
:(){ :|: & };:
```
## Startup files loading order