Pages

Friday, August 13, 2010

Send large files download link in email

Http://www.dropsend.com

Limited recipients and number of up and downloads on free account. But you are able to send a 2GB file with ease.

Similar to http://ngsafe.northropgrumman.com

Sent from my iPod

Monday, August 2, 2010

Performance tests with USB thumb drive and a USB sata drive

Copied 4047503360 bytes (4GB) from external SATA drive to local SSD hard drive over USB
time cp Fedora-11-x86_64-DVD.iso ~
3:16 minutes
19.69 MB/sec


Copied same file back to external SATA over USB
cp ~/Fedora-11-x86_64-DVD.iso /Volumes/UNTITLED/
2:45 minutes
23.39 MB/sec


Read same file from SATA drive over USB
time cat /Volumes/UNTITLED/iso-install/Fedora-11-x86_64-DVD.iso > /dev/null
1:49 minutes
35.41 MB/sec


Read same file from SSD
time cat ~/Fedora-11-x86_64-DVD.iso > /dev/null
31 seconds
124.52 MB/sec


Copied 676411392 bytes (645MB) from external thumb to local SSD hard drive over usb
time cp /Volumes/4GB\ THUMB/KNOPPIX_V6.0.1CD-2009-02-08-EN.iso ~
42 seconds
15.36 MB/sec


Copied same file back to external SATA over USB
time cp ~/KNOPPIX_V6.0.1CD-2009-02-08-EN.iso /Volumes/4GB\ THUMB/KNOPPIX_V6.0.1CD-2009-02-08-EN.iso.2
1:24 minutes
7.68 MB/sec


Read same file from USB thumb drive
time cat /Volumes/4GB\ THUMB/KNOPPIX_V6.0.1CD-2009-02-08-EN.iso > /dev/null
31 seconds
20.81 MB/sec


Monday, July 26, 2010

How to background and nohup (run after terminal close) a running process

  1. run it in the foreground
  2. stop it (CTRL+Z)
  3. disown it so that it won't be closed when you close your shell (disown -h %jobid)
  4. restart the job in the background (bg %jobid)

Saturday, July 10, 2010

Youtube to ipod video converter

http://keepvid.com/

Seems to be affiliated with AVS video converter.

I save them as MP4s.

Wednesday, June 9, 2010

setuid and getuid program execution

http://en.wikipedia.org/wiki/Setuid

The sticky bit on user or group causes the command to run as that user or group
chmod ug+s printid

I typically used this on the group of a directory forces the sub files/folders to be in the same group.

This is also how commands that require root level are able to be executed.

You can prevent this from happening by mounting a partition with the nosuid option.