I stumbled across pv the other day and found it interesting. It is not so much a utility as eye-candy, but useful non-the-less.
from the man page: pv allows a user to see the progress of data through a pipeline, by giving information such as time elapsed, percentage completed (with progress bar), current throughput rate, total data transferred, and ETA.
First, install pv with what ever package manager you use.
- # cd /usr/ports/sysutils/pv && make install clean
- # apt-get install pv
- # yum install pv
Using pv is analogous to using cat, only with a progress bar and some extra goodies!
- # pv file.iso | dd of=/dev/cd0 bs=64k
- (server)
- # pv file.iso > nc -l 4444
- (client)
- # nc host 444 > file.iso
NanoBSD is an awesome set of scripts contained in the FreeBSD source tree that enables you to easily prepare and install a custom FreeBSD system for an embedded device. It is also highly optimized for Compact Flash media, providing a Read-Only file system and memory disks for the heavily written mount points, namely /etc and /var, to protect against wear-leveling.
I have provided a number of config files for a NanoBSD system that provides various services to get you started on an overlay of custom files that are geared towards making an AP (access point) out of an ALIX2C2 board from http://pcengines.ch (purchased at NetGate [US]), although these files require minor tweaks if you are using another ALIX board or even completely different hardware (mainly just network device names!).
- # mkdir /mnt/nanobsd
- # mount /dev/da0s1a /mnt/nanobsd
- # mkdir /mnt/nanobsd/usr/ports
- # mount -t nullfs /usr/ports /mnt/nanobsd/usr/ports
- # mount /dev/da0s3 /mnt/nanobsd/cfg
- # chroot /mnt/nanobsd
- # cd /usr/ports/foo/bar
- # make install clean
- # mkdir /cfg/local
- # cp -R /usr/local/etc/* /cfg/local
- # exit
- # umount /mnt/nanobsd/usr/ports
- # umount /mnt/nanobsd/cfg
- # umount /mnt/nanobsd
- Tags
- ALIX (1)
- digitalfoo.net (2)
- embedded (6)
- FreeBSD (25)
- Java (1)
- Linux (20)
- misc (4)
- my projects (1)
- NanoBSD (3)
- opensource (5)
- perl (1)
- PHP (3)
- programming (7)
- security (4)
- Archives
- 2010
- June (5)
- July (2)
- April (6)
- March (2)
- May (1)
- August (2)
- 2009
- August (7)
- July (8)
- April (4)
- May (4)
- December (2)
- June (1)
- September (1)
- November (4)
- October (1)
- Web Tools
- Index
- dig-shovel Live
- SQL Injection Encoder
- Links
-

