#1. bash: ./bsh.sh: /bin/ksh: bad interpreter: No such file or directory
ksh not found in ubuntu. used /bin/bash instead.
#2. Text gets truncated when pasted(as input to any application) in terminal. faced while producing larger messages in kafka-console-producer.sh, cat, java application that reads System.in ....
Soln. This happens because of default limit of 1024 chars. we can either :
ctrl + d
" and copy > paste remaining/truncated text. stty -icanon
" #to change terminal settings before starting application where we are about to feed larger texts.Sources: unix.stackexchange.com