New answers tagged

0

Following line checks the configuration first and gets the PID of the main process keeping all others (tested in Linux, zsh): if /usr/sbin/sshd -t; then kill -HUP `ps aux | grep "/usr/sbin/sshd" | grep -v grep | awk '{ print $2 }'`; fi


0

Add the following line to your .bash_profile: export PATH=/usr/local/bin:$PATH To be sure that will work, restart the terminal and then: echo $PATH This will output your PATH variable. The order of directories in PATH variable matters. So, in order to work as you mention, the result should start with /usr/local/bin:


1

I have finally figured out how to do this: pmset displaysleepnow That will actually put the display to sleep without suspending the entire machine. Amazing how hard it is to figure out how to do something so basic.


0

I had the same issue with an USB 3.0 drive. It was formatted with HFS+ and had external power, but still wouldn't work. The problem was that I used the USB 3.0 cable that came with the drive. When switching to an old USB 2.0 cable and rebooted the AirPort Extreme it finally showed up in AirPort Utility.


0

If applications can still send sound to your speakers but the system does not, it sounds like your default output device is something other than your speakers. Hold down the Option key and click on the volume icon in your Menu Bar (or go to System Preferences > Sound > Output). Under "Output Device:" select the device you want to use, probably "Internal ...


0

Alright, so it turns out that a stick of RAM had gone bad, but OS X didn't see that it had gone bad. I ended up testing both sticks to make sure that one of them worked, and now I've successfully installed Lion, and upgraded it to El Capitan. Thanks for the suggestions.


2

Mac OS X Lion didn't come with the built-in ability to create a USB installer since a small USB flash drive installer came with Mac's that shipped with Mac OS X Lion and was also sold by Apple on a small USB flash drive. It was also downloadable through the App Store. It was the first release of Mac OS X to not come on optical media. To create a USB ...


0

All you need to do is right click on the file that you want to open, click "get info" (in the dropdown list) then click "Open with" After that, select the application you want to open it up with, and select "Change all" Hope this helps!


1

This is my final script, keep clean the command cputhrottle only execute new one if doesn't exist #!/bin/bash ### # setup cputhrottle if doesn't exists ### set_service_cpu_limit(){ service_pid=$(pgrep $1) limit=$2 if [[ ! -z $service_pid ]]; then service_cpu=$(ps aux | grep "sudo cputhrottle $service_pid $limit" | grep -v grep | wc -l) ...


0

I think you downloaded the firmware for the device. Try this link to the OS X download page for the IX2. Or this link to directly download the dmg.


-1

Before ejecting drive click on any other drive and then press eject, window stays open,



Top 50 recent answers are included