bash

use parameter of previous command (ref 1)

mkdir test
cd $_
or
mkdir test
cd !$

find examples

find . -type f -iname "*regex*" -exec rm -f {} \;

when was user created ref_2

  • if user has never logged in after account creation ls -l /home/<user>/.bash_logout

run bg job and log out

after 'ctrl-z'

disown -h %1
bg 1
logout
where 1 is the job number

ref