lluki

joined 4 months ago
[–] lluki@feddit.org 14 points 1 month 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 28 points 1 month 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 4 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.