Archives for category: AIX
Did you ever feel the desire to show some commands in Unix or Linux to colleagues? Just to demonstrate things? Or, did you ever felt the desire just to show off 

You can use websites like or other screencapture software. Maybe the use ffmpeg in Ubuntu/Debian helps you out (p.e: ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg) But it creates video’s which must be uploaded and may become large. A lot of work and it takes a lot of time to create. Could help you out even more. A nice website where you can upload your cool terminal adventures. Type in ttyrec in your terminal, then perform some cool skills in your terminal and to complete this, just type exit. Upload the tty file on and wait to get in the wall of fame on playterm!

ttyrec can be installed in Ubuntu by using apt-get.

However, there is also a nice alternative, which also works great: shelr. 

See . Full explanation here:

Happy shelling! ;-)
I have to say that i'm quite a newbe to AIX, but i like it very much. @Work i use it and got in a situation where I was wondering which users on a specific system had to change their passwords at next logon. In other words: who has the admchg flag in the /etc/security/passwd file. Especially for the bigger customers with complex password policies on their AIX machine, this can be can be good to know. 
Well... I tried to write a nice script to find out who must change their passwords at next logon:
#! /bin/ksh
# See Accounts which have the ADMCH flags

lsuser -a pgrp groups ALL |awk '{print $1}' >/var/allusers # write usernames in allusers
rm /var/*.usr 2>/dev/null # remove old .usr files

while read myline # read line in var myline
pwdadm -q $myline | grep ADMCHG > /var/$myline.usr # read flag ADMCHG from $myline into $myline.usr
ls -la /var/$myline.usr | awk '{print $5}' 2>/dev/null2>/dev/null # read filesize from $myline.usr into $5

while read myline2 # read line in var myline2
grep ADMCHG /var/$myline2.usr >/var/temp
if [[ $? == 1 ]]; then
rm /var/$myline2.usr 2>/dev/null

cd /var 2>/dev/null
ls *.usr | sed -e 's/\.[a-zA-Z]*$//' # list *.usr files without .usr extension