Mac Tutorial

The Mac Terminal

terminal
To open Terminal, navigate to your Applications folder, open Utilities, and double click on Terminal. You will be greeted with a message similar to this:
Last login: Tue Mar 6 17:21:36 on console Welcome to Darwin! ibook:~ Alex$
The last line you see is called the prompt. This will appear after every command you enter and this is where you type your commands. It consists of your computer name, your current directory, and your short username. When you first start Terminal, your current directory will be “~”, which is short for your home directory (/Users/Your username).
One of commands you will use most is
ls. The ls command will show you the files and directories that are contained in your current directory. Here’s an example:
ibook:~/Desktop/mammoth Alex$ ls final1.jpg final3.jpg final5.jpg final6.jpg final7.jpg
By typing
ls and hitting enter, the terminal shows me all the files that are in my “mammoth” directory. If you want to see the contents of a directory besides the one you are in, just type ls followed by the directory.
You are probably wondering how to change your current directory. This is done with the
cd (change directory) command. Just type cd followed by the directory you want to change to. Example: ibook:~/Desktop/mammoth Alex$ cd /Users/Alex/Desktop ibook:~/Desktop Alex$
If you want to get to a directory that is inside of your current directory, just type
cd followed by the directory name, as there is no need for a full path. To save time, the terminal has an autocomplete feature (most command lines have this). To use it, press tab when typing a file or directory and Terminal will guess what you are trying to type. Don’t forget about ~. Entering cd ~ will get you back to your home directory. A final, and very useful cd tip is that cd .., will navigate you to the directory above the one that you were in.
If you are experimenting with UNIX commands and need help with a certain command, it is always available. Either type:
command --help (quick help) or man command (full manual) Typing q will get you out of a command’s man page.
Although
cd and ls don’t do much, they are a good foundation for further command line adventures.

Creating Directories
Creating directories is very easy with the command mkdir. The syntax for this command is mkdir . For example, if I wanted to create a directory called new inside of the beta directory, I would enter
ibook:~/beta Alex$ mkdir new
And if I wanted to make a new directory somewhere else,
ibook:~/beta Alex$ mkdir /path/to/new/directory
Copying and Moving Files
The commands cp and mv, for copy and move, respectively, have very similar syntax, so we will cover them together. Copying is like copy and paste while moving is like cut and paste. For both cp and mv, the syntax is
cp . If I wanted to copy the file test.txt to my desktop as test2.txt, I would use ibook:~/beta Alex$ cp test.txt /Users/Alex/Desktop/test2.txt
If I wanted to move the file test.txt to the directory above it, I would use
ibook:~/beta Alex$ mv test.txt ..
Removing files
Removing, or deleting files can be done with the rm command. The syntax for rm is just
rm . You have to be very careful with rm, because this command doesn’t send files to the Trash, where files can be easily recovered, it removes them completely. You’ve been warned!
The asterisk (*) can be used with many unix commands to signify a wildcard. For example, to delete all the files in the beta directory, I would enter
ibook:~/beta/beta Alex$ rm *
The asterisk can be used in any command in the context of files and directories. I defined the double period (..) in the last tutorial, which signifies the directory above. Another similar shortcut is the single period (.). The single period denotes the current directory, so if I wanted to copy the file test.txt to my current directory, I would enter
ibook:/ Alex$ cp /Users/Alex/Desktop/test.txt .
Permissions
Sometimes when you are trying to delete, copy, or move a file or directory, you will get a permission denied error. This means that you were trying to do an operation on a file or directory that did not belong to your specific user. If this happens, and you are sure you still want to complete the command, just preface your command with sudo. Sudo will complete the command with the root user. Root is the administrator account that has full control of your system. When you use sudo to run a command, it will ask you for a password, which will be your admin password on your Mac.
0 Comments

Mac App Store Cracked

Mac-App-Store

Mac App Store Cracked! Here’s How to install Cracked Apps [Guide] Few hours ago, just after 9 hours from the release of the Mac App Store, we post that Someone has devised a new way of cracking Mac store applications. The post wrote with a fast title and fast guides. Most of my friends sent me to repost it with more details, Here is the more they want:
Interestingly, the method does not use KickBack or Hackulous’s Installous 4.0. The method only replaces the signature files from free apps into the paid apps. Follow the simple steps below to install cracked apps on your Mac.
How to Install Cracked Mac Store Apps on Mac
Step 1: Install the latest Snow Leopard update (10.6.6) and sign into the new App Store (in your dock).
Step 2: Download Twitter for Mac and navigate to Applications folder to locate Twitter. Just right click and select Show Package Contents and then navigate to Contents folder. Copy _CodeSignature, _MASReceipt and CodeResources.
Step 3: Download Angry Birds
Here.
Step 4: Run the dmg file and drag Angry Birds into the Applications folder.
Step 5: Right click and select Show Package Contents and then navigate to Contents folder and delete _CodeSignature, _MASReceipt and CodeResources.
Step 6: Now paste in the files you copied from the Twitter.app.
Step 7: Done. Enjoy Angry Birds and any other .app file from the new Mac App Store that you can find online.

0 Comments

How to Boost the Volume of Songs or Video in iTunes

These are simple instructions on how to boost the volume level of songs or video when playing in iTunes. You may need to do this if the audio track for a particular song or video is too low to hear. Step One Launch iTunes from your Dock. Step Two If you haven't already, drag your media into iTunes to add it to the library. Step Three Select a song or video then press Command+i on the keyboard or right click the item and select Get Info from the contextual menu. Step Four Click to select the Options tab. Step Five Move the volume adjustment slider to the right to increase the volume then press the OK button.
0 Comments

How Install Snow Leopard via USB External/USB Flash Drive

Install Snow Leopard via USB External/USB Flash Drive
  • Disk Utility
  • Flash Drive must be at at least 8GB (You will lose all the data on there, so back it up on your desktop for the time being)
  • External must have at least 8GB of free space

1. Open Disk Utility. On the left navigation, select your flash drive and click on the "Partition" tab:


2. Under "Volume Scheme," Select "1 Partiton":


3. Once selected, hit the "Option" button at the bottom of the map:


4. A window will pop-up, select the GUID option (the first one):


5. Once its done, navigate to the "Restore" tab. With the Snow Leopard DMG present, drag the DMG to the "Source" field, and from the navigation on the left, drag your Flash Drive to the "Destination" field:


6. Click Restore, once its done, your Flash Drive contents to be similar to:


7. Close Disk Utility, Open up System Preferences. Under "System," choose "Startup Disk," Your flash drive should be listed as the Snow Leopard installation disk. Select and press "Restart." Or you can just select "Install" from the Flash drive contents, in which it will start installing before prompting you to restart.
0 Comments

Office for mac has determined that your product key is not valid

When launching Excel, Entourage, PowerPoint, Word, you have a message :
"Office for mac has determined that your product key is not valid"

this was probably right after you added the latest update ...
This tutorial will help you Removing Office 2008 License Files:


If your copy of Office 2008 was installed with an invalid product key, or if you mistakenly used the same product key to install Office 2008 on more than one computer, you must remove the invalid product key and enter a valid product key to use Office 2008.
1. In the Finder, select /Applications/Microsoft Office 2008/Office/OfficePID.plist, and then on the File menu, click Move to Trash.
2. Select /Users/username/Library/Preferences/Microsoft/Office 2008/Microsoft Office 2008 settings.plist, and then on the File menu, click Move to Trash.


-
YOU WILL BE PROMPTED to RE-Enter your license, as used before the Uptade

0 Comments

Replace the Deault Login Background Image on Mac OS X Leopard

The default nebula login background picture is great, but you're not stuck with it or any one picture as your login background. You can replace the default background with any jpg image file on your Mac. Learn how to replace the default login background image on Mac OS X Leopard

Step1: In an open Finder window, navigate to the "/System/Library/CoreServices/" folder on your Mac. Locate the file "DefaultDesktop.jpg."

Step2: Locate the new jpg image file you wish to use as your new login picture and rename the file "DefaultDesktop.jpg" (without the quotes).

Step3: Drag and Drop your newly renamed "DefaultDesktop.jpg" to the "/System/Library/CoreServices/"

Step4: Next, you will see a warning dialogue box asking if you want to overwrite the old "DefaultDesktop.jpg," click "Replace." You will need to enter your administrator user name and password in the next dialogue box to copy the new image file to the "/System/Library/CoreServices/" directory. Enter your name/password and click "OK" to copy over the existing file. To view the new Default Login Background, restart or log-out and login again to see the changes.
0 Comments

Double Click To Minimize On Mac

Go to System Preferences -> Appearance -> Check box “Double-click a window’s title bar to minimize


Or you can your short-cut keyboard “Command+M”
0 Comments

How to Change Login Screen Apple Logo on Mac OS X Leopard / Snow Leopard

This guide will help you on how to change the login screen (the user switcher mode) apple logo to a custom image. Make sure the custom image is of size 90x90 and is in .tif format. For the best possible results, make the background of the image invisible.

1. First of all, on desktop press 'Cmd'+'Shift'+'G' and a 'Go to Folder' window will show up. Type the following path into that window and hit enter.
/System/Library/CoreServices/SecurityAgentPlugins/loginwindow.bundle/Contents/Resources/




2. A new finder window shows up. Holding the 'option' key on keyboard , drag the file 'applelogo.tif' to the desktop to create a backup.





3. Rename your custom image to 'applelogo.tif' and drag it to the finder window. It will now ask you to to authenticate, click 'Authenticate'. Now, it will ask you if you want to replace the current 'applelogo.tif', make sure you have followed step 2 correctly and click 'Replace'.








4. It will finally ask for your password, type it in and hit return.






Whenever you open your mac, the login screen will show the custom image instead of the plain old Apple logo.
0 Comments

How to Make Dashboard Widgets Available on a Desktop on Mac OS X Leopard

1. Navigate in an open Finder window to “Applications/Utilities” and double-click the “Terminal” application to launch it.
2. In a new “Terminal” window, type in the following command
defaults write com.apple.dashboard devmode YES && killall Dock , then hit Enter. This command will make the Widgets available to be used on your desktop and restart the Dock
3. Hit the hotkey to enable your Dashboard Widgets ("F12" or "F4" on newer Macs). Click and select the Widget you wish to move to the desktop while holding the "F12" or "F4" key (depending on your mac model) and drag the Widget to the position you want the Widget to appear on your desktop. Release the mouse.

Here is an example

4. To remove the Widget from the desktop and return it to the Dashboard, perform the actions in Step 4 in reverse order. Click the Widget and enter "F12" or "F4," then drag to position the Widget in the Dashboard. Release the mouse.

0 Comments

How To Change Wallpaper

  • 1
    Find an image, you can pull one of a search engine, or an email, or a photo from your camera.
  • 2
    Save the image to your hard disk. You can do this by dragging it to your desktop in many cases.
  • 3
    Open preferences on your mac and go to "Desktop & Screen Saver".
  • 4

    Press the + button in the lower left. Select the image on your hard drive.
0 Comments