image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old September 17th, 2002, 07:59 AM
profx's Avatar
ill never 4get watsisname
 
Join Date: May 2001
Location: Auckland New Zealand
Posts: 386
Thanks: 0
Thanked 0 Times in 0 Posts
profx is on a distinguished road
Neat Terminal Welcome

Hey, for those of you that use the terminal every now and again, did you know it is possible to modify the welcome message.

just copy and paste this into a terminal window
find /usr/share/calendar/calendar.* -exec calendar -f {} \;

to edit the Message Of The Day
pico /etc/motd

or if you want to execute a command when a new terminal window is opened type
pico .login
then put what you want. I suggest something like

echo Todays menu:
find /usr/share/calendar/calendar.* -exec calendar -f {} \;
uptime

for to day this is what i get:

Todays Menu:
09/18 Greta Garbo born, 1905
09/18 Jimi Hendrix dies from an overdose, 1970
09/17 Battle of Antietam, 1862
09/18 Frodo and company rescued by Bombadil (LOTR)
09/18 Victory of Uprona in Burundi
09/17 National Heroes Day in Angola
09/18 Independence Day in Chile, Zimbabwe
11:56PM up 14 days, 6:25, 3 users, load averages: 0.57, 0.33, 0.33


fascinating!!

at least its different every day!

how does your terminal welcome you?
__________________
| PowerBook G4 550 - 10.4 - 512Mb - 20Gb | 30Gb iPod Photo | 40x12x48 Fantom Drives CDRW (firewire) | Logitech Cordless Mouse MX700 | xBox with XBMC for movies and music in the lounge

Last edited by profx; September 17th, 2002 at 08:11 AM.
Reply With Quote
  #2  
Old September 17th, 2002, 08:48 AM
Registered User
 
Join Date: Aug 2002
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
DMCrimson is on a distinguished road
neato!
__________________
Sawtooth G4 @ 1.4GHz, Club3d Radeon 8500LE (full 8500 when flashed), Pioneer DVR-A05
Reply With Quote
  #3  
Old September 17th, 2002, 09:30 AM
hazmat's Avatar
Rusher of Din
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 1,803
Thanks: 0
Thanked 0 Times in 0 Posts
hazmat is on a distinguished road
My neat trick is to do the following:

% touch ~/.hushlogin

Reply With Quote
  #4  
Old September 19th, 2002, 01:12 AM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,025
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
You can use Fink to install fortune, and then get a fortune cookie for every login. I like the calender one, though. I've never noticed that before.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
  #5  
Old September 19th, 2002, 08:32 AM
hazmat's Avatar
Rusher of Din
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 1,803
Thanks: 0
Thanked 0 Times in 0 Posts
hazmat is on a distinguished road
Quote:
Originally posted by symphonix
You can use Fink to install fortune, and then get a fortune cookie for every login. I like the calender one, though. I've never noticed that before.
For more fun, try 'fortune -o'.
Reply With Quote
  #6  
Old September 19th, 2002, 12:17 PM
vanguard's Avatar
Registered User
 
Join Date: Jul 2001
Location: Apex, NC
Posts: 531
Thanks: 0
Thanked 0 Times in 0 Posts
vanguard is on a distinguished road
I once wrote a program that grabbed the current stock price and calculated the value of my stock options every 15 minutes. I'd display their value every time I logged in.

However, that got depressing so I shut it down.

Vanguard
__________________
500 mhz iceBook- 384mb ram, combo drive
Reply With Quote
  #7  
Old September 19th, 2002, 01:43 PM
Dehuti's Avatar
Electric whale
 
Join Date: Jul 2002
Location: Europe, Poland
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Dehuti is on a distinguished road
Talking

Quote:
Originally posted by vanguard

However, that got depressing so I shut it down.

Vanguard
This is great guys! That's why I like OSXcomUNITY
__________________
MacBook Pro on the right-hand side, Powerbook on the left ladies and gents.
Reply With Quote
  #8  
Old September 20th, 2002, 12:16 AM
symphonix's Avatar
Scratch & Sniff Committee
 
Join Date: Jul 2001
Location: The Australian Jungles
Posts: 4,025
Thanks: 2
Thanked 2 Times in 2 Posts
symphonix is on a distinguished road
Just be warned peoples: fortune -o provides fortunes that are potentially offensive.
Actually, I did snoop around in man fortune and it is pretty neat.
__________________
- iMac G5 1.8GHZ 17" | SuperDrive | 160GB | 512MB | Airport Extreme | Bluetooth Keyboard & Mouse | Wacom Intuos II
- Pentax *ist DL - JVC MiniDV Camcorder - Airport Express - iPod Nano 1gb white
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blindly using terminal to change monitor mirroring iwbyte Mac OS X System & Mac Software 1 June 4th, 2003 04:21 PM
Neat cd backup utility for terminal michaelsanford Unix & X11 0 November 22nd, 2002 09:10 PM
terminal potentials lucasraggers Mac OS X System & Mac Software 10 October 23rd, 2002 02:39 PM
Alarming Terminal app behavior (10.1.5) bbloke Mac OS X System & Mac Software 3 June 12th, 2002 05:12 PM
Terminal Terminal kvist Mac OS X System & Mac Software 0 April 13th, 2002 03:21 PM


All times are GMT -5. The time now is 06:54 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.