Fare il mount d’una Immagine Iso in Solaris

lofiadm -a /export/temp/software.iso /dev/lofi/1

mount -F hsfs -o ro /dev/lofi/1 /mnt

hsfs è uguale a “High Sierra file system (CD-ROM)”

Posted in Solaris Solaris by c0m0. No Comments

Ftp in Bash

Script for connect to a ftp server

#!/bin/bash

ftp -in example.com << "EOF"
user user01 password20
ls
EOF

Incontrissimi.com - Entra in Chat

Posted in Unix/Linux by c0m0. No Comments

Installare MailScanner su Debian

Sento parlare molto bene di questo email scanner,Quindi lo installato usando questa guida

Link

Posted in Solaris Unix/Linux by c0m0. No Comments

Scripting On my Phone

Fare Scripting on my htc Wilfire

Text to speech, ‘Hello world!’ in Android (Perl)
3 lines of code. Import the Android.pm google extension, create the android object and you can use the ASE API methods:

use Android;
my $droid = Android->new();
my $result = $droid->speak(‘Hello, Perl!’);

For text2speech ASE support you need to install this:

http://code.google.com/p/android-scripting/wiki/InstallingTextToSpeech

For all methods available over the $droid object, bluetooth, call, camera, volume, contacts, dial, dialog(UI), clipboard, input related methods (UI), geocode, volume, password (UI), packages, screen, launch, makeToast (UI), map, notify, read, sensors related methods, speech methods, scanBarcode, schedule, sendEmail, sms, speak, audio recording, vibrate, open URLs, webSearch(string), etc… see documentation at:

http://code.google.com/p/android-scripting/wiki/ApiReference

If you want to know what is between your and the API, see at:

http://code.google.com/p/android-scripting/source/browse/perl/src/Cross/Android.pm

To start playing with Perl in your Android mobile device or emulator, follow the white rabit:

http://code.google.com/p/android-scripting/source/browse/perl/COMPILING

http://code.google.com/p/android-scripting/

Posted in Android by c0m0. No Comments

Trovare i file che sono stati modificati oggi

Come trovare i file che sono stati modificati oggi

find /path_che_voglio -type f -ctime 0 -exec ls -lt {} \;

per ulteriori opzioni man find

clicca qui

Posted in Unix/Linux by c0m0. No Comments

Come vedere i link status in Solaris

  1. dladm show-link

per altre opzioni vi rimando al sito della sun http://docs.sun.com/app/docs/doc/817-1592/geofw?l=en&a=view

o alla man page del comando man dladm :-)

Posted in Solaris by c0m0. No Comments