Check These Out
This works on Mac OS X using the `md5` command instead of `md5sum`, which works similarly, but has a different output format. Note that this only prints the name of the duplicates, not the original file. This is handy because you can add `| xargs rm` to the end of the command to delete all the duplicates while leaving the original.
Waits for all pings to complete and returns ip with mac address
Next time you are using your shell, try typing
$ ctrl-x ctrl-e # in emacs mode
or
$ v # in vi mode
The shell will take what you've written on the command line thus far and paste it into the editor specified by $EDITOR. Then you can edit at leisure using all the powerful macros and commands of vi, emacs, nano, or whatever.
It finds, specifically, the connections to the HTTP and HTTPS ports as source ports. You can check for destination ports as well.
Intentional hash in the beginning. May run a looong time. Wipes your data for real. Was meant to be /dev/urandom - I mistyped it. :-)
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
This command uses the "exiftool" command which is available here: http://www.sno.phy.queensu.ca/~phil/exiftool/
NB, there should be a degree symbol right after the first "%d" NOT a question mark.
For some unknown reason, commandlinefu is not able to handle degree symbol correctly ("?")?
The pee command is in the moreutils package.
-L RATE, --rate-limit RATE
Limit the transfer to a maximum of RATE bytes per second. A suffix of "k", "m", "g", or "t" can be added to denote kilobytes (*1024), megabytes, and so on. It must be an integer.
Remove ( color / special / escape / ANSI ) codes, from text, with sed
Credit to the original folks who I've copied this command from.
The diff here is:
Theirs: [m|K]
Theirs is supposed to remove \E[NUMBERS;NUMBERS[m OR K]
This statement is incorrect in 2 ways.
1. The letters m and K are two of more than 20+ possible letters that can end these sequences.
2. Inside []'s , OR is already assumed, so they are also looking for sequences ending with | which is not correct.
This : [a-zA-Z]
This resolves the "OR" issue noted above, and takes care of all sequences, as they all end with a lower or upper cased letter.
This ensures 100% of any escape code 'mess' is removed.