What's your distro?
People I want to know how I can run a script after enter my login and password in the console.
I dont have X in that machine.
Someone can help me ?
What's your distro?
how about chmod 755 <file> then ./<file>
telnet mtrek.game-host.org 1701
I thought he/she wanted to know how to make it automagically... like putting it in rc.d directory and stuff ..
if the file doesnt exist create it, but the file is .bash_profile
Just add a line with the command to be executed. For example,
you have a script called /opt/bar/bin/drink_beer.sh,
add the following line to .bash_profile:
exec /opt/bar/bin/drink_beer.sh
Yes, Well I am Using Debian.
The .bash_profile and .bashrc works thanks.
nevertheless with programs that use ncurses expend a lot of time oppening the application tha is curious.
I just test putting the mc editor in .bashrc
But thanks that is the answer!
Last edited by roche; 09-15-2006 at 06:02 PM.
Bookmarks