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"; }


Comments

Popular posts from this blog

AIX Print Queue Migration