Does Linux have the equivalent of an autoexec.bat file? If yes. What is the filename and where is it located?
-----BEGIN PGP SIGNED MESSAGE-----
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.
| 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
-----END PGP SIGNATURE-----
In KDE the Autostart directory is at /home/yourname/.kde/Autostart
In Gnome open the Menu → Control Centre → System → Sessions → Startup Programs
if you’re looking for something indepent from the windowmanager that gets started quite early on bootup you probably want:
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?
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
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.
On 2008-07-29, bigrigdriver <email@example.com> 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
The sand remembers once there was beach and sunshine
but chip is warm too
– haiku from Effector Online, Volume 1, Number 6
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.