DEV Community

Discussion on: 10 Terminal Commandments for Coding Newbies

Collapse
 
thiagomg profile image
Thiago Massari Guedes

A nice shortcut for exit is Ctrl+D - It is also satisfying for lazy people such as myself

Collapse
 
whobeu profile image
Robert G. Schaffrath

I usually set IGNOREEOF=4 (or higher) due to having gotten logged out too many times accidentally. Type CTRL+D to exit an application and it seems unresponsive so I hit it again. Then it actually wakes up and I have entered two CTRL+D's with the net result being the shell getting the second CTRL+D LOL.