Results 1 to 9 of 9

Thread: autoexec.bat

  1. #1

    Default autoexec.bat

    Does Linux have the equivalent of an autoexec.bat file? If yes. What is the filename and where is it located?

  2. #2
    ab@novell.com NNTP User

    Default Re: autoexec.bat

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Google for 'linux startup files' (without quotes). It's a much nicer
    world. Basically, it depends what you want to do which file you modify.

    Good luck.





    stubble wrote:
    | Does Linux have the equivalent of an autoexec.bat file? If yes. What is
    | the filename and where is it located?
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIiRku3s42bA80+9kRAn5BAJwO56X5IEV7xdiM4kMLMP4sqZ7ALgCfY2yj
    lGI2Rq827nFsa5Fi9OSOc6E=
    =rAM5
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: autoexec.bat

    In KDE the Autostart directory is at /home/yourname/.kde/Autostart
    In Gnome open the Menu --> Control Centre --> System --> Sessions --> Startup Programs

    Luck
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  4. #4
    fseidel NNTP User

    Default Re: autoexec.bat

    if you're looking for something indepent from the windowmanager that gets started quite early on bootup you probably want:
    /etc/init.d/boot.local

  5. #5
    Join Date
    Jun 2008
    Location
    As. - Paraguay - GMT -4
    Posts
    95

    Default Re: autoexec.bat

    So if I call my script directly, for instance, perl myscript.pl, will be executed without problems?
    This list of programs are called after started every system services?

  6. #6

    Default Re: autoexec.bat

    In case just to remind that autoexec.bat is only for dos session. Was replace by system.ini for 16bits windows version and for NT/XP/Vista by Registry keys such as
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    HKEY_USERS\.DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

  7. #7
    Join Date
    Jun 2008
    Location
    East Central Illinois, USA
    Posts
    20

    Default Re: autoexec.bat

    Rather than ask what is the Linux equivalent of autoexe.bat, I think it would be better if you stated what it is you want to accomplish, then ask which file to edit to make it happen.
    Registered Linux User # 170078

  8. #8
    Rikishi 42 NNTP User

    Default Re: autoexec.bat

    On 2008-07-29, bigrigdriver <bigrigdriver@no-mx.forums.opensuse.org> wrote:

    > Rather than ask what is the Linux equivalent of autoexe.bat, I think it
    > would be better if you stated what it is you want to accomplish, then
    > ask which file to edit to make it happen.


    Most anyone knows what autoexec.bat stands for: starting apps at boot.
    So if you remark meant: 'You should ask how to start apps at boot, rather
    then...', I disagree.

    If, however, you meant: 'You should specify if the app should be started at
    boot, or at login', then I feel we'd be pointing this/him into the right
    direction.

    --
    The sand remembers once there was beach and sunshine
    but chip is warm too
    -- haiku from Effector Online, Volume 1, Number 6

  9. #9

    Default Re: autoexec.bat

    For start at login and many environment variables look at ~/.bashrc for a default SUSE install. I don't recall off hand what the csh equivalent is - ~/.login maybe?

    Since the OP may be new, ~ is the home directory - if I used my avatar name here for an account this would mean ~ = /home/Neophyte42 for me. The .filename denotes a hidden file that may or may not be visible from konqueror (or any other gui file browser) depending on the settings. From the terminal, these files are visible using ls -a and the -l option can be used to give some extra info like sizes and dates. Many commands let you string options, so ls -a -l could be expressed ls -al instead - but this behavior shouldn't be assumed - check the man or info page first.

Posting Permissions

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