From `man 4 intel` on my Debian box.

Who catches the reference?
Reply with your favorite picture of Z.B ;)

#42

Right-align text on 80 columns:
sed -E ':a /.{80}/!{s/^/ /;ba}' file

In AWK an action without associated pattern defaults to 1.
So those two commands are the same:

seq 10 | awk '{print}'
seq 10 | awk '1 {print}'

How could I have lived without knowing that?

```
# copy file to the :
xclip -sel c < file
```

In Bash the pseudo-variable RANDOM returns a pseudo-random integer in the [0;32767] range

echo $RANDOM

GNU sed has a nice 'e' modifier for substitutions:
sed 's/.*/date +%F -d &/e' << EOT
now
tomorrow
yesterday
EOT

`ls -lt` will show files ordered by modification date β€” most recent first.

When you have to fight against tab completion trying to be smart:

touch a.zap
unzip a<tab>
\unzip a<tab>
unzip a<esc>/<esc>/


In the Bash, pressing "ctrl-x ctrl-v" will display its version informations.

If your shell supports job control, type <CTRL-z> "bg" from its parent shell to send a process to the background

With Bash history, `^str1^str2^` will repeat the previous command replacing `str1` by `str2`

echo 1223
^2^4^

Show more
Mastodon

Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!