Check These Out
sudo ipfw pipe 1 config bw 50KByte/s
Set the bandwidth (bw) limit to any number you want. For example you could have a 15kb pipe for X application and then a 100kb pipe for another application and attach things to those pipes. If a port isn’t attached to a pipe, it runs at full speed. Change the number (in this case 1) to a different number for a different pipe.
The next step is to attach your port.
sudo ipfw add 1 pipe 1 src-port 80
In this case anything on port 80 (http) will be set to a limit of 50Kbyte/s. If you want to attach a second port to this pipe, repeat the command but change the port number at the end.
src : http://www.mactricksandtips.com/2008/12/throttling-bandwidth-on-a-mac.html
You can omit the -d to see what's inside directories. In that case, you may want -a to see dotfiles inside those directories. (Otherwise you don't need -a since you're explicitly looking at them.)
exclude-dir option requires grep 2.5.3
Rebuild flv files that are broken (can't seek). This method probably works for other video/audio formats that can become broken in the same way.
this way you have the multitail with all its options running on your own machine with the tails of the two remote machines inside :)
Get all URLs from website via Regular Expression... You must have lynx installed in your computer to execute the command.
--> lynx --dump "" | egrep -o ""
- Must substitute it for the website path that you want to extract the URLs
- Regular Expression that you wanna filter the website
I have a mac, and do not want to install mac ports to get the base64 binary. Using openssl will do the trick just fine. Note, to decode base64, specify a '-d' after 'base64' in the command. Note also the files base64.decoded.txt and base64.encoded.txt are text files.
http://public-dns.info gives a list of online dns servers. you need to change the country in url (br in this url) with your country code. this command need some time to ping all IP in list.