Shell Scripts

Shell Scripts November 23, 2015 3

Shell script: Copy files from source to target directory

Simple shell script to search and copy files from one folder to another. Pretty useful if there is a need to copy/move files from one…

Linux Articles, Shell Scripts October 29, 2010 2

Top Memory and CPU consumers UNIX, LINUX

Linux OS #current user: $ ps u USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user 16038 0.0…

Oracle database startup shutdown script

Automate Oracle Database startup shutdown script orarun – script automates database start, stop, status query tasks, also allows user to manage…

Linux Articles, Shell Scripts October 8, 2009 0

Convert Videos AVI to MPG

Convert Videos AVI to MPG

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.