Linux Articles

Show number of CPUs

#!/bin/bash #This script will show you amount and name of CPUs including vmware cpu’s if they exist. name=”$( cat /proc/cpuinfo |…

Show number of CPUs UNIX

#!/bin/bash #This script will show you number and name of CPUs in UNIX environment. num=`/usr/sbin/psrinfo | wc -l ` tipo=`/usr/sbin/prtconf -pvPD…

Convert resize photos images – Konwertuj zdjęcia

Linux Articles, Shell Scripts February 25, 2008 0

Random password generator – Losowe generowanie haseł

Random Password generator – let’s generate the password from within the urandom mess….

Linux Articles, Shell Scripts February 24, 2008 0

Show me IP: Linux, FeeBSD, SunOS

Shell script: read and show ip address – suitable with Linux, FreeBSD and SunOS

Linux Articles, Shell Scripts February 24, 2008 0

Compress Oracle Archive logs 10 in 1 sequence

This script will archive and compress Oracle Database Archive Logs into one package of 10 log files.

Linux Articles, Shell Scripts February 24, 2008 1

Display ANSI colors – Wyswietl kolory ANSI

Display ANSI colors in shell

Linux Articles, Shell Scripts February 24, 2008 0

My wget – niech ściąga

A small tuning of wget – sometimes a remote servers are braking up the connection. This wget will try and try…

Shell Scripts February 24, 2008 0

Validate connection to remote host – Sprawdzanie łączności z hostem

A simple script to test connection to a remote host #!/bin/bash n_sec=2 #ping waits n of seconds REMOTE_HOST_IP=192.168.0.1 ping -c $n_sec…

Shell Scripts February 24, 2008 0

Change date format EN to PL – Zamiana formatu daty

Skrypt formatujący datę na pożądane nazwy należy uprzednio wydać polecenie date celem sprawdzenia jak system wyświetla domyślnie datę, a następnie podstawić…