Check These Out
Find the usage of a switch with out searching through the entire man page.
Usage: manswitch [cmd] [switch]
Eg:
$manswitch grep silent
____________________________
In simple words
$man | grep "\-"
Eg:
$man grep | grep "\-o"
This is not a standard method but works.
This will backup the _contents_ of /media/SOURCE to /media/TARGET where TARGET is formatted with ntfs. The --modify-window lets rsync ignore the less accurate timestamps of NTFS.
Prerequisites: module Pod::Webserver installed. You can install it typing:
$ sudo perl -MCPAN -e 'install Pod::Webserver'
You can replace elinks with your fav browser. For FF:
$podwebserver& sleep 2; firefox -remote 'openurl( http://127.0.0.1:8020/, new-tab )'
If you have Firefox open, this will pop-up the index web in a new tab.
This command is useful for renaming a clipart, pic gallery or your photo collection. It will only change the big caps to small ones (on the extension).
Takes file (text.txt), removes BOM from it, and outputs the result to a new file (newFile.txt). BOM is "Byte Order Mark" ([http://en.wikipedia.org/wiki/Byte_order_mark]), an invisible, non-breaking, zero-length character. In other words, if you see a DIFF with "" at the beginning, you've got a byte order mark, which can't be removed without this command or a hex editor. It can appear for a number of reasons, such as getting copied to/from a UNIX filesystem...
Thankfully, the ssh command allows you to specify multiple tunnels through the same server in one command.
Remeber if you want a priviliged port on your machine, you must use root or sudo account.
watch is a command especially designed for doing this job
Simple and easy to remember. -h is human, -d1 = depth 1.
disk usage, human, depth 1
Source:
http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2008-04/msg00068.html
First argument: string to put a box around.
Second argument: character to use for box (default is '=')
Same as command #4962, cleaned up, shortened, and more efficient. Now a ' * ' can be used as the box character, and the variables get unset so they don't mess with anything else you might have.
They marked c++ as a function for this command, but I'm not sure why. Must be a bug.