new line

1-> what should I use print new line in my shell scripting program
I am using
echo "\n";
printf "\n"
but both of them is not working
If you are referring to the shell, which I think you do, just use echo by itself. If you want to print something with echo without a new line, use switch -n. man echo will tell you that.
Topic archived. No new replies allowed.