Thursday, October 1, 2009

Downloading long url using wget

In some situations we need download required files using long urls with wget

Use following wget syntax for this purpose :


wget -O[output file] '[long url]'

Example : Downloading Java bin file


wget -Ojava_ee_sdk-5_07-jdk-6u16-linux.bin 'http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/java_ee_sdk-5_07-jdk-6u16-linux.bin?BundledLineItemUUID=S7lIBe.pkmQAAAEkafkMmA.c&OrderID=NEdIBe.p_GMAAAEkV_kMmA.c&ProductID=AcVIBe.nU6oAAAEjhhpuoDTb&FileName=/java_ee_sdk-5_07-jdk-6u16-linux.bin'

Tuesday, September 22, 2009

Friday, September 4, 2009

How to access intra web services using SSH server as proxy

To access internal office web services from remote location (home or any other places) you can use office SSH server as proxy


Prerequisites :

* a ssh login account on a server

Linux :

ssh -ND 9999 myaccount@sshserver.com

Windows :

Download plink from http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe

Open command line terminal
plink.exe -N -D 9999 myaccount@sshserver.com

you need to replace the "myaccount" with your username on your SSH server and sshserver.com with your server domain name or IP address.

When you execute either of those commands, you'll be prompted for your password. After you authenticate, nothing will happen. The -N tells ssh not to open an interactive prompt, so it will just hang there, waiting. That's exactly what you want.


Set Firefox to use SOCKS proxy

Once your proxy's up and running, configure Firefox to use it. From Firefox's Tools menu, choose Options, and from the Advanced section choose the Network tab. Next to "Configure how Firefox connects to the Internet" hit the "Settings" button and enter the SOCKS information, which is the server name (localhost) and the port you used (in the example above, 9999.)


For more detials : http://revision3.com/hak5/SSHGamesBlogsPasswords/

Wednesday, July 29, 2009

Openfire : a Jabber/XMPP server

Openfire (previously known as Wildfire Server) is a Jabber/XMPP server written in Java and dual-licensed under both a proprietary license and the GNU General Public License.

Openfire supports the following features:

* Web-based administration panel
* Plugin interface
* Customizable
* SSL/TLS support
* User-friendly web interface and guided installation
* Database connectivity (i.e. embedded Apache Derby or other DBMS with JDBC 3 driver) for storing messages and user details
* LDAP connectivity
* Platform independent, pure Java
* Full integration with Spark Jabber client


URL : http://www.igniterealtime.org/projects/openfire/index.jsp

Sunday, July 26, 2009

jNetMap — a cross-platform network mapping tool

jNetMap is a cross-platform network mapping application. jNetMap will ping all registered devices every x minutes, updating it's status according to the result of the ping. Alternatively you can also monitor a specific port, such as port 80 for webservers. Available devices are green, unavailable devices are red. Gray means "unknown" and orange "not found".

Installation Instructions on ubuntu

Step 1 : Install java

$ sudo apt-get install sun-java6-jdk

Step 2 : Download jNetmap from http://www.rakudave.ch/userfiles/java/jNetMap.jar

$ wget http://www.rakudave.ch/userfiles/java/jNetMap.jar

Step 3 : Invoke jNetMap using following command
$ java -jar ./jNetMap.jar

Tutorial Video


Home page for jNetMap : http://www.rakudave.ch/?q=node/38

visuwords : Online graphical dictionary.

Visuwords is a online graphical dictionary. This dictionary produce diagrams reminiscent of a neural net to learn how words associate.

it's free... :)

http://www.visuwords.com

Friday, July 17, 2009

Free transulation tools

For translating one language there are multiple online tools are available on web.

I want to list out some here.

* Google translation http://translate.google.com

some free dictionaries
* for Finnish to English http://kaannos.com
* for English to English http://www.tfd.com
* for English to Telugu http://www.en2te.com

Please add comment with more online translation tools

Thursday, July 16, 2009

How to monitor users’ logins for a linux server ?

We can monitor user logins using command line tools last, lastb and lastlog .

last and lastb commands disply a record of when users last logged in to the host and a record of bad user logins.

last command without any options will print a report of the last logins to the host. last records also contains reboot entries

The lastb command produces the same style of report but lists only those logins that were "bad". In other words, it lists those logins in which an incorrect password was entered, or some other error resulted in failure to login.

The lastlog command displays a report that shows the login status of all users on your host, including those users who have never logged in.

you can use grep to filter required output

# lastlog | grep -v ' **Never logged in**'

read man pages for more details.
Export entries from OpenLDAP

In order to export the entire LDAP directory from OpenLDAP, you have to run slapcat. This needs to be done with the LDAP service stopped.

An example command to do this is:



service ldap stop
slapcat > ldap.ldif
service ldap start



Ref : http://wiki.babel.com.au/index.php?area=Linux_Projects&page=DirectoryServerMigration

Tuesday, July 14, 2009

dropbox : Free online stroage

Dropbox providing free online storage service for free upto 2GB. Dropbox is the easiest way to share and store your files online.

What you can do with Dropbox
* Sync files across computers
* Access files online from anywhere
* Share and collaborate with others


Open free account

check out dropbox tour

Monday, July 13, 2009

ntop : A network usage measuring tool

ntop is a tool for both Unix and Win32 that shows the network usage, similar to what the popular top Unix command does. It sports a web interface for accessing accounting data and includes support for popular tools/protocols such as NetFlow/sFlow/RRD.

SF project URL : http://sourceforge.net/projects/ntop/
Home URL : http://www.ntop.org/

Sunday, July 12, 2009

Online network bandwidth, speed tester

To find your network bandwidth and speed visit http://speedtest.net. This site will show bandwidth upload speed and download speed.


Bandwith : Bandwidth tell us about b how much data cna flow through the wires on a cable.

Network speed : Network speed tells us the rate at which data can move on a wire.

Thursday, July 9, 2009

http://www.oldversion.com/

Find Old Versions of Any Application at
http://www.oldversion.com/

Monday, July 6, 2009

securing entire hard drive

If you r looking for Free open-source disk encryption software for Windows Vista/XP, Mac OS X, and Linux.

check http://www.truecrypt.org


a tutorial at http://revision3.com/hak5/truecrypt

WinCDEmu : A free CD/DVD emulator for Win32 & Win64

WinCDEmu is an open-source software that allows mounting CD/DVD images by clicking at the image files in Windows Explorer. It supports both Windows XP and Vista, is open-source and completely freeware.


URL : http://wincdemu.sysprogs.org/
download : https://sourceforge.net/projects/wincdemu/files/

Saturday, July 4, 2009

SUMOPaint : A Online Photo editor

SUMOPaint is a online image editor that allows us to edit our photos, create images in browser without downloading or installing anything. Its a light weight alternative to photoshop software.


check youtube video on sumo paint : http://www.youtube.com/watch?v=NAEoeWnYYvI

sumopaint URL : http://www.sumopaint.com

Audacity : A Free, Cross-platform sound editor

Audacity is free, open source software for recording and editing sounds. It is available for Mac OS X, Microsoft Windows, GNU/Linux, and other operating systems.

You can use Audacity to:

* Record live audio.
* Convert tapes and records into digital recordings or CDs.
* Edit Ogg Vorbis, MP3, WAV or AIFF sound files.
* Cut, copy, splice or mix sounds together.
* Change the speed or pitch of a recording.


URL : http://audacity.sourceforge.net/

Handbrake : a video format converter

Handbrake is a open source GPL - licensed video transcoder for Mac OS x, Linux and windows.
Its a good to to convert your video file formats

Supported file types : HandBrake supports input types like DVD, DVD image, DVD VOB files, MPEG-TS, Matroska, AVI, mpeg-4, etc and output formats as follows

Container formats: MP4, AVI, OGM, and MKV

* Video Codecs: x264 (with H.264 output), Xvid and FFmpeg (with MPEG-4 ASP output)
* Audio: AAC, MP3, Vorbis, and AC-3

for more details visit http://handbrake.fr

Monday, June 8, 2009

system log monitoring tools

We can monitor system logs with following free/open source tools:

1. "swatch" is a log file monitoring tool written in Perl.
home page : http://sourceforge.net/projects/swatch/
Installation notes on ubuntu :http://ubuntuforums.org/showthread.php?t=1035589
swatch also mentioned in Professional Red Hat Enterprise

2. check_logfiles : a nagios plugin to monintor system log files

home page : http://www.consol.com/opensource/nagios/check-logfiles

Monday, May 4, 2009

Encrypt and Decrypt a file with a password using GnuPG (GNU Privacy Guard) in Linux.

We can protect our data using GnuPG (GNU Privacy Guard). This will help us to encrypt file and decrypt files with password.

Command to encrypt a file :
gpg -c file

command to decrypt
gpg file.gpg


Ref :

* http://www.gnupg.org/

Wednesday, April 22, 2009

GNU Screen :

GNU Screen is a highly useful Unix based console-mode tool that allows a user to manipulate multiple windows inside of a single session. Using "Screen" utility we can run any number of console-based applications within a single terminal.

beginner's tutorial on screen:
http://www.kuro5hin.org/story/2004/3/9/16838/1493



A Guide to Efficiently Using Irssi and Screen

Thursday, March 12, 2009

How to add Prefix or Suffix to all file names in a folder ( Linux)

Command sequence to rename all files with a prefix.
for x in `ls -d *`; do mv $x .$x; done

Command sequence to rename all files with a suffix.
for x in `ls -d *`; do mv $x $x.; done

Wednesday, February 25, 2009

How can I get yesterday date with date command

You can find yesterday date using following command:

date --date="-1 days"

Sunday, February 22, 2009

Bit torrent search engine.

The largest and most advanced BitTorrent search engine

http://btjunkie.org/

Friday, January 23, 2009

How to create firefox extensions

Here is a nice tutorial on "firefox extension creation"

http://roachfiend.com/archives/2004/12/08/how-to-create-firefox-extensions

Wednesday, January 21, 2009

jEdit

jEdit is a programmer's free text editor, available under the GNU General Public License.

Features :

* jEdit includes Syntax highlighting that provides native support for over 130 file formats

* jEdit is written in Java and runs on Linux, Mac OS X, OS/2, Unix, VMS, and Windows.

* Over 150 available jEdit plug-ins for many different application areas.


URL : http://www.jedit.org/

Saturday, January 10, 2009

[Linux] Tomcat installation on Cent OS

A nice blog post describing about tomcat installation on Cent OS



http://edipage.wordpress.com/2008/09/22/install-sun-java-and-tomcat-on-centos-5

[Linux] Command to display processor information

Use following command to display your processor(CPU) information

cat /proc/cpuinfo