Indeed, there are many easter eggs inside your Terminal, but I believe these Terminal command lines will make you smile as it's really fun to play around with. And for some, I am sure you've never seen them before.
cat /usr/share/misc/birthtoken | grep [month]
This Terminal command line will show you what is the birth flower and birth stone for the given birth month, instantly.
$cat /usr/share/misc/birthtoken | grep Jan January:Garnet:Carnation
cat /usr/share/misc/flowers | grep -i [flower-name]
Do you know that Camelia means reflected loveliness? Terminal knows it.
$cat /usr/share/misc/flowers | grep -i Clover Clover:Be mine.
cat /usr/share/calendar/calendar.music | grep [month/date]
Show you the date of birth of milestones in music related to the given month and date parameter.
$cat /usr/share/calendar/calendar.music | grep 01/10 01/10 Blues guitarist Howlin' Wolf dies in Chicago, 1976 01/10 Jim Croce is born in Philadelphia, 1943 01/10 Pat Benatar is born in Long Island, 1952 01/10 Rod Stewart is born in Glasgow, Scotland, 1945
cat /usr/share/dict/propernames | grep [portion-of-name]
This command line, if executed, will return you completed names from the give portion of name. Whether it's proper or not, I doubt.
$cat /usr/share/dict/propernames | grep Te Ted Teresa Teri Teriann Terrance Terrence Terri Terry Teruyuki
cat /usr/share/calendar/calendar.birthday | grep [month/date] cat /usr/share/calendar/calendar.birthday | grep [name]
This particular Terminal command line will show you the birthdays of some famous people. Not so breaking though, I can't even find Steve Jobs and Bill Gates birthdays inside.
$cat /usr/share/calendar/calendar.birthday | grep 09/16 09/16 Allen Funt born in Brooklyn, NY, 1914 $cat /usr/share/calendar/calendar.birthday | grep Steve 07/25 Steve Goodman is born in Chicago, 1948 11/13 Robert Louis Stevenson born, 1850
Thanks to reader James Hindle for pointing out that we can see today's music, history, computer and birthday everytime we open up our Terminal, here is how to do it:
today=`date "+%m/%d"` grep $today /usr/share/calendar/calendar.music grep $today /usr/share/calendar/calendar.history grep $today /usr/share/calendar/calendar.computer grep $today /usr/share/calendar/calendar.birthday
Some articles taken from our resource base, tightly related to current article, to empower you with more knowledge on tweaking the most out of your Mac.