Posts tagged "terminal.app"
Mac OS X's default bash prompt is dull and uninformative.

- Mac OS X's default bash prompt
Since only the current directory name is visible, I find myself running pwd
more often than is healthy. Also, I find the uneven prompt length jarring.
Workmates will be quick to confirm that I'm not exactly leet on the
command line. Efforts to advance beyond cd and ls have been hampered by
the fact that many posts and discussion threads assume a level of competency
which as yet I lack.
When I sit down to write a post, oftentimes I write the post I wish I'd
read an hour earlier. As I unravel the mysteries of ack and bash and Emacs
and the like, I'll publish tips and explanations so that others can benefit
from my discoveries (or, as will likely be the case, so that you people can
further enlighten me).
Customizing the appearance of files and folders in OS X is a cinch. ⌘C, ⌘I,
⌘V, punctuated by a few mouse clicks.
Actually, that's total bullshit.
Sure, in the simplest of cases the copy and paste approach gets the job done,
assuming one knows to copy from Preview.app if copying from the original
source fails. As soon as one decides to do something a bit more advanced, such
as providing versions for display at different sizes, one's shit outta luck.
Certain things are extremely well documented on the Web; certain other things,
however, seem to appear only deep in the comments of obscure blog entries.
The problem I encountered a few minutes ago fell squarely in the latter
category. I simply wanted to know how to access the MySQL shell from the OS X
Terminal. I expected my Google search for MySQL console Terminal "OS X" to
return several useful results, but this was not the case.
I managed to find the solution in a thread with subject
error 1044 and 1045: