![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Apr 2005
Location: California USA
Beans: 108
|
How to jazz up your remote login terminal with fortune
Getting bored with the same dull login terminal when you do remote administration to your Hoary Ubuntu Linux computer? I figured out how to jazz it up some.
First, you should find an interesting random-quote/fortune/joke program at /usr/games/fortune Fortune is a neat program that yields adages, fortunes, quotes, humor, etc in a "random" fashion. First you want to make sure that the binary command fortune is in a path defined by the bash shell's envionmental variable, $PATH The easiest way to do that is Code:
# cp /usr/games/fortune /usr/bin/fortune Here is an example run: Code:
teacher@ubuntu4:~ $ fortune
Always do right. This will gratify some people and astonish the rest.
-- Mark Twain
You will edit /etc/bash.bashrc by adding "fortune" to the bottom of the bash configuration file and save it, such as you see I did here: Code:
teacher@ubuntu4:~ $ tail /etc/bash.bashrc export JAVA_HOME PATH=$PATH:$JAVA_HOME/bin export PATH fortune |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|