Showing posts with label mac tips. Show all posts
Showing posts with label mac tips. Show all posts
Saturday, August 15, 2015
Mac-Terminal Some Basics
Terminal some basics
The "Terminal" is an application (located in the "Utilities" folder in "Applications") that can communicate with the computer through a command line (text interface). The UNIX commands are not, however, a priori, made for everyone ... If you decide to try their luck and enter command lines in your "Terminal", be careful what you write and READ BACK especially your order before confirming !! A mistake could lead to disaster.
A do we really need to use the "Terminal"?
OFF: For most users, this will prove unnecessary. Many small applications (eg "Onyx") are responsible to perform operations on your behalf, so that's reassuring.
YES: For some operations you may be required to go through your "Terminal." In this case, carefully follow the advice and instructions of these operations ... You'll see that when you clear things up, it goes smoothly!
In this section, I'll just tell you a number of orders, without going into too much detail. (I would willingly ignore the notions of "absolute path" and "relative path", contenting myself to indicate orders "absolute path"). These commands are among the most common and, although you have little chance to use them one day, better still know! No?
Send a command usually involves writing a funny formula on a line of "Terminal" and then press the "Enter" key to see it run. Get information about the system, the hardware used on the hierarchy of folders, their contents, including invisible files, the permissions for each item, for example, but also change the permissions, delete or move a file or folder, concatenate files, open, view and edit the contents of files even if they are invisible, compress files, connect to the Internet, download files from the Internet and so on, represent a small part of many operations that may be made directly on the "Terminal" and without opening a single other application. Everything begins by sending a single command.
Still, for the vast majority of MacUsers, the "Terminal" will almost never used ... Since you will use the simplest method: simply open the applications! And that's good as well!
Some commands "Terminal"
To know a bit what the "Terminal" and UNIX commands, you can perform here without too much worry. Enter the following commands in your "Terminal”.... Just to know a little about that damn "Terminal"!
ls : The list of files and folders installed in your user folder appears.
ls -a : The list of ALL user folder items, including invisible items appear.
ls -a Documents : The list of ALL the elements of the "Documents" folder appears (you can substitute "Documents" by another folder name.
ls -l : Give more detail than the ls command: Appear permissions, owner, group, etc ...
Man: This tells you what a given control of the terminal is. For example, type man ls : This will tell you what is ls
pwd (Print Working Directory) This command displays the absolute path to the directory where you are. This will allow you to locate you at any time in the OS tree X.
cd (Change Directory) To change the directory. For example, to visit the Marc directory, you would type cd / Users / Marc
PC: Use this to copy a file: For example, to copy the file User / Marc / documents / text.doc in the "important" directory, it will type the command: cp /Users/Marc/Documents/texte.doc Users / Marc /Documents/Important/texte.doc
MV: Used to move a file from one directory to another. (Same as for copying a file)
rm : Used to delete a file. For example: rm text.doc
rmdir : Use to permanently delete an empty folder. For example: rmdirtartampion
top: Allows you to view the current process. To exit typing "q".
df -h : Displays the list of mounted volumes on your Mac and the characteristics of these (very handy).
chown : To change the owner of a file.
mkdir To create a directory.
As you can see, this type of control is far from interesting to ordinary MacUsers we are. To copy, move or delete a file do not find that there are simpler methods and can be faster? The "Terminal" will be especially useful for certain well-specialist users.
The command list above is not exhaustive of course.... There are dozens of UNIX commands, which you can find in specialized books or the Internet. For fans of the genre!
Mac-Recovery HD A spare wheel not really convenient
Recovery HD A spare wheel not really convenient.
To overcome the lack OS X DVD or installation key that allowed particularly easily reinstall the OS X on your Mac, APPLE offers from LION a new tool that allows system recovery. This "Recovery HD" tool is unfortunately far from having the flexibility and simplicity that can have the DVD or the installation key. It is also necessary to be online to use certain features of "Recovery HD". Better to provide alternative solutions in case something happens and avoid resorting to this not necessarily convenient tool.Introducing "Recovery HD"
Up to 10.6 SNOW LEOPARD, reinstall Mac OS X on her in case of necessity, it was enough to bring the DVD bootable OS X installation, start holding the "C" key to have started on the DVD, which allowed to launch "Disk Utility" to initialize (or partition) hard disk and proceed in the wake of the re-installation OS X.
With the arrival of Lion, the situation has changed. OS X is no longer sold on DVD bootable installation or as bootable USB drive, but by default via download from the Mac App Store. Therefore, to reinstall OS X if necessary, it is possible to us as in the past...
To face this new, APPLE has decided to propose a different system from LION for reinstalling OS X on your Mac if necessary. This tool is called "Recovery HD".
This is actually a small partition that is automatically created on your hard drive, just when you install YOSEMITE on this hard drive. You do not require same account, and may not know you now that you have such a partition! This is unfortunately not surprising, because this partition is very well hidden and nobody will tell you that it exists on your Mac!
NB: In some cases, this partition "Recovery HD" will however not be installed on your Mac during installation YOSEMITE: When the hard drive on which you install YOSEMITE is partitioned, in the case of a RAID volume, or if the disk has a partition configuration Boot Camp nonstandard, in which partitioning was performed after the execution of the Assistant Boot Camp or the configuration created by the Boot Camp Assistant has been manually changed.
This partition "Recovery HD" just lodge next to your OS X YOSEMITE system. So if you have YOSEMITE installed on your Mac, you have de facto of this small hidden partition.
To access the partition, you must start the Mac is holding the "R" key pressed (in this case you will automatically start on that partition "Recovery HD") or holding down the "alt" key (in this case, Then select the partition "Recovery 10.10" that will appear on the screen).
If you have enabled "FileVault", access to the "Recovery HD" cannot be done by holding down the "alt" key when booting the Mac. It must indeed start the Mac by holding the "cmd" and "R" keys down.
What is this partition "Recovery HD"?
Once you have started on this partition "Recovery HD", you go (like the good old days of the DVD) to a certain tools.
At the top of the screen, in the menu bar, the "Utilities" menu include access to "Terminal" in the "Network Utility" and "Password Utility Firmware". You probably will not need these utilities, if perhaps not to reset the administrator password:
Reset the administrator password
· Start the "Terminal."
· Enter this command: resetpassword
· A new window appears allowing you to change the administrator password.
· When you restart the Mac, you can use the new password.
Now look at the main window that appears when you start up your Mac in "Recovery HD":
"Recovery HD" allows you to run a restore from backup "Time Machine" to launch "Safari" to surf and have particular online help, launch "Disk Utility" to repair minor injuries your OS X system and also boot / partition hard drives connected to the Mac, and perform a re-installation of OS X if necessary.
So finally, you will tell me if your Mac YOSEMITE faces some problems, well instead of starting as in the past on the installation DVD, you'll be able to boot to that partition to start small basic repairs via "Disk Utility". Certainly it is possible, but since you have a clone having many more powerful maintenance tools, I'm sure you already Demarrias more on the DVD to perform this type of basic maintenance operation ... then you will not start on that partition "Recovery HD", right?
And to re-install the system in case of need? In the past, yes, actually the best way to conduct a clean install of your OS X system was started on the installation DVD and do so to the re-installation of OS X. But now I urge you to do not go through "Recovery HD" to re-install OS X on your Mac.
Indeed, although it is of course possible to re-install OS X via the "Re-install OS X" function offered by "Recovery HD" This solution is not, in my opinion, not the best nor the most practical. If you have a clone, then preferably use the clone to make an OS X re-installation.
By default this partition "Recovery HD" is installed on the same hard drive where you installed OS X YOSEMITE. But what happens there if unfortunately your hard drive were to let go? Without clone bootable USB drive without installation YOSEMITE (crafted by you), it will NOT POSSIBLE not boot from this partition "Recovery HD”!!! So what?
Apple offers to download HERE a "Disk Recovery Wizard". This wizard let’s just clone the partition "Recovery HD" to another hard disk (external drive) or even a USB drive. But be careful, in this case, this key will IN NO EVENT key USB bootable installation YOSEMITE, but it will just be a clone of the partition "Recovery HD" you already have on your hard drive. You can use this partition clone "Recovery HD" if you cannot use the partition "Recovery HD" located on your hard drive.
It's a little spare tire of the spare wheel.
NB: It is necessary to make the partition clone "Recovery HD" before the partition "Recovery HD" is no longer operational, of course.
Important note about the Mac market after the release of LION 10.7
Macs sold since the release of LION and therefore come with LION MOUNTAIN LION, MAVERICKS or YOSEMITE now installed on the machine, also have a function "OS X Internet Recovery" that allows you, in case of failure your hard drive and / or hard disk change, start your Mac directly from APPLE servers to process resettlement OS X. This feature is not available for Macs before the release of LION and therefore that had been purchased with a previous version of the system (or SNOW LEOPARD LEOPARD).
"OS X Internet Recovery" checks your machine, including its serial number (to verify that your Mac is allowed), and then automatically downloads and launches an image of the hard drive recovery.
To do this, you must have an Internet connection because you will have to download more than 5 GB of data necessary for the relocation YOSEMITE!!
More on "Internet Recovery OS X" HERE.
Why make it simple when you can make it complicated? Some will no doubt think that this system is practical and modern because it avoids having to annoy to re-install OS X, but I honestly think that APPLE would be much better to continue to offer the sale of bootable USB keys OS X and especially to slide one in every Mac sold in cartons YOSEMITE, rather than forcing new buyers to go through this function "OS X Internet Recovery" really not practical. Everyone does not necessarily have a high speed Internet connection, and how to re-install OS X and its MacBook Air or MacBook Pro when you are in a place without an Internet connection?
Indeed, the new Mac buyers have no choice but to go through Apple's servers to re-install OS X if something goes wrong with their hard drive, they have neither USB Bootable of installation or installer (downloaded from the Mac App Store) they could use from a clone.
In short, after reading the above, it is better to take all possible precautions to deal with any difficult situation. I do know strongly advise you to urgently provided a clone of your YOSEMITE installer and / or you make a bootable USB installation YOSEMITE key.
Indeed, the new Mac buyers have no choice but to go through Apple's servers to re-install OS X, if something goes wrong with their hard drive, they have neither Bootable USB key to installation or installer (downloaded from the Mac App Store) they could use from a clone.
Wednesday, July 15, 2015
OS X makes it easy to create PDF files
OS X makes it easy to create PDF files
No need to use a PDF creation software for creating PDF in OS X. Yosemite can convert your files to PDF.How to create a PDF file from (almost) any application?
Simply using the OS X resources is how you do a PDF file a wink!
Determine what document you want to turn into PDF:
- This may be a document with a word processor like "LibreOffice" or "Microsoft Office".
- This can be a web page from "Safari" or "Chrome".
- This can be a JPG, TIFF, GIF etc ... Open with Preview.
- This can be a created or opened with another application file.
Whatever the starting document size, the method is the same. Here's how.
Once your file / document open, go to the "File" menu and then "Print" (actually as if you intend to print this document). Finally click on "PDF" button at the bottom left of the window that appears. A drop-down menu appears on the screen
Then choose the menu "Save as PDF".
A new window will appear, just to name the PDF file that you create (Be sure to keep the .pdf extension), and determine the location where it will be created (the desktop for example).
Voile! Your PDF file is created. To open it, use either "Preview" or "Adobe Reader".
Note that some applications like "TextEdit", "Overview", "Pages" or "Numbers" have a menu allowing you to store documents that you create directly to PDF. Unnecessary in this case to go through the "Print" menu. Go directly to the menu "File" / "Export PDF" (TextEdit and Preview) or "Export to" / "PDF" (Numbers) or "Export to" / "PDF" (Pages):
How To Re-install YOSEMITE If Necessary?
How to re-install YOSEMITE if necessary?
YOSEMITE runs like clockwork on your Mac, but no one is immune from a major glitch. I cannot recommend that you perform backups to avoid losing all your data, on the day your hard drive or Mac come to give up the ghost. One is never too careful in this area (see page "Backup and clone”).
If you are ever faced with the need to reinstall YOSEMITE or because you do not have a choice, either because the system seems increasingly fails, then the relocation of course depends on your configuration and the type of backup (s) you have made.
How to perform a clean installation of YOSEMITE?
Case 1: You have a clone (and possibly a USB bootable installation YOSEMITE)
This is probably the best possible configuration to reinstall YOSEMITE. You'll very quickly find all your work environment. Three options are available:
a) Start on this clone (by selecting it as the boot volume in the "Start" module in "System Preferences"). You will now simply launch your cloning software since this clone to delete your main OS X volume and clone (clone so) back to the main volume. Then select your new volume "OS X" in the main "Start" module, and presto! Voila! Everything is as before!
b) If you prefer a "clean install" (clean install), then no problem, start on clone your main OS X boot volume with "Disk Utility", start the OS X installer YOSEMITE located in the folder "Applications" your clone (if you followed my advice when installing YOSEMITE, he must find it - See page "Install" ) and install it on YOSEMITE main volume stark naked. "Migration Wizard" will start automatically and then you can simply transfer your data and settings from the clone.
Just think then to launch the menu "Software Update" from the Apple menu to make, if necessary, to the various proposed updates, including those regarding YOSEMITE OS X system.
c) If you have a bootable USB drive installation YOSEMITE crafted by your own care (See page "Install" ), then you can start on this USB stick to make a "clean install" of YOSEMITE, according to the same procedure as described above (b). But again, if you have a clone, it really is not essential to have a bootable USB drive ... The clone is much more convenient.
Case 2: You do not have a clone, but you have a bootable USB installation of YOSEMITE
If you have crafted yourself installation bootable USB key (see page "Install" ) after downloading YOSEMITE Mac App Store, then you will be able to proceed with a new installation of YOSEMITE, starting on this key, deleting your main volume under OS X, by performing a "clean install" of YOSEMITE this blank volume .... But then (because in that case you do not have 2 clone)?
a) If you have a volume Time Machine, or possibly another Mac, you can use "Migration Wizard" to retrieve your data and settings, and then quickly find your environment work.
b) If you do not have Time Machine volume or another Mac, then I hope you are still crafted backups of your personal files (data, music, photos etc. ...). You will need to manually reinstall however (or even re-upload) all the applications you need, and then manually transfer your backups from all your personal data. A job that can take hours!
Case 3: You did not clone or bootable USB key installation YOSEMITE
Here things get tough again. Fortunately, APPLE has scheduled a "spare tire" in this case. It is possible to use the partition "Recovery HD" to get you out of pap. This is, in my opinion, far from being the best solution compared to clone and possibly a bootable USB drive, but it can really help when you are not providing enough. Again three possible configurations:
A) Once you have started on this "Recovery HD", you will be able to restore your backup Time Machine ... if you heard a Time Machine backup (this will be a lesser evil).
b) If you do not have Time Machine backup, then the only solution is to reinstall YOSEMITE. But unlike a bootable USB drive, this partition "Recovery HD" contains no installation file YOSEMITE. You will therefore be necessary to re-download the installer YOSEMITE. That is, if you need to reinstall YOSEMITE in this configuration, it is necessary to have an Internet connection to re-download some 5 Giga installer. Not necessarily very practical, you will agree. NB: You can pre-boot your OS X volume by using "Disk Utility" also located on this partition "Recovery HD".
c) By default this partition "Recovery HD" is installed on the same hard drive where you installed YOSEMITE. But what happens there if unfortunately your hard drive were to let go? Without clone bootable USB drive without installation YOSEMITE, it will NOT POSSIBLE not boot from this partition "Recovery HD”!!! So what?
Apple offers to download a "recovery disk wizard." This wizard let’s just clone the partition "Recovery HD" to another hard disk (external drive) or even a USB drive. But be careful, in this case, this key will IN NO EVENT USB key OS X bootable installation, but it will just be a clone of the partition "Recovery HD" you already have on your hard drive. You can use this partition clone "Recovery HD" if you cannot use the partition "Recovery HD" located on your disk.
It's a little spare tire of the spare wheel.
NB: It is necessary to make the partition clone "Recovery HD" before the partition "Recovery HD" is no longer operational, of course.
For complete information and to download the "Disk Recovery Wizard" is HERE.
Case 4: You did not clone or bootable USB key installation YOSEMITE, you do not clone your partition "Recovery HD" and lose your hard drive (only Macs sold before Release LION 10.7)
There is the extreme case. What to do in that case?
1. Change your hard drive.
2. If you have a bootable installation of LION, MOUNTAIN LION or MAVERICKS then use there to re-install initially the earlier version of OS X on the blank hard drive and then download it again YOSEMITE Mac App Store and then install from YOSEMITE.
If you have an installation DVD of Snow Leopard, you can install Snow Leopard on your Mac, and then download it again YOSEMITE Mac App Store and then install from YOSEMITE. Note: if your machine is still accepting SNOW LEOPARD of course.
If you have no bootable USB drive or DVD installation of Snow Leopard, then you are not out of the woods. The only solution is that a friend lends you a key USB bootable OS installation X (10.7, 10.8 or 10.9) or an installation DVD SNOW LEOPARD.
If your Mac is new (purchased after the release of LION 10.7 and 10.7 with a minimum LION installed on your hard drive originally) then do not worry, you do not enter in this case 4. You still have a spare wheel and are in the case 5 (below).
Case 5: On Macs sold since the release of Lion (Mac with at least OS X Lion installed on the hard drive)
This is a special case.
If you have no bootable USB key or clone or downloaded installer on the Mac App Store and saved, so it is essential you reinstall YOSEMITE starting on partition "Recovery HD" by selecting the "Reinstall OS X" menu (after booting your volume with "Disk Utility" also located on this partition "Recovery HD").
Macs sold since the release of LION and therefore come with LION MOUNTAIN LION, MAVERICKS or YOSEMITE now installed on the machine, also have a function "OS X Internet Recovery" that allows you, in case of failure your hard drive and / or hard disk change, start your Mac directly from APPLE servers to process resettlement OS X. This feature is not available for Macs before the release of LION and therefore which had been purchased with a previous version of the system (Snow Leopard and earlier).
"OS X Internet Recovery" checks your machine, including its serial number (to verify that your Mac is allowed), and then automatically downloads and launches an image of the hard drive recovery.
To do this, you must have an Internet connection because you will have to download more than 5 GB of data necessary for the relocation YOSEMITE!!
More on "Internet Recovery OS X" HERE .
Why make it simple when you can make it complicated? Some will no doubt think that this system is practical and modern because it avoids having to annoy to reinstall OS X, but I honestly think that APPLE would be much better to continue to offer the sale of bootable USB keys OS X and especially to slide one in all cartons sold Mac OS X, rather than forcing new buyers to go through this function "OS X Internet Recovery" really not practical. Everyone does not necessarily have a high speed Internet connection, and how to reinstall OS X and its MacBook Air or MacBook Pro when you are in a place without an Internet connection?
Indeed, the new Mac buyers have no choice but to go through Apple's servers to reinstall OS X if something goes wrong with their hard drive, they have neither USB Bootable of installation or installer (downloaded from the Mac App Store) they could use from a clone.
In short, after reading the above, it is better to take all possible precautions to deal with any difficult situation. I do know strongly advise you to urgently provided a clone of your YOSEMITE installer and / or you make a bootable USB installation YOSEMITE key.
Chart Updates
To help you find your way in the updates for YOSEMITE, here is the summary, in order of their release, all day-to-Stakes for the official arrival of the new version of OS X in October 2014, and the numbers of builds.
Just click on a particular update to access the APPLE website offering its download page.
10.10.0: 14A389
10.10.1: 14B25
10.10.2: 14C109
Subscribe to:
Posts (Atom)



