This will helps one to generate base code template.
temp="class "$*"{ \n
\tpublic static void main(String[] args){ \n
\t\tSystem.out.println(""); \n
\t} \n
}"
save_path=$(pwd)"/"$*".java"
echo $temp > $save_path
echo $*".java created successfully"
java_template.sh [filename]
alias j="sh /Users/arifsuhan/java_template.sh"