I am fairly new to AIX machine. We would like to deploy some program into the AIX machine which is yet to come.We have a short experience in AIX machine and after login using putty, we felt the shell is very weird and some aspects compared to the Red Hat Linux we are using. The backspace is not functional, and some arrow key have weird behaviour too.Anyway, assume this is a healthy machine, I would like to ask, if we create a .sh file and execute it, what is the default shell for it? And what is the default shell after login?
What is the default shell for .sh in AIX?
shell;shell script;aix
Red Hat uses bash as its shell; AIX will use a modified commercial-UNIX Bourne Shell or various out-of-date (and buggy) versions of ksh depending on version (as of AIX 4, it was either a buggy ksh88 or a buggy clone thereof).  If you want arrow keys, you will need to run ksh or bash (and if the ksh on that version of AIX is still pre-ksh93, arrow keys won't work although Ctrl + P / Ctrl + N will).Backspace not working is a symptom of the stty settings being incorrect; Linux generally prefers DEL for backspace, but AIX uses the System III/V standard Ctrl + H by default.  Try stty sane; tset -Q.  (This may still leave it at ^H, in which case you'll need stty erase '^?'.)  While you're at it, make sure $TERM is correct (it should usually be xterm or xterm-color; if the latter doesn't work, use the former).