Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i got the open part for ya...i'm lost as to how to close it though, sorry
1. Open up a new terminal window
2. CD to the directory you want to save the shell script in
3. type "vi mozilla.sh" or whatever you want it to be called (must end in .sh)
4. Hit " I " to switch to insert mode
5. copy the following into the file
6. hit ESC
7. type " :wq " to save the file and quit
8. now, to run the script, just type " sh mozilla.sh "
#start mozilla and go directly to the url specified
Thanks a bunch for replying!! The open part gets the job done for now, and works. To close it, I though about somehow finding the process then killing it, but I'm not really sure how to go about that. Hopefully someone else will reply
no problem, the close function can be done, rather easily too...i've seen an example of it, and tried to implement it in this case, but i'm just a newb too...so i plain and simply dont have the skills yet...o well, newbs rejoice!
I did this which does exactly what you asked for although that's all it does opens and closes the browser at the specified page. Not sure if it'll only work on my setup, Java is more my thing, and it's definitely not robust. I've only been looking at scripting for practically all of 2 minutes. 'Tis fun though