Posts contrassegnato dai tag ‘command line’

shell program for sending SMTP mail from a bash command line

Luglio 16, 2008

SendEmail

SendEmail is a lightweight, command line SMTP email client. If you have the need to send email from a command line, this free program is perfect: simple to use and feature rich. It was designed to be used in bash scripts, batch files, Perl programs and web sites, but is quite adaptable and will likely meet your requirements. SendEmail is written in Perl and is unique in that it requires NO MODULES. It has an intuitive and flexible set of command-line options, making it very easy to learn and use.
[Supported Platforms: Linux, BSD, OS X, Windows 98, Windows NT, Windows 2000, & Windows XP]

You find everything about it at

http://caspian.dotconf.net/menu/Software/SendEmail/

Thanks Brandon for great work!

Create a file of a certain size in Windows XP and later

Giugno 26, 2008

If you need to create a file of a certain size and the file contents don’t matter, you can use the Fsutil command as follows

fsutil file createnew <filename> <filesize in byte>

For example,

fsutil file createnew d:\temp\1mbfile.txt 1000000

creates a 1MB file named 1mbfile.txt in the d:\temp folder. IĀ used this command to create files of different sizes to make some local network speed test