Archive for November, 2010

Primitive IP Camera Capture Script
Axis 210a Camera
Use a Cron Job To Control
Read the rest of this entry

P: Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13) Note: Attempting fallback to kernel 2.2 TUN/TAP interface Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2)

R:
The host OS *must* allow the VPS to use the tun device first.

vzctl set --devices c:10:200:rw --save
vzctl set --capability net_admin:on --save

I’ve written a Perl script that connects to our central server for me and it allows me feed data so that I make a timesheet later. How do I run my script when I log out from Apple OS X or Linux / UNIX workstation using bash shell?

Almost all modern shell including bash allows you run run command when you log out. Typically this is used to:
Read the rest of this entry

ow do I find and replace (substitute) test using vi or vim text editor under UNIX / Linux / BSD or Apple OS X operating systems?

Both vi and vim text editor comes with substitute command for finding and replacing text.
Read the rest of this entry