Categories
ASCII Art Linux Windows

Body Parts ASCII Art

Pretty cool ASCII art of various body parts, people and gestures.

http://www.geocities.com/soho/7373/bodypart.htm

Keywords:
text pictures body parts
ascii body art

Categories
CLI Command Line Linux Mac OSX SourceForge Windows

Synergy – desktop sharing for Windows, Linux and Mac OS

Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own display.

sourceforge.net/projects/synergy2/

Categories
CLI Command Line Control Panel Linux Windows Windows Components Wizard

Command line shortcut to Windows Components Wizard

Quick and easy way to launch the Windows Components Wizard. You could either run the following command from the Start / Run line or create a shortcut.

%windir%system32sysocmgr.exe /i:%windir%infsysoc.inf

This will launch the Windows Components Wizard so you don’t have to go the traditional route through Control Panel / Add/Remove Programs.

Categories
CLI Command Line Time Win 7 Win7 Windows Windows 7 Windows7

Windows 7 Command Line Utility for Timezone Management – tzutil.exe

tzutil.exe” is a command line utility introduced in Windows Vista (also in Windows 7 and Windows 2008) which can be used to change Time Zone or to view the current time zone information. To use this command (from a command prompt as administrator):

tzutil /g – To view current time zone
tzutil /l – To get a list of all available time zones
tzutil /s <time_zone_ID> – To change time zone

time_zone_ID is the new time zone which you want to set. For example, if you want to set the time zone to Eastern, Central, Mountain or Pacific Daylight Time, you would use any of the following:

tzutil /s "Eastern Daylight Time"
tzutil /s "Central Daylight Time"
tzutil /s "Mountain Daylight Time"
tzutil /s "Pacific Daylight Time"

Windows change timezone command.

Categories
Linux Time Windows

Set the Time Zone from the command line on Windows computers

To set the Time Zone from the command line, use:

RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%system32TIMEDATE.cpl,,/Z

where is the data value of the Display Value Name, or the Std Value Name ,at HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrent VersionTime Zones.

You can also use:

Control.exe %SystemRoot%system32TIMEDATE.CPL,,/Z .

Example:
RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%system32TIMEDATE.cpl,,/Z US Eastern Time

NOTE: You do NOT encapsulate the time zone string in quote (“) marks.

See also
Categories
Apple FTP Linux NCFTP WGET Windows

Installing NCFTP Client on Linux

NcFTP offers many ease-of-use and performance enhancements over the stock ftp client, and runs on a wide variety of UNIX platforms as well as operating systems such Microsoft Windows and Apple Mac OS X.

How To Install

  1. wget ftp://ftp.ncftp.com/ncftp/ncftp-3.2.2-src.tar.gz
  2. tar -zxvf ncftp-3.2.2-src.tar.gz
  3. cd ncftp-3.2.2
  4. ./configure
  5. make
  6. make install
  7. make clean
Categories
Bmail.exe CLI Command Line Linux SMTP Utility Windows

Command Line SMTP Mailer for Batch Jobs

Bmail is a free but lean command line SMTP mail sender. Don’t get fooled into playing $$$ for huge executables. Bmail allows the user to automate the sending of email messages containing log files, data downloads or error messages on Win32 based computers. Together with the freeware utility mpack, you can also send MIME encoded attachments.

Download and more information here.

Categories
FART FART examples Grep Linux SourceForge Windows

Windows Command Line Find and replace – Made easy with FART.exe

Here is a great little application that does a find and replace on a particular file, file type or file contents, then replaces it with a string of your choice. It can look in sub directories as well.
The small app is called FART, yes that’s right FART – Find And Replace Text!

Usage: FART [options] [–] [,…] [find_string] [replace_string]
Options

  • -h, –help Show this help message (ignores other options)
  • -q, –quiet Suppress output to stdio / stderr
  • -V, –verbose Show more information
  • -r, –recursive Process sub-folders recursively
  • -c, –count Only show filenames, match counts and totals
  • -i, –ignore-case Case insensitive text comparison
  • -v, –invert Print lines NOT containing the find string
  • -n, –line-number Print line number before each line (1-based)
  • -w, –word Match whole word (uses C syntax, like grep)
  • -f, –filename Find (and replace) filename instead of contents
  • -B, –binary Also search (and replace) in binary files (CAUTION)
  • -C, –c-style Allow C-style extended characters (xFFtnr\ etc.)
  • –cvs Skip cvs dirs; execute “cvs edit” before changing files
  • –svn Skip svn dirs
  • –remove Remove all occurences of the find_string
  • -a, –adapt Adapt the case of replace_string to found string
  • -b, –backup Make a backup of each changed file
  • -p, –preview Do not change the files but print the changes

Example 1 (replace text, preview only)

fart -c -r -i -p *.txt original_text new_text

This will look for all .txt files in a sub directory, locate the original_text string within the .txt file and change it to new_text. The -p switch means it won’t actually change anything because this is a preview, showing you how many strings it found within each .txt file.

Example 2 (replace text)

fart -c -r -i *.txt original_text new_text

Same as above except it will do the actual replacement.

Example 3 (remove text)

fart -r -i --remove *.txt "remove this text"

Rather than replacing one term for another this will remove the specified term.

NOTE: Use quotes around text if it contains spaces, tabs, etc.

Download FART from SourceForge.

Keywords:

windows fart.exe
fart find and replace
notepad find/replace text command line
fart “command line” download
fart.exe find and replace
find and replace fart
replace file command line windows
“find and replace” fart examples
detailed manual fart find replace
find and replace command line executable

Categories
Linux SMTP Ubuntu Windows

Ubuntu relay email server through ISPs SMTP

Easy way to setup fast, simple and reliable email relay server which will work with ISPs smtp server.

1. Install EXIM4 server: apt-get install exim4 exim4-config

2. run : dpkg-reconfigure exim4-config; choose following config:

a: mail sent by smarthost; no local mail

b: you domain name (example.com)

c: loopback address

d: nothing

e: domain name (example.com)

f: ISP’s host name – smtp.comcast.net

g: No

h: Yes

3. Test, using php, perl or install mail utils: apt-get install mailutils :

a. type: mail your@email.com

b. cc:

c: subject

d: body

e type single period (.) to send

Categories
Exchange 2007 Linux Windows Windows Vista

How to Install Exchange 2007 SP1 Prerequisites on Windows Server 2008 or Windows Vista

Launch a command prompt window as Administrator and run the following in order:

ServerManagerCmd -i Web-Metabase
ServerManagerCmd -i Web-Lgcy-Mgmt-Console

ServerManagerCmd -i PowerShell

ServerManagerCmd -i Web-Server
ServerManagerCmd -i Web-ISAPI-Ext
ServerManagerCmd -i Web-Metabase
ServerManagerCmd -i Web-Lgcy-Mgmt-Console
ServerManagerCmd -i Web-Basic-Auth
ServerManagerCmd -i Web-Digest-Auth
ServerManagerCmd -i Web-Windows-Auth
ServerManagerCmd -i Web-Dyn-Compression

ServerManagerCmd -i RPC-over-HTTP-proxy