Check These Out
You only have to fill in your administrative account and password, and the router FQDN!
I recommand to execute this command not over the internet, because there is no encryption (the username and password will be transmitted in plaintext!)
This is a funny usage of the traditional command ls.
It could be basically simplified as:
$ ls -a -l
Duplicating arguments is permitted:
$ ls -a -l -l
And this markup could be shortened as:
$ ls -al
Extra note:
To view filesizes like a pro, pray for your God:
$ ls -allah
This command uses awk(1) to print all lines between two known line numbers in a file. Useful for seeing output in a log file, where the line numbers are known. The above command will print all lines between, and including, lines 3 and 6.
This command changes the reserved space for privileged process on '/dev/sda' to 1 per cent.
Sometimes you don't have man pages only '-h' or '--help'.
I always wanted to be able to copy formatted HTML, like from emails, on trello cards or READMEs... but the formatting is always wrong... But from this two links:
* https://jeremywsherman.com/blog/2012/02/08/pasting-html-into-markdown/
* http://stackoverflow.com/questions/3261379/getting-html-source-or-rich-text-from-the-x-clipboard
For instance, to to copy an formatted email to a trello card, just:
1. Select the email body
2. run: xclip -selection clipboard -o -t text/html | pandoc -f html -t markdown_github - | xclip -i -t text/plain
3. Paste in your trello card
4. Profit!
8-)
This command will first add an alias known only to git, which will allow you to pull a remote and first-forward the current branch. However, if the remote/branch and your branch have diverged, it will stop before actually trying to merge the two, so you can back out the changes.
http://www.kernel.org/pub/software/scm/git/docs/git-pull.html
Tested on git 1.5.6.1, msysgit (Windows port)
Actually this is not really the way I want it. I want it to attempt a fast-foward, but not attempt to merge or change my working copy. Unfortunately git pull doesn't have that functionality (yet?).