If I want to run a program or command automatically everytime when I
login, how can I do it?
Thanks?
If running the KDE desktop. Create a script to run whatever in
.kde/Autostart and chmod +x your_script_here.
If command line, not gui desktop, call your script from bottom of .bash_profile
What's the difference if I wrote in .bash_profile or in /etc/rc.local?
^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
Bit Twister <BitTw...@localhost.localdomain> wrote in message news:<slrnckhrir.a...@wb.home.invalid>...
You asked for "on login". That is .bash_profile and would run
everytime you logged in.
Had you asked during bootup it would be /etc/rc.local or a startup
script in /etc/init.d with links in the /etc/rc.d/rcX.d directories
and only run during boot up or runlevel changes.