-
Bash Heredoc
Here document (Heredoc) is a type of redirection that allows you to pass multiple lines of input to a command. Article Source.
-
Using the force at the Linux command line
Sometime in recent history, sci-fi nerds began an annual celebration of everything Star Wars on May the 4th, a pun on the Jedi blessing, “May the Force be with you.” Although most Linux users are probably not Jedi, they still have ways to use the force. Of course, the movie...
-
Push to all (different) remotes in git directory without having to combine them.
$ git remote | while read line ; do git push $line; done For example, if you have a locally hosted git server, plus github, plus gitlab. View this command to comment, vote or add to favourites View all commands by steve_wombat Diff your entire server config at ScriptRock.com Article...