Replace words in the fields of table using SQL.

If you trying to apply a global text string with an replace , than use this:

The your_sql_table is the name of the table. The field_from_your_sql_table is the field with records where will be find and repleced words. The wrong_word is the word search and replace by good_word

Scanning over PPP with nmap

You can use nmap by using the PPPoE Discovery protocol. Just use your script with broadcast-pppoe-discover.

See below the example:

You can see more about nmap on this site.

Send emails from linux terminal .

You can test if the sendmail application is installed and working correctly.

If you go on and see the message with “Hello world” then is working. The mail command allow you send emails from linux terminals and to make some tricks for you.

Let’s see some of this options.

Let’s see how… Read More »

Simple bash script : scan and convert the image in JPG format.

I use to linux commands: scanimage and convert. We can see the script below:

Write the script in a text file.Named the script with this name scan.sh. Run this :

The output will be:

You can use any name for the output. As we see in this example I used firstscan.