LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2003, 01:57 PM   #1
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Rep: Reputation: 30
Post /etc/motd


How can I make an color text in /etc/motd and when someone logins into my shell to see the message in color?
 
Old 09-08-2003, 03:41 PM   #2
Stophe
LQ Newbie
 
Registered: May 2003
Location: France
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
google : escape caracters
 
Old 09-08-2003, 04:33 PM   #3
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Original Poster
Rep: Reputation: 30
Question !?!?!?!?!?!?!?!?

what is this?~~?
 
Old 09-09-2003, 03:07 PM   #4
Stophe
LQ Newbie
 
Registered: May 2003
Location: France
Distribution: Slackware
Posts: 14

Rep: Reputation: 0
google : customize bash
Escape characters allow use of colors
 
Old 05-03-2006, 08:36 AM   #5
ricardo.merces
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
How to configure multiples messages in motd ?
 
Old 05-03-2006, 08:44 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Multiple messages?

as in random ones or several lines?

I use fortune for random quotes when my users login, for several lines i have each one starting with echo

Code:
echo "text"
echo "text"
echo "text"
But that's because my shell scripting is a bit pants.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
motd toothe Linux - Newbie 2 11-08-2005 04:02 PM
Motd wizex Slackware 6 09-05-2005 08:27 AM
motd iomari Linux - Software 5 04-03-2005 04:43 AM
motd Master Fox Linux - Software 2 08-25-2004 07:40 AM
Is there any MOTD software available besides /etc/motd? csif Linux - Software 1 04-24-2004 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration