Canadian Mac Forums at ehMac banner

Share your Terminal Tricks

8K views 14 replies 8 participants last post by  minnes 
#1 ·
I'll start with a simple one
open the terminal and type CAL, and you get this month's calendar, type "CAL -Y", and you get this year, type "CAL -Y 1966" and you get a calendar from the year of my birth(or any year you want)
Anyone else have some terminal stuff to share.
 
#4 ·
sudo rm -r /path_of_folder_or_file (Drag and drop file/folder to have it do path for you)
PASSWORD

Tell me I don't have priv's to move to the trash, EAT CODE!!!
 
#6 ·
<BLOCKQUOTE>quote:</font><HR>Originally posted by Heart:
ls

lists your home folder
<HR></BLOCKQUOTE>

Actually, this will list the contents of the current directory (The default is Home when you open terminal)
 
#8 ·
<BLOCKQUOTE>quote:</font><HR>Originally posted by MacDaddy:
quote:
Actually, this will list the contents of the current directory (The default is Home when you open terminal) <HR></BLOCKQUOTE>


Oh man....

Trumped by a Terminal Geek :D

[all in good humor]
 
#9 ·
ls -laF Now that is how to read a directory ;)

As for tricks... try running softwareupdate

As for the game in emacs, thanks, I shall have fun with it.

However, try this:

type emacs, press return
press escape twice (its just to make sure the meta key has been pressed) then press x, then type space doctor. and then talk to the doctor :D


Here are some other fun ones: top
banner (make a banner of what you just said, but doesn't appear that well as you aren't piping it to the printer)
a few others float out there.
 
#10 ·
hey this game is kind of fun, who made it and when?
Mark


<BLOCKQUOTE>quote:</font><HR>Originally posted by gabserina:
Here's one I read about back in the early days of OS X. At the prompt, type:

emacs -batch -l dunnet

and then just have fun!

G
<HR></BLOCKQUOTE>
 
#14 ·
<BLOCKQUOTE>quote:</font><HR>Originally posted by Heart:

Oh man....

Trumped by a Terminal Geek :D

[all in good humor]
<HR></BLOCKQUOTE>

Heart

I only wish I was a terminal geek, I could have sooo much fun! Just a few things I picked up at my OS X Training when it came out!
:D
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top