OS X is a Unix-based operating system developed, marketed, and sold by Apple Inc.

learn more… | top users | synonyms (4)

1
vote
0answers
5 views

How do I delete all lines but the last one using unix ed editor from a bash script

I have the following bash file called "file" (the real one does something useful): ed db/seeds.rb <<EOF 1,$-1d w q EOF When I run "bash file" it doesn't delete any lines. If I use 1d ...
1
vote
1answer
15 views

VirtualBox - Mac OSX host Win7 guest - no Internet access for guest VM

I have a Mac running OSX 10.9.2, and I just downloaded and installed a Win7 IE9 VM in VirtualBox. My Mac uses Wi-Fi for internet access, and it's behind a proxy (it's a work machine). VirtualBox loads ...
0
votes
1answer
15 views

Increasing size of Time Machine storage partition

I have a 500G hard drive attached to my iMac. When it was first attached a friend partitioned it equally for storage and backup (Time Machine). Now the backup part is full but the storage is hardly ...
0
votes
1answer
15 views

Why do I get “unsupported architecture” errors trying to install a Python library in OSX?

I am trying to install a Python library in the Presto package, source http://www.cv.nrao.edu/~sransom/presto/ Using 'gmake fftfit' I get the following error: cd fftfit_src ; f2py-2.7 -c fftfit.pyf ...
1
vote
1answer
32 views

GNU screen changes vim syntax highlighting colors

I am trying to use vim inside a GNU screen session, but whenever I open vim inside screen the syntax highlighting uses completely different colors when compared to when I open vim outside GNU screen. ...
0
votes
1answer
23 views

bash doesn't show current working directory on screen

When using iTerm2 on my OS X, the bash prompt shows my current working directory normally: mbp:tp0 renato$ But when I use screen, the bash prompt changes to: bash-3.2$ How I make the bash prompt ...
0
votes
1answer
8 views

Why does cmd-r mess up Vim on the mac? What is it actually trying to do?

Run across this constantly since I'm a web developer, 'cmd-r' has the side effect of preventing the arrow keys from working in any mode, but I can't imagine that's the purpose and I haven't been able ...
1
vote
1answer
15 views

Find path of button in browser for Applescript

I'm trying to click on a button in Safari with Applescript. I know the code must be something like: tell application "System Events" tell process "Safari" click button " ENTER " of ...
0
votes
0answers
11 views

AppleScript hangs when mounting notremovable encrypted image

I want to mount a dmg as nonremovable image using AppleScript as described here. The difference is that my dmg is encrypted. When I execute do shell script "hdiutil attach /path/to/my.dmg ...
1
vote
0answers
7 views

update git after upgrade to Mavericks

I've recently upgraded from Mac 10.6.8 (Snow Leopard) to 10.9.4 (Mavericks). I had git 1.8.5.2 installed on the old system and want to update it now to the latest version. So I uninstalled git with ...
0
votes
0answers
8 views

Mac Terminal - Color Co-ordinated

I would like to create a couple of short cuts on my iMac which ssh on to my dev box and on to my prod box. I would like my dev connection to use the settings something similar to home-brew (green text ...
0
votes
0answers
28 views

How much memory does a 64 bit address?

I know that 32-bit machines can address 2^32 bytes of memory at a time, and 64 bit machines can handle 2^64 bytes of memory. But if the system only has 4 GB of RAM, is there an advantage to 64-bit ...
0
votes
1answer
7 views

Echo with ansii colors doubles my text (zsh,mac)

Im using iTerm2 on Mavericks. $TERM is set to xterm-256color. When I print this in command line: echo -e "\e[0;36m xxx \e[0m" the console beeps on error and the output is: xxx " xxx in correct ...
0
votes
0answers
13 views

Alias to connect to AWS instance via SSH not working

I made an alias to make it easier to connect to my AWS EC2 instance. Although there is an error. Here is the code in ~/.bash_profile: alias aws_connect=‘ssh -i /path/to/keyfile.pem ...
-1
votes
1answer
7 views

partition icons disappeared after installing windows 7.

I installed windows 7 on macbookPro OS X Lion. The mac partition doesn't appear in startup menu anymore and windows 7 boots automatically. The option/alt key only brings up an option for windows. The ...
0
votes
1answer
21 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
0
votes
1answer
38 views

Mackeeper.zerobit pop-up SAFARI

When ever I open any link or search for anything that has the word Mac, Computer, Keeper, etc. A new tab opens with an advertisement for mac keeper. The website is called ...
0
votes
1answer
10 views

Can you have multiple httpd-vhost.conf files on Mac OS X 10.9+?

I'm most likely switching to a vagrant set up in the near future, but for now, my vhost config file is getting very cluttered with all of the entries. Can I have multiple vhost files? I do not want ...
0
votes
0answers
10 views

Das Keyboard for PC on OS-X

I have a Das Keyboard Pro 3 (bought 2 years ago), the PC model. I just got a Macbook Pro, and connected that keyboard to it. None of the numeric keypad arrows, though, function as arrows: the function ...
0
votes
1answer
22 views

Mavericks Dock Lag

Im having an weird bug on my MacBook Pro. When I start the machine, the dock have some graphic lag, the same when I open and close windows. The solution is simple, just open the AutoCAD and close it ...
0
votes
1answer
21 views

Guest Account Issue (OSX 10.9.4)

I really would appreciate some help with a problem I am having with the guest account on my iMacs. I have a custom dock and settings however when I log out and quickly log back in it loads a default ...
-2
votes
3answers
35 views

how to create new partition in unallocated disk

how to create new partition in the red-arrow pointing unallocated disk And I don't want to lose any data in existing COMMON partition. I haven't made any copy of common partition.
0
votes
1answer
14 views

How to send raw Bluetooth data to BT Keyboard on OSX

I'm using Logitech's K810 keyboard on OSX. Everything works fine excluding "Fn-lock", which is feature held internally by the device and in order to set it the OS has to communicate with it. There ...
0
votes
0answers
23 views

How to stop sending RST to specific IP

I want to stop sending RST to specific IP(192.168.56.101) on Mac OS X. I enter this command. But it still send RST. sudo ipfw add drop tcp from 192.168.56.1 to 192.168.56.101 in tcpflags rst What ...
0
votes
0answers
23 views

iPhone via USB sync error - “MuxClearPipeStall Can't clear pipe stall 2” and Error 0xE8000070

I'm duplicating a question from Ask Different, to see if a broader-base of users can understand what the error message "Can't clear pipe stall 2" might mean. Note: This issue is specific to ...
0
votes
0answers
29 views

Installing Homebrew on OSX 10.9

I am trying to install Homebrew with this commands: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" # Add Homebrews binary path to the front of the $PATH echo 'export ...
0
votes
0answers
17 views

Xcode keeps showing the beachball when I select something

When I select something in the xcode editor and then try to select some other text, the spinning beachball comes up and i have to wait for a couple of seconds before i can continue working. I have the ...
3
votes
2answers
21 views

Confirming a GPG key as mine

I imported a public/private key pair generated on my desktop into my laptop. Now however I get this issue when I try to encrypt a file for my own use: gpg -e -r "Jonathan Max Barnes" random-text-file ...
-1
votes
0answers
9 views

Specifically, what differs between running the same virtualbox on different host OSes

I was always under the impression that a Guest OS running under VirtualBox would be basically unable to determine the Host OS/Specifications. Today, I tried to install Mac OSX on VirtualBox. First, I ...
1
vote
1answer
16 views

Installing Linux alongside Mac + Windows AFTER Bootcamp

I'm looking to set up triple-booting on my Macbook Pro, running OSX, Windows 7, and something Linux (probably Ubuntu 14.04) Ordinarily, I don't think this would be too hard, but most of what I've ...
1
vote
0answers
7 views

Finding all not responding tasks from the command line in OSX?

I know I can do ps -aux | xargs kill etc but I want to list the PIDs of all tasks that are not responding (the red ones in Activity Monitor). What command I can execute in my terminal to list these ...
0
votes
0answers
6 views

How can I send a file from osx terminal to Google Compute Engine linux instance?

I am running osx locally. I have a linux instance on Google Compute Engine. how can I send a file from my local system to my linux instance?
0
votes
0answers
24 views

How to fix this graphic error with Chrome 36 on Mac OS 10.9.4?

Time and time again Chrome 36 on Mac OS 10.9.4 seems to have problems to render the graphics properly (see image below). This distortion is visible only for some time. As soon as the contents change ...
1
vote
0answers
18 views

Installing EclipseFP on Mac OS X

I am trying to install EclipseFP. I'm running OS X Mavericks. I've tried following both the official installation instructions and the advice in this answer on SU, but I'm still having the same ...
0
votes
1answer
23 views

Disable clamshell mode in OS X Mountain Lion

I am running OS X 10.8.5 with an external monitor, and whenever I close the lid of my laptop it automatically goes into clamshell mode so that all the screen contents switch to the external monitor. ...
0
votes
2answers
26 views

Access my local host website via internet from anywhere using ip with port forwarding

Sorry, I'm a software guy, don't know much about networking. I saw similar posts, but I'm not able to make it work by following it. I'm on Mac. My IP is dynamic IP. My Mac is connected to a wireless ...
1
vote
2answers
32 views

Can I get the OSX's Animal name from the Terminal , instead of just the Version?

Other questions have discussed how to get the numeric name of the current OSX version, ie with "sw_vers -productVersion". However, I know of no way to get the animal word name, like Lion, Mavericks, ...
1
vote
1answer
87 views

Ghost typing — has my Mac been hacked?

Got a good fright this evening; desperately need help: On my Mac (OSX Mavericks), I suddenly saw the following text typed into the Chrome address bar: do you like me hey It did not come in all at ...
0
votes
0answers
5 views

Filenames stating with ./ in cpio files created with mac

I would like to use my mac to create cpio files to be used in linux. The filenames seem to be "./name" when created in mac. When the cpio is created in linux name is just "name". The sw I need to use ...
0
votes
1answer
18 views

Moving downloaded OneDrive file off Mac external drive

I've managed to download a 4.86gb file off OneDrive Cloud to a Mac. Now it won't allow me to move/copy it to an external drive. If I try any Mac file it doesn't like it either. But if I copy a file ...
0
votes
0answers
22 views

THC-Hydra Installation on Mac OS X

I've been trying to install thc-hydra on my Macbook lately but I haven't been able to get it work as I keep on getting the following error. gcc -I. -O3 -pie -fPIE -fstack-protector-all --param ...
0
votes
0answers
9 views

Check if file is being read by remote rsync

I'm working on a script to copy files from one location to another (both are raspberry pis running raspbian). I have it set so that files are rsynced from one to the other (overnight, transferring ...
1
vote
3answers
44 views

What does scaled resolution mean in OSX?

I am using a 4k monitor with the latest version of OSX. In display settings, I have a choice of using scaled resolution for getting larger text. But in these resolution will I lose quality over ...
0
votes
0answers
11 views

Install Oracle on Mac - Don't know machine value for archs=()

Disclosure, I have no idea what I'm doing so I'm giving you probably more background than needed in case I'm going down the wrong path entirely. I'm working on someone else's Python code. In ...
0
votes
0answers
18 views

Input Source Language keeps changing on Mac OS X 10.9.2 — how to make the computer keep my desired setting?

First time posting on this site so hopefully I am posting it in the right place. Apologies if not. I've been having issues with my MacBook Pro (15-inch, mid 2009). I have my input source language set ...
0
votes
0answers
8 views

Dock folder popup treats .app as directory

I've dropped a directory containing my applications to the dock so I have them always 2 mouse clicks accessible similar to Windows' start menu. I now updated our application installed in this ...
2
votes
1answer
28 views

Using homebrew's OpenSSH on OS X with ZSH

I've installed the latest version of OpenSSH on OS X using homebrew. As per the instructions in the formula, I have edited the org.openbsd.ssh-agent.plist file to point to /usr/local/bin/ssh-agent, ...
0
votes
0answers
8 views

Automator shell script that triggers opening gui apps

So I have a service, I want it to be running on startup. I thought I could use Automator. The problem is - that thing may need to open gui app, and that of course doesn't work. I'm running Vrome ...
0
votes
1answer
14 views

What is the name of the OS X command that generates ranges of values?

I came across an article some time ago that discussed obscure OS X terminal commands. One of the commands generated a range of characters using up to three values, from memory it went something like ...
0
votes
0answers
10 views

How to truly print a borderless PDF if border still shows with Mac Keynote

I'm using Mac Keynote. I've set my paper handling to 8.5" x 11 US Letter borderless. I've tried multiple combinations related to this, but I still have a quarter inch white border at the top margin ...