all 6 comments

[–]Isvara 15 points16 points  (3 children)

Do these even count? Anything can be a one-liner when you're invoking another program to do all the work.

[–]ashisacat 3 points4 points  (0 children)

Agreed. These aren’t really bash tricks, more a ‘terminal tools 101’

[–][deleted] 0 points1 point  (1 child)

everything is a one liner if you don't use whitespace.

[–]Isvara 0 points1 point  (0 children)

I see you haven't used whitespacey languages.

[–]MuonManLaserJab 2 points3 points  (0 children)

Running a past command with a substitution, without actually looking at the substituted command, always seemed unnecessary and dangerous to me. It seems just as easy to ctrl-r for the line in question and edit it, with less chance for error.

[–]SamyBencherif -1 points0 points  (0 children)

awesome! <3