Tag Info

Hot answers tagged

5

You can hide files from the UI using chflags command. Assuming you want to hide iBooks app, start your terminal app do the following: $ cd /Applications/ $ sudo chflags hidden iBooks.app And you are almost done. Start finder app and in Applications folder you won't see iBooks app. But it's still in visible in the Applications Dock folder. You have to ...


3

You'll either have to change the settings under System Preferences > Security & Privacy > General > Allow applications downloaded from: to Anywhere or in a Terminal, strip the xattr com.apple.quarantine attribute from the downloaded file(s). xattr -dr com.apple.quarantine "unidentified_thirdparty.app"


2

Probably the best you can get is netstat -f inet -n | grep .port or netstat -f inet | grep .servicename Examples: machine:~ user$ netstat -f inet -n | grep .443 tcp4 0 0 192.168.114.5.58471 192.111.0.25.443 ESTABLISHED tcp4 0 0 192.168.114.5.57990 192.111.0.25.443 ESTABLISHED tcp4 0 0 ...


1

Just removing the Server.app (3.2.2) for 10.9 Mavericks isn't enough. You also have to unload several launch daemons. By comparing all "System LaunchDaemons" in a basic Server.app install and an LDAP/VPN environment in two different VMs I assume that the following system launch daemons have to be unloaded permanently: org.openldap.slapd ...


1

Problem sovled This issue was caused because I had imported a time machine back which was made using snow lepoard. Doing this had overwrote the mountain lion libraries. I just had to reinstall mountain lion over the existing install and then xcode and homebrew and it worked fine.


1

The short answer is: (generally) Add it to ~/.bash_profile echo 'alias ep="cd $HOME/Dropbox/CurrentProject"' >> ~/.bash_profile NOTE: There shouldn't be any space between the alias/variable and the equals sign ("=") and the value. If your value has spaces then the whole value should be put in quotes. A better answer is: (probably) Try setting an ...


1

This answer neatly summarises what ideally belongs in each of ~/.bashrc, ~/.profile, and ~/.bash_profile. In summary: ~/.bash_profile should be super-simple and just load .profile and .bashrc (in that order) ~/.profile has the stuff NOT specifically related to bash, such as environment variables (PATH and friends) ~/.bashrc has anything you'd want at an ...


1

Here is a shell script that will do what you want - for both Apple's Terminal or iTerm (we have users of both). For your tabs that you open, this will execute another batch file in each tab, such as one for tomcat, one for you db, etc. #!/bin/bash function tab () { local cmd="" local cdto="$PWD" local args="$@" if [ -d "$1" ]; then ...


1

I would comment, but I don't have enough coinage. We need to figure out what is wrong: The packages do not exist in a known path that you have. We know this. So what is causing it? Either it's not being installed, or it is being installed and the binary is not in PATH. First, make sure it is being installed properly by pip. Do a pip install and let us ...


1

So the following script will send the text to the pipe, in the background, and if the background job does not exit after a second it will kill it. This should stop the script from blocking... #!/bin/sh echo $1 > $2 & sleep 1 # Following is necessary. Seems to need it or # job will not complete! Also seen at # ...


1

You can use AppCleaner to do it, although you first need to uncheck [] Protect default apps in its General Preferences. AppCleaner Preferences AppCleaner showing deleting the Chess.app, which will work the same for other Apple installed Apps providing the preference mentioned is unchecked.


1

I'd been wondering about this as well. I have my App folder in the side dock which gives me an unwieldy list of names longer than the screen heigth. The solution I tried attacks the problem from another angle. Instead of cleaning out the App folder, I made a new folder and put in alias's of just the programs I use. You can then drag the folder off to your ...


1

I created Homebrew-command-not-found just for that. It works exactly as you would expect, and supports 4800+ Homebrew formulae. We currently support Bash and Zsh, and there’s an open pull-request for Fish support. However it’s currently limited to correct spellings, e.g.: $ ghc The program 'ghc' is currently not installed. You can install it by typing: ...


1

As far as I know, you can't do it using open command. But, you can do it using a combination of keyboard shortcuts and Terminal profiles. Define a new profile on your Terminal app (let's call it ssh) and add your ssh command on Shell tab under Run command:. Then your can define a shortcut on System Preferences - Keyboard - Shorcuts - App Shortcuts like ...



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