OK, there’s a ton of things we could cover here. But let’s just go for some quick wins that will save you a ton of time, and make you look like you know what you’re doing – kind of.
I draw the line at giving away all my secret ninja tips – but these will serve you well 😉
Switch Back To Last Directory
How many times have you copy and pasted the path of the last directory you used..? Or worse, retyped it in full…
When you could have just done this:-
cd -
Home Directory 2 Ways
You might already know this shortcut for the home directory:-
cd ~
But you might not realise you can also just type:-
cd
There you go, saved you 2 key strokes, and raised your ninja profile, marginally.
Listing Directory Contents, The Ninja Way
I’m willing to bet you’ve typed ls -l hundreds of times already. But no more – bet you didn’t know you can get exactly the same results just by typing:-
ll
Go on, I know you’re dying to try that one out ;-). Works for most distros. Continue reading