Thursday, January 28, 2016

Everything I learned about linux in the last 24 hours 1454016575

Let's start with this guy who automated the shit out of his job. Including built in hangover excuses, and smsing his wife he wasn't going to be home on time. As well as automating an entire customer workflow.

 Today I was doing stuff in vim and needed to use the command line, which you can do  with
:!command

so for the date:

:!date

And for my one liner of the day:

If you want to create a new buffer with the output of a command, like whenever I start the draft "Everything I learned about linux in the last 24 hours" posts, I start a new post like this:

:new `perl -e \"print(time());\"`

No comments: