Bash tip of the day:
mkdir -p make/new/directory
It does what you think
@jarbus there's also:
mkdir testcd $_
@jarbus I recommend to create an alias for that I made one and only need to type `mkcd new_dir`
@jarbus Ooo, there is also my #bashtip:
$ apt update$ sudo !!
The !! will be replaced with the previous line (I use it a lot, I often forget sudo )
@jarbus you can achieve the same by typing
(I.e. the ESC key then a period)
@crappo Doesn’t work with vi keybinds in the terminal emulator :(
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.