You should just add the command as you would type it on the command-line... for example, I have a sound played when I login to a text prompt because I added
to my .bash_profile
. The difference between the two files is that the .bash_profile is run when you initially login whereas .bashrc is run every time a new term is opened. If you want screen
to run on your console but not in every xterm window you open, then put it into .bash_profile as above.