lluki

joined 2 months ago
[–] lluki@feddit.org 7 points 3 hours ago

xdg-open FILE - opens a file with the default GUI app. I use it for example to open PDFs and PNG. I have a one letter alias for that. It can also open a file explorer in the current directory xdg-open . . Should work on any compliant desktop environment (gnome/kde).

[–] lluki@feddit.org 25 points 23 hours ago (2 children)

cd - undoes the last cd. Not quite push/popd but still useful. Pro tip, works also: git checkout -

[–] lluki@feddit.org 3 points 2 months ago

And whats a long-haul flight? I was assuming a transatlantic return flight, which ticks in at 2t. Yet their result shows less than half of that.