Find the answer to your Linux question:
Results 1 to 3 of 3
Hi! can u pls help me write a small script for the following? 1) cd /opt/jakarta/tomcat/webapps/Trial java EncoderProxy 2) cd /root/.wine/fake_windows/Program \Files/try wine fry.exe 10.1.2.23 I want to execute java ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Location
    Mumbai
    Posts
    8

    help on scripting


    Hi!

    can u pls help me write a small script for the following?

    1) cd /opt/jakarta/tomcat/webapps/Trial
    java EncoderProxy

    2) cd /root/.wine/fake_windows/Program \Files/try
    wine fry.exe 10.1.2.23


    I want to execute java & wine at boot up itself.
    So pls help me write an appropriate code for the same using
    bin/bash.

    Thanks & regards,
    karen.

  2. #2
    Linux Enthusiast
    Join Date
    Jan 2005
    Posts
    575
    What do you mean by "sudo user" ?

  3. #3
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    Easiest way would be to put the commands in an S99 script in /etc/rc3.d and/or /etc/rc5.d. They'd start as root.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •