Quick Tips

Below are lists of various commands for niche areas. This information is harder to find on the internet, and thus it is compiled here. This information applies mostly to Linux, but additionally to some UNIX systems.


Shell Shortcuts

Shortcut Action
!! Access last item in history
!n Access n item in history
!:n Access command run n commands ago
!* Reuse arguments from last command
!:n* Reuse arguments from command n commands ago
!$ Access last argument from last command
!:n$ Access last argument from n commands ago
!:s/search/replace/ Run last command w/ search and replace

File Conversion



About Me
New Shell, who dis?
Quick-Tips · Shell