LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 11-15-2013, 12:19 PM   #1
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: infinity; (randomly born:) Milwaukee, WI, US, Earth
Distribution: any UNIXish that works well on my cheapest with mostly KDE, Xfce or CLI but open ;-)
Posts: 1,104
Blog Entries: 2

Rep: Reputation: 259Reputation: 259Reputation: 259
Question BASH Fun 'fortune' @start (hope it's OK to do it this way)


Running fortune from my Terminal Emulator I get what you'd expect only on first run I get a text art which is completely cool then on second run I get a saying or tip...

Here is the part where I need help and hope is OK to do. At the end of my .bashrc file I put fortune, works fine for the text art but if I put:
Code:
fortune
fortune
or:
Code:
fortune
/usr/games/fortune
or a few other ideas I've tried (e.g: fortune | fortune) I get two sayings and\or tips or errors...

So, what I'd like to have happen is on-open of Terminal Emulator at top art then a saying or words of some sort as I've installed lots of fortune versions.

I know it's not a pressing matter and am going to keep trying things but any help would be greatly appreciated, Thanks.

Last edited by jamison20000e; 11-15-2013 at 02:52 PM.
 
Old 11-15-2013, 12:39 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: infinity; (randomly born:) Milwaukee, WI, US, Earth
Distribution: any UNIXish that works well on my cheapest with mostly KDE, Xfce or CLI but open ;-)
Posts: 1,104
Blog Entries: 2

Original Poster
Rep: Reputation: 259Reputation: 259Reputation: 259
This works:
Code:
man fortun
{...}
fortune -f
{...long list}
Added:
Code:
fortune ascii-art
fortune
so fixed but will wait to hit solved as I'm no Guru on if I did this in the right way?

Edit\add: [solved] and when I login CLI wherever.
Attached Images
File Type: jpg Untitled.jpg (159.1 KB, 4 views)
File Type: jpg lol.jpg (135.7 KB, 3 views)

Last edited by jamison20000e; 11-15-2013 at 03:18 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hope i did this right caveman47 LinuxQuestions.org Member Intro 1 02-02-2011 04:35 PM
Last hope :( ozbolt Linux - Hardware 17 08-15-2008 07:30 AM
last hope tizwaz Linux - Newbie 65 09-06-2007 01:30 PM
<fun> The Windows Crash </fun> Simon Bridge General 6 08-26-2007 07:46 PM


All times are GMT -5. The time now is 08:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration