Tag Info

Hot answers tagged

7

First: the name "rootless" is misleading, since there's still a root account, and you can still access it (the official name, "System Integrity Protection", is more accurate). What it really does is limit the power of the root account, so that even if you become root, you don't have full control over the system. Essentially, the idea is that it's too easy ...


6

Back around 1990 I was working on a project with a guy named Tom. We were using a SUN server running SunOS (a Unix derivative, predecessor to Solaris). This was back in the days before CD drives and flash drives, so if you messed up the OS on your hard drive there was no way to recover. Tom used to routinely log in as root. I told him that was a bad idea, ...


5

man pbcopy pbcopy takes the standard input and places it in the specified pasteboard. If no pasteboard is specified, the general pasteboard will be used by default. The input is placed in the pasteboard as plain text data unless it begins with the Encapsulated PostScript (EPS) file header or the Rich Text Format (RTF) file header, in which case it is ...


5

Ubuntu or Mint are the distros I'd recommend. They're both well-supported. Also, don't pay much attention to Torvalds. The man has an opinion on everything, and he isn't always right... I mean, he made the Linux kernel into a Monolithic kernel, and that has its issues.


5

You need iTunes 12.2 - presumably will be out any minute now… Update 07:30 GMT 1st July. OS X 10.10.4 iTunes 12.2 & iOS 8.4 all now available & successfully installed here.


5

In iTunes, go to iTunes Menu > Preferences > click the "Devices Preferences" tab, and tick the "Prevent iPods, iPhones, and iPads from syncing automatically" box. This will stop iTunes from opening automatically when you plug in your iPhone. You can also connect your iPhone to iTunes, stop the sync, click the iPhone icon in the upper left corner of the ...


5

For every OS X 'delta' release - 10.10.1/2/3/ ...10.10.4 etc - which App Store will download to each Mac there is a simultaneous 'combo' update release which rolls up all the previous deltas into one single downloadable update. It was for many years considered the 'pro' way to do the update, as it can also correct potential update issues that the delta ...


4

OS X and iOS use ntp-like software daemons to poll for and periodically adjust internal clocks based on external time sources. A leap second arrives as an external correction similar to how each hardware clock corrects minor (or major) skews and inaccuracies periodically. OS X ships with perl modules to accurately determine if a leap second is coming or ...


4

Apple Music require iTunes 12.2, which is not included in Yosemite 10.10.4 so, soon, Apple should release another update exclusively for iTunes where there should be a button to play Apple Music. You can get that update from the iTunes menu - select Check for Updates... If that update isn't rolled out or available, you can listen here: ...


3

The OS X Server App allows you to cache data on your network as well as manage multiple devices and installations/updates on them. This would simplify things for you in the long run, but there might be a slight learning curve to start out. I haven't used the Yosemite version of the Server App yet so can't give you more specifics. It's something to look into ...


3

Emacs can do this. Open Emacs C-x C-f and open the directory. It will open in dired-mode. M-x wdired-change-to-wdired-mode RET You can now edit the filenames just as you asked. Pressing C-c C-c will end wdired-mode and perform the modifications. wdired-change-to-wdired-mode is an interactive autoloaded Lisp function in `wdired.el'. It is ...


3

There is no evidence of any malware from the output of your discoveryd normally running daemon. Your pkill -f 6115 command failed because luckilly you don't have a process which full command name would be 6115. This is the sign of too fast reading the pkill documentation and not at all of an attack. If you really want to kill discoveryd here is the correct ...


3

Based on the answers you've given in the comments. The device doesn't show in Disk Utility It doesn't show in System Information under USB It works in other computers Other USB sticks work in this computer – Changing USB ports makes no difference The device is getting warm – It also doesn't work in another OS X system I would suggest that there is an ...


3

I would recommend using the "grep" and "awk" commands from bash. You can use them to parse the data given in bash. Here is example using the details you described above. /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep "channel" | awk '{print $2}' Do yourself a favor and sym link the binary to ...


3

Here is an example In AppleScript using tron_jones's answer. The result of the command is set to _channel and then used in a dialog box just to show the result. Obviously _channel can be used in a variety of ways. set _channel to do shell script "/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep 'channel:' ...


2

I am still on Mavericks, but here it is in the ~/Applications/Chrome Apps.localized You can do it in Chrome as well. Go to: (type in chrome browser) chrome://apps/ and Delete it


3

The rsync command line tool is able to merge two folders. You'll need to open a terminal window. Take a look at the manual pages man rsync There may be a one liner but the following steps are non-destructive since you won't change your source folders. Create a new folder (dest) Sync source1_path to dest Sync source2_path to dest Here the scripts - ...


2

TERM_PROGRAM is set by both Terminal and iTerm: TERM_PROGRAM=iTerm.app TERM_PROGRAM=Apple_Terminal


2

You have to alter your path adding coreutils dir before /usr/bin. You can do something like this: export PATH=/usr/local/opt/coreutils/libexec/gnubin:$PATH And should looks like the following after the changes: /usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/bin: /opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin: ...


2

Open Font Book and choose File → Restore Standard Fonts… If that doesn't work, restart in safe mode (hold the shift when you hear the boot chime).


2

The file cannot be removed even by root because it has schg and sappnd flag. Try this: $ sudo chflags 0 file.txt $ sudo rm file.txt The first line clears the flags.


1

I think SoundBunny is an app which works for this. Link: https://www.prosofteng.com/sound-bunny/ However it is paid $10 but there is a free month trial which you might be able to capture your video in time in that month. I haven't tried the app myself but it seems ok from the screenshots.


1

Using boot camp or virtualization software (e.g., Parallels) works fine with the MacBook Pro systems, though it is important to avoid skimping on the hard drive space, which is the case here. These days, one would want 512 GB as a minimum, though preferably 1 TB. Instead of installing Windows on the external hard drive, continue with the existing 64 GB boot ...


1

If you run following command in the Terminal app it will show you what keep it from sleeping. pmset -g assertions Then based on the result you can take a action. Here is a example: pid 251(coreaudiod): [0x0000000100000d01] 00:17:27 NoIdleSleepAssertion named: "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,1:0'.noidlesleep" pid 251(coreaudiod): ...


1

From Apple's support note on battery cycles: A charge cycle means using all of the battery’s power, but that doesn’t necessarily mean a single charge. For instance, you could use your notebook for an hour or more one day, using half its charge, and then recharge it fully. If you did the same thing the next day, it would count as one charge cycle, not ...


1

For example, if you discharge your battery halfway one day, then halfway again the next day, this counts as one cycle, not two. In your case discharging to 80% it will take 5 times before a cycle is counted. (5x20% =100%) = 1 cycle. Fully drained = 1 cycle. Draining is not recommended.


1

If you open the Radio tab, click on the plus sign next to 'My Stations' and search for 'Beats 1' it'll be added to your stations and you can stream it. This works with iTunes 12.1. I'm guessing this only works if you've updated to the latest Music app on iOS, but I haven't tested without upgrading my iPhone.


1

I managed to fix this just now by booting into safe-mode and running software update. To boot into safe-mode, restart your computer and hold ⇧ shift during start up.


1

Check the file associations for both HTTP & HTTPS, make sure both are set to Safari. A simple way to do this would be using RCDefaultApp Answered as Community Wiki just so we don't have a dangling question when there's a perfectly good answer in the comments.


1

Take screenshot. Paste screenshot into Evernote. Copy screenshot from Evernote. Paste screenshot where intended.



Only top voted, non community-wiki answers of a minimum length are eligible