LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-15-2013, 12:19 PM   #1
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888

Original Poster
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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.

Last edited by jamison20000e; 08-18-2014 at 12:52 PM.
 
  


Reply



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
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

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

All times are GMT -5. The time now is 11:59 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