DEV Community

Discussion on: Linux's commands and tricks I'm using in my daily job as a developer

Collapse
 
simonced profile image
simonced • Edited

Those are great tips.

In the terminal, one trick I like is going back to previous folder with

cd -

(that is a minus sign)

Say, you are in /var/logs and you cd /data/dev/myproject, then you can go back to logs with cd -.

Useful in some situations only, but quite handy nonetheless.