DEV Community


Discussion on: Bash: How To Teleport In The Terminal

gabrielizalo profile image
Gabriel Porras

These are my aliases and adding yours... Very cool recommendations. Thanks

alias la="ls -lart"  or  la="ls -lrt"
alias e="exit"
Enter fullscreen mode Exit fullscreen mode
bew profile image
Benoit de Chezelles

Hey, instead of typing e or exit, you can do Ctrl-d, it will do the same as exit in almost all cli apps!

Basically Ctrl-d sends a special control character to the application, saying "there is nothing left to read!" which will usually close the cli app.