Posts

Misc SysAdmin Tweaks

Set AIX Terminal Title Change title to current pwd output. echo -ne "\033]0;${PWD##*/}\007"; Change title to login_name @ hostname echo -ne "\033]0;${PWD##*/}\007"; Change title with CD command. cd() { command cd "$@"; echo -ne "\033]0;${PWD##*/}\007"; }

AIX Print Queue Migration

Here is how i migrated AIX 7.1 print queues to a new server. 1- Copy /etc/qconfig file to the new server 2- Copy following files /var/spool/lpd/pio/@local/custom/* / var/spool/lpd/pio/@local/dev/* / var/spool/lpd/pio/@local/ddi/*   3- Change permissions and ownership for all three of the above directories. chmod 664 /var/spool/lpd/pio/@local/custom/* chown root.printq /var/spool/lpd/pio/@local/custom/* 4- Digest the queues enq -d 5- restart qdaemon stopsrc -s qdaemon startsrc -s qdaemon