If you have things that you want to run at start up

This preview shows page 3 - 5 out of 6 pages.

use scripting for a few basic tasks. If you have things that you want to run at start up you can simply make a script to start that job or program or whatever it is that you want. Once you have that script made using one of the text editors than you can save that to your .bash_proifile file. Next thing you know you will have this down packed. I am a big windows user so I was wondering what types of commands you would have to use to create scripts on windows. I wanted to know if they were the same as on UNIX. Now the commands to make a script are a little different but the concept is the same. You can simply open up word pad on windows and create a batch file by using the same echo command and saving the file as a batch file. You can then input this into your running scripts on your server and there you have it. Startup scripts for windows. This process is by no means shorter than the process using the UNIX commands. The only difference is that with windows you have interface to help you. As a first time user of UNIX this shouldn’t be too difficult for someone to use if you are familiar with the command line on windows. If both of these are new to you and you know nothing of what the commands do then yes you will struggle a lot. The commands don’t do what you may think they do and you can end up messing a lot of things up in a root file that you don’t
Image of page 3

Subscribe to view the full document.

mean to. So based off of what I have picked up from my research I would say that it is best to do some research like I have done before attempting to alter anything in you OS. Now what I can say that I like the most from this is the fact that you can do so much with script writing. Sure it may be difficult at first but once you get used to it I am sure that it will help in a lot of ways. I like how you can set up you own calendar using the “cal” command in your script. This allows you to completely customize how you want your calendar to be shown. Now if others want to see this they can just add it to there /bin file if you have set the permissions for them read it. Other functions like including the “at” command in your script to start backups or something of that sort can be very helpful to. Say you want to start a backup at a certain time every day. Just make a script that has the “at” command in there with the time you want it to start and there you go. Even if you log off that backup will still run because the system has already received the command to do so. Now if you log off of the server that is doing the
Image of page 4
Image of page 5
You've reached the end of this preview.
  • Fall '11
  • genedseminars
  • Shell, editor, Text editor, Comparison of text editors, text editors

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern