Curiosidad Terminal Mac OS X

OS X de 10.1 to infinity and beyond
Avatar de Usuario
(i)rsh
Macacoadicto
Mensajes: 828
Registrado: 01 Feb 2007

Curiosidad Terminal Mac OS X

Mensaje por (i)rsh »

1. Important dates in history -- Lord of the Rings style

At the Terminal prompt paste the following: cat /usr/share/calendar/calendar.history and press return. You'll get a list of famous dates throughout the centuries -- including some that take place in Middle Earth.

2. Snake Game

At the Terminal prompt type in emacs, then press enter. You'll see a bunch of text come up. Once it does hold down the ESC key and press X. If you timed your presses right, you'll notice the cursor has moved to the bottom of the page next to the letters M-x. Now type in snake and enjoy!

3. Tetris

Follow the same steps as for the Snake game. At the Terminal prompt type in emacs, then press enter. You'll see a bunch of text come up. Once it does hold down the ESC key and press X. If you timed your presses right, you'll notice the cursor has moved to the bottom of the page next to the letters M-x. This time, type in tetris. Use the arrow keys to move and rotate the blocks, and press the space to make the blocks fall.

4. Emacs psychoanalysis

Like the previous two, this last easter egg is an extension of the emacs UNIX command. At the Terminal prompt type in emacs, then press enter. You'll see a bunch of text come up. Once it does hold down the ESC key and press X. If you timed your presses right, you'll notice the cursor has moved to the bottom of the page next to the letters M-x. This time, type in psychoanalyze-pinhead. You'll get a speedy conversation between two doctors. Press Ctrl-G to stop the conversation and then read the transcript.
Última edición por (i)rsh el Dom Abr 04, 2010 9:52 pm, editado 1 vez en total.
Avatar de Usuario
FM
Übermacaco
Mensajes: 10423
Registrado: 03 Feb 2004

Mensaje por FM »

Matrix... err... Terminal Rules! (Y)

Estoy armando una pequeña base en FMP10 (File Maker Pro 10) con los comandos que más uso (24 por ahora), si a alguien le interesa avise ;)
MacacoSoldier ... Por favor, lee y respetá las reglas del foro.
Mac mini (Late 2014) | Mac mini (Mid 2010) | iPhone SE | Newton 110

Macintosh for Productivity, iPhone for Mobility, Linux for Development, Windows for Gaming
Avatar de Usuario
Sera
Übermacaco
Mensajes: 11145
Registrado: 28 Ene 2004

Mensaje por Sera »

FM10 para unos 10 comandos ? No sera mas comodo un TexEdit o algo asi ? LOL
Serafin Patiño / Apple Certified Macintosh Technician

Macintosh for Productivity - Linux for Development - iPhone for Mobility - Windows for Solitaire
Emergencia Macaca Online
Avatar de Usuario
FM
Übermacaco
Mensajes: 10423
Registrado: 03 Feb 2004

Mensaje por FM »

Jaja, 24 comandos ;)

Mira que lo pense. Lo tenia en TextEdit y me incomodaba actualizarlo y buscar cada comando al ir agregando nuevos. Peor si el comando tenia alguna opción extra.

Para recordar y buscar es más fácil y dinamico asi ;)
MacacoSoldier ... Por favor, lee y respetá las reglas del foro.
Mac mini (Late 2014) | Mac mini (Mid 2010) | iPhone SE | Newton 110

Macintosh for Productivity, iPhone for Mobility, Linux for Development, Windows for Gaming
Avatar de Usuario
iRafa
Megamacaco
Mensajes: 3445
Registrado: 02 Mar 2007

Mensaje por iRafa »

Me morí con el tetris...