Results 1 to 5 of 5
How can I stop/disable the unwanted messages/quotes that are displayed every time a new terminal session is opened in Slack 11 ????
Thanks
Tes in Atlanta...
- 10-27-2006 #1Just Joined!
- Join Date
- Apr 2006
- Posts
- 11
session messages
How can I stop/disable the unwanted messages/quotes that are displayed every time a new terminal session is opened in Slack 11 ????
Thanks
Tes in Atlanta
- 10-28-2006 #2
open /etc/profile file and look for commands ( continuous ) 'echo; fortune; echo'.
delete these or put '#' sign before the line.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-28-2006 #3Just Joined!
- Join Date
- Apr 2006
- Posts
- 11
Casper
Thanks for the pointer to my /etc/profile... There was no reference to "fortune" anywhere but after some cut & try, I eliminated the messages by commenting the following. Like so much of Linux, I haven't the foggiest idea what those lines did but the messages have disappeared.
# Append any additional sh scripts found in /etc/profile.d/:
#for profile_script in /etc/profile.d/*.sh ; do
# if [ -x $profile_script ]; then
# . $profile_script
# fi
#done#!/bin/csh
#unset profile_script
Thanks again
Ted in Atlanta
- 10-28-2006 #4this will stop execution of all the scripts in profile.d folder. some scripts are very useful and necessary for proper working of shell. open /etc/profile.d folder and look for fortune script. move it somewhere else.# Append any additional sh scripts found in /etc/profile.d/:
#for profile_script in /etc/profile.d/*.sh ; do
# if [ -x $profile_script ]; then
# . $profile_script
# fi
#done#!/bin/csh
#unset profile_script
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-28-2006 #5Just Joined!
- Join Date
- Apr 2006
- Posts
- 11
Casper
You're right. I suspected I went too far by stopping the execution of the guys in profile,d......
although I hadn't run into any discernable problems.
I ended up by undoing my original commenting and going into profile.d and commenting the
contents of the "fortune cookie" nonsense...."bsd-games-login-fortune.sh"
Again... thanks for the pointers...
Ted in Atlanta


Reply With Quote