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

  • :1: https://unix.stackexchange.com/questions/125385/combined-mkdir-and-cd
  • :2: https://it.toolbox.com/question/how-to-find-out-when-a-user-is-created-in-linux-030612