Information Technology Reference
In-Depth Information
By selecting multiple emails in the Inbox and then hitting
COMMAND
+
C
, you
can paste all of them into a new single document within TextEdit, and they
will appear one after the other.
Tip 327
Search Spotlight from Terminal
This is a tip for those who like to use the command-line prompt. To perform
a Spotlight search at the command line, use the
MDFIND
command. For example,
to search for any documents that contain the term
MACINTOSH
, you could type
the following:
MDFIND MACINTOSH
The
-ONLYIN
command option will limit the search to a certain folder, which is
useful if you want to find files that are within your
DOCUMENTS
folder, for
example. The following would search for files containing the term
MACINTOSH
within your
DOWNLOADS
folder:
MDFIND -ONLYIN ~/DOWNLOADS MACINTOSH
An interesting additional command option is
-COUNT
, which will display how
many files there are that contain your search term, for example:
MDFIND -COUNT -ONLYIN ~/DOWNLOADS MACINTOSH
Tip 328
Enable the Root User
Those who have used Unix or Linux in the past might be used to the idea of
a root user. This is a user with special powers who can do just about anything
to the system without being challenged. It's disabled on OS X for reasons of
security, and ordinary users can borrow its powers using the
SUDO
command.
However, if you just can't do without a proper root account on your system,
you can enable it as follows.