LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2014, 01:51 PM   #1
MayJune0112
LQ Newbie
 
Registered: May 2014
Posts: 8

Rep: Reputation: Disabled
Cake


Sorry if this is off topic but I want to make a cake for my teen son who loves using linux. I want to write a linux terminal command wishing him "happy birthday!" On his birthday cake...and the command would actually work on his linux. Can anyone help me? (We have ubuntu in case you need to know)

Last edited by MayJune0112; 05-03-2014 at 01:53 PM.
 
Old 05-03-2014, 01:55 PM   #2
turtlebay777
Member
 
Registered: Apr 2014
Posts: 39

Rep: Reputation: 3
Can you help us by telling us which version or type of Linux he uses please?
 
Old 05-03-2014, 02:01 PM   #3
MayJune0112
LQ Newbie
 
Registered: May 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Ubuntu 14.04 LTS
 
Old 05-03-2014, 02:59 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Keeping it simple if you include the terminal prompt you get
Code:
<your son's username>@<your son's machine name>:~$ echo happy birthday!
where you replace what's in the angled brackets by your son's username and machine name (or just start with "echo" if you want it even simpler).
jdk

Last edited by jdkaye; 05-03-2014 at 03:02 PM.
 
Old 05-03-2014, 03:26 PM   #5
MayJune0112
LQ Newbie
 
Registered: May 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks I probably will use that. I was hoping something similar like this http://www.funnpoint.com/media/064/2064l-funnpoint.jpg and something more colorful. But I probably would not have room on the cake if I did.
 
Old 05-03-2014, 03:49 PM   #6
Enindu
Member
 
Registered: Apr 2014
Location: Colombo, Sri Lanka.
Distribution: Arch Linux
Posts: 69

Rep: Reputation: 13
You can use something like Bash loop, like this.

Code:
#!/bin/sh

while [ true ]
	do echo "<your message here [like happy b'day]"
	sleep 1
done
 
Old 05-03-2014, 04:31 PM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Enindu View Post
You can use something like Bash loop, like this.

Code:
#!/bin/sh

while [ true ]
	do echo "<your message here [like happy b'day]"
	sleep 1
done
But would that fit on a cake?
jdk
 
Old 05-03-2014, 04:47 PM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
This one is fun. Give it a try.
Code:
printf "\x1b[5mHappy Birthday\x1b[25m"
jdk
 
Old 05-04-2014, 12:51 AM   #9
MayJune0112
LQ Newbie
 
Registered: May 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks, I will check them out Although my husband have other ideas for the cake (but not so sure he will go through his idea) so now I am thinking of printing a really cool, fun linux command for our son to try on his birthday card. Something that would screams birthday.... at least I don't have to worry about running out of space on a birthday card.

Last edited by MayJune0112; 05-04-2014 at 12:52 AM.
 
Old 05-04-2014, 01:00 AM   #10
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Well please wish him a very happy birthday on my part. He's fortunate indeed to have such caring parents.
jdk
 
Old 05-04-2014, 01:14 AM   #11
MayJune0112
LQ Newbie
 
Registered: May 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks, we are very proud of him.
Off to look for ideas
 
  


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
LXer: This takes the cake (and make mine chocolate!) LXer Syndicated Linux News 0 10-06-2009 07:01 PM
LXer: Have your cake and eat it, too: Adopt open source software LXer Syndicated Linux News 0 12-20-2006 06:21 AM
I'd like my cake & eat it too please! Log to both console and file ericcarlson Linux - Software 1 03-01-2005 04:07 AM
Complete with a cake even... MasterC General 2 08-14-2003 09:23 AM
XINE on Redhat 8.0 is a piece of cake check it out! danimaldaisy Linux - Software 9 03-14-2003 04:55 AM


All times are GMT -5. The time now is 08:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration