Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have written a shell script.....
Its 500 lines long.
when i execute the my script, all the data i have given in the echo command is not visible and the page gets loaded with the options after echo.
I think its getting page down.
How to stop it?
I want all my echo's coming. Its really important for the script.
What to do?
any ideas?
echo simply outputs to stdout (typically the display):
e.g. echo "Hello"
Results in:
Hello
Are you saying you have 500 echo lines or that you have one echo that is trying to do 500 lines?
Unless you're piping the echo into something else it doesn't have any impact on your script. Your script will either echo or not echo then do the next step.
Are you putting quotes around what you wish to echo (see "Hello" above)?
Are you trying to echo the output of a command?
e.g. echo date
Results in:
date
however:
echo `date`
would echo the current date/time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.