본문 바로가기

카테고리 없음

Jeb-log: Top 10 Unix Tips For Mac

  1. Jeb-log Top 10 Unix Tips For Macbook Pro

Jun 26, 2018 - Tips for surviving the Windows desktop if you hack UNIX all day? I'm used to working on a Mac or Linux desktop. Would the Windows 10 Linux stuff fix any of this? “Mark” is one of the options if you click on the icon on the top left. Moderation Log Hats Wiki Privacy About.

OS X is resilient. Its UNIX underpinnings are mature, tested, and — more importantly — stable.

Mac
  1. Beyond Excited that Chegg Inc. Made Fortune's best work. Technology leader with a track record for maximizing platform investment through detailed analysis,.
  2. The important parts of this command is the -s appendix, which gives only the top level of sizes, without this command it will give you every file and folder and it size, not that useful. The second important command is the */.

It's a modern OS that's as flexible as it is powerful, limited only by the end users operating the system. But that doesn't mean that it's not susceptible to errors, lock-ups, or other productivity-halting behaviors. In fact, given that many Mac users tend to put their devices to sleep rather than power them off while not in use, most errors can be resolved with a simple reboot. However, for those times when a reboot doesn't cut it (or perhaps exacerbates the problem), knowing some basic troubleshooting commands might make all the difference between getting your Mac up and running right away or scheduling an appointment at the Genius Bar or your friendly neighborhood IT pro. Let's review 10 troubleshooting tips to help correct common OS X boot and performance issues. Clearing the PRAM.

Symptoms: Boot issues, such as slow to start or halted startup. Causes: PRAM is non-volatile memory used by the Apple computers to store configuration information. However, certain changes might remain stagnant in residual memory which can lead to bizarre behavior(s). Solution: Power off your computer.

Then power the device on while simultaneously holding down the command+option+P+R keys. You should hear the Apple chime before the computer reboots. Continue holding the keys down until you hear the second Apple chime to clear the PRAM. Disable extensions on boot. Symptoms: Apple computer does not boot or start up to the desktop. Causes: When extensions prevent a computer from booting, it's frequently due to an application that was installed or a login app that's causing the lockup.

Solution: Power on or restart the computer while holding down the shift key. Continue to hold down the key to disable extensions and login items from loading during the boot process. From a desktop with extensions disabled, 'safe mode' will allow the end user to remove the offending app and boot normally.

Boot menu Symptoms: Can't boot the computer using external media or an optical drive. Causes: Perhaps the end user needs to perform a clean install of OS X or would like to boot from an installation stored on an external hard drive. Solution: Power on or reboot the computer while holding down the option key. The boot process will halt and bring up the menu selection that lists all the bootable devices connected to that computer. Highlighting the desired device and pressing the enter key will redirect the boot process to that device. Recovery partition Symptoms: Computer does not boot consistently or OS X may need to be reinstalled — or perhaps the hard drive is unresponsive and Disk Utility needs to be run. Causes: Any number of issues could be resolved by booting into the recovery partition, such as running diagnostics, repairing disk permissions, or Terminal access for command line usage.

Solution: Power on the computer while holding down the command+R keys. This command directs the boot process to target the recovery partition available on computers running OS X 10.7 and newer. Note: In the event that the or is not available, to boot their Macs from Apple's servers over the internet to perform the same tasks available as if booting from a local partition. Target disk mode Symptoms: Data from a previous Apple computer needs to be transferred to a new model.

Causes: Transferring data from a Mac with an unresponsive OS to another Mac is the most common use for this technique. Solution: Using a FireWire or Thunderbolt cable, connect one end to the Mac that needs to have data recovered (Mac A) and the other end to the Mac that will be used to store the recovered data (Mac B). Power on Mac A while holding down the letter T. The boot process will initiate Target Disk Mode and will load the contents of the hard drive as an external drive on Mac B. From there, simply copy the files to be recovered on Mac B. Network boot Symptoms: Apple computer will not boot or needs to load a network-based image. Causes: The most common use for network boot is in conjunction with an OS X Server running the NetBoot service or when deploying/capturing an image from an OS X reference system.

Solution: Power on or reboot the computer while holding down the letter N. The boot process will initiate a network boot and seek out any Macs running OS X Server or any Mac that's running a network-based cloning application or service that's broadcasting. Verbose mode Symptoms: Apple computer will not boot completely or experiences unknown issues delaying boot. Causes: Various issues could directly affect a Mac from booting completely — from startup software to plugins/extensions to configuration changes. Solution: Power on or reboot the computer while holding down the letter V.

Verbose mode will load a terminal-like screen that logs the boot process in realtime to identify the source of any particular errors that may be preventing the computer from booting properly. Note: A side benefit for software developers using Verbose mode is that it can be used to find issues their software may be having during the boot process for OS X.

This subsequently allows them to patch their apps to eliminate potential problems, while optimizing their code. Single user mode Symptoms: Apple computer experiences odd behavior(s) while in use and/or during boot up.

Jeb-log Top 10 Unix Tips For Macbook Pro

Causes: Again, numerous things could potentially prevent a Mac from booting or operating properly — from hardware to software or a combination of factors. Solution: Power on or reboot the computer while holding down the command+S keys to enter Single-User mode. This mode will boot the Apple computer into a terminal-only mode where bash commands may be entered to perform further troubleshooting from the command line.

Warning: Since there's no GUI present for this interface, Single-User mode is recommended for only those who are knowledgeable and proficient in executing commands from the terminal. If you execute the wrong commands, data stored on the Mac could be rendered useless. Password reset Symptoms: The password linked to a user account on an Apple computer has been forgotten or is otherwise unavailable. Causes: Macs are resilient but still prone to data corruption and the same user-based pitfalls as any other OS stemming from improper use. Two common examples of this are a user forgetting his/her password or the systems files becoming corrupt to the point where the user can't login to the system.

In both scenarios, the end user is unable to access his/her documents. Solution: Power on or reboot the computer while holding down the option key to access the Recovery partition — or command+R. Once the recovery partition environment has loaded, select Utilities Terminal from the menu to load the Terminal app. Type 'resetpassword' (no quotes) from the terminal screen, and press the enter key to load the Reset Password utility. From there, the volume that the user account resides on should be selected first, followed by selecting the name from the drop-down menu of the user account you wish to reset.

Once this has been done, enter the new password in both fields to reconfirm the password, and click the Save button to commit the changes. To test the changes, restart the Mac and enter the new credentials for the modified account at the login screen. Firmware password Symptoms: Apple's firmware (or BIOS) is the basic set of instructions used by a computer at the lowest level of function. All devices use a form of firmware to handle the input and output of the system. Depending on the device, sometimes the firmware may be easier or harder to configure. However, these settings should always be protected from unauthorized tampering.

Causes: Safe guarding an Apple computer's firmware from unauthorized changes, such as password resets. Solution: Power on or reboot the computer while holding down the option key to access the Recovery partition — or command+R. Once the recovery partition environment has loaded, select Utilities Firmware Password Utility. By default, firmware passwords are disabled.

However, clicking the Turn On Firmware Password. Button allows the user to set and verify a password that will prevent access to all of the troubleshooting options listed above without first entering the correct firmware password as a security precaution.

Note: Firmware passwords should be stored in a safe, secure location in the event that they should be needed in the future. While the firmware password may be disabled at any time, the current password must first be entered prior to disabling or making changes or accessing any troubleshooting methods outlined above. If the password set on a device is unknown, you'll have to contact Apple or an Authorized Repair Center to. While, they do represent a great starting point to gather information regarding what is (or isn't) affecting the Mac's performance or usability.

Furthermore, when coupled with other more in-depth troubleshooting utilities, such as found on older Macs, many of the most common minor issues affecting Macs can be sussed out and resolved quickly. What other troubleshooting tips would you suggest for OS X? Share your experience in the discussion thread below. Also see. Related Topics.

After upgrading from OS X 10.8.x to 10.10.2 recently, I noticed the login screen had reverted to displaying the usernames. Looking in the Users & Groups Preferences I see there’s only an option to display the usernames in a list or as icons, but no way to turn them off.

I’ve not had them displaying on my past OS X version(s) for as long as I can remember, but I am not sure how I turned that off. Anyway here’s how to prevent usernames displaying on your login screen.

— Security Why would you want to hide the usernames from your login screen? Perhaps you wouldn’t. I do it for security purposes.

It makes it that much harder for someone to hack into your computer if they don’t know what any of the usernames are, especially if you also encrypt the hard drive. Disabling usernames at login You’ll need to bring up Terminal.app (just type Term into Spotlight Command-Space is the fast way to bring up Spotlight and Terminal will show up in there). Copy and paste in the following command. You’ll need to change user1 and user2 to the usernames you wish to hide. You can list one after the other, with no commas.

If you only have one, just replace “user1 user2” with it. Sudo defaults write / Library / Preferences / com. Plist HiddenUsersList - array - add user1 user2 There are also system tweaking tools that allow you to do this without using Terminal. I suspect that’s what I used previously. MacPilot is one, although ridiculously (considering it’s an app most people are likely to use a few times initially, and then rarely, if ever, use again) expensive at $29.95—needless to say, I don’t recommend it. Another option is, which is free.

Is another free option, although it has a fairly limited range of settings, and doesn’t have one for disabling the display of usernames on the login screen. Using OnyX In OnyX I suspect what you need to select is the Parameters page, then Login. Then look for this: Un-tick them all, if you don’t want any showing up.

If you splash out on MacPilot The setting you are looking for is in the under FEATURES and the Login. You can deselect the various classes of user (admin, local, etc.) or tick a box next to the name(s) of those you wish to hide. Finding the username If you are not sure what the username is (which is unlikely) you can obtain it from the Users & Groups settings in System Preferences. Just start typing “users & gro” into Spotlight. It’ll show it. Once in that panel, check if the lock in the bottom left corner is unlocked. If not, click it, and type in your password to unlock the panel.

Next, you can Option-click or two-finger click (depending on whether you’re on a trackpad, or what-have-you) on a username to bring up an Advanced Options menu. What you’ll see next is this: The username is “ Account name“.

That’s what you’ll need to type in with your commands in Terminal. Going back If you ever decide you need to unhide one or more of the hidden usernames, use this command.