Questions about the command line and other Unix-like aspects of Mac OS X, including the Mach/BSD-based kernel and FreeBSD-based userland. You may want to consider using Ask Different instead.

learn more… | top users | synonyms (1)

3
votes
0answers
54 views

OS X-like deadkeys behavior on Linux

I'm on Debian (actually Crunchbang), and my notebook has a default US layout keyboard. My native language is Brazilian Portuguese (pt-BR), so I've changed my layout with setxkbmap -layout us -variant ...
3
votes
0answers
389 views

A real non-“better touch tools” solution for select-to-copy on Mac OS X

I recently moved to Mac. I am missing my X11 copy-paste style. I can't find a way to exactly emulate X11 behavior "select-to-copy", "middle-click-to-paste" globally on Mac OS X. I am aware that this ...
3
votes
0answers
131 views

Can I get WCHAN from ps on Mac OS X 10.7.4?

From the manual it seems that ps -AO wchan should tell me what everything is sleeping on, but everything comes up as -. (And nwchan as 0). Did they do away with the old sleep()/tsleep() interface in ...
3
votes
0answers
515 views

WPA pre-shared key format in linux and macintosh

I'm temporarily in a situation where the wifi network I need to use is implemented using Macintosh equipment. They have encoded their network using WPA and TKIP. I can't seem to get onto their network ...
2
votes
0answers
84 views

Shorter timeout on I/O errors MacOS X

How do you set a shorter timeout value for read/write I/O errors on MacOSX? We tend to get a few semicrashed disks and want to rsync the contents to a secure location, but when the file subsystem ...
2
votes
0answers
46 views

How do I detect a copy event in Finder?

I am trying to strip formatting from text copied from my Illustrator docs. Someone accurately pointed out to me that running pbpaste | pbcopy via command-line will perform this action on text in the ...
2
votes
0answers
222 views

Boot linux bootloader from Mac OSX

Recently I was running Fedora 17 on my computer which was an HP windows based machine. Unfortunately my computer has a malfunctioning motherboard and will no longer turn on. I removed the hard drive ...
2
votes
0answers
1k views

IPSec VPN Debian Squeeze Server for Mac OS X

I'm trying to get an IPSec VPN set up on my Debian home server, so that I can access my home network and browse without having my internet filtered by my college network, and so that I can perform ...
2
votes
0answers
159 views

Does HylaFax server run in OS X?

From their FAQ: HylaFAX is intended to run on any UNIX system that supports a particular set of features: FIFO special files, BSD-style sockets and the TCP/IP communication protocols, BSD-style ...
2
votes
0answers
307 views

How to fix link error under CMake for class QX11Info on Mac OS X

I'm trying to build kxstitch, which is designed for Linux, on OS X. I've gotten most of the way there by installing MacPorts, XCode, KDE, etc. and making minor changes to the build file, but am ...
2
votes
0answers
328 views

Dual boot Fedora 16 with OS X refit

Having trouble with installing Fedora 16 on my Macbook Pro. While the installation itself completes without and issues, the bootloader doesn't install correctly. I have rEFIt, which I already have ...
1
vote
0answers
21 views

ssh-copy-id hangs with 8192-bit key

Having a bit of an issue with ssh-copy-id it seems to hang when i try to copy 8192-bit rsa keys accross to an OpenIndiana server. I running OS X as my client OS. Is anyone aware of issues with keys of ...
1
vote
0answers
52 views

How can I configure NoMachine 4.0.369 for OS X to connect to freenx-server on Fedora 20?

On an otherwise untouched installation of Fedora 20 Security Lab, I'm trying to enable NX access so I don't have to use Windows and the vSphere console. I have to use SSH to reach the host, no other ...
1
vote
0answers
27 views

htop: Using Ctrl + n & Ctrl + p to move between processes

I'm running the latest version of htop through Homebrew on the latest OSX. htop seems to work well on my terminal (either Terminal or iTerm), but: I'm unable to use Ctrl+n and Ctrl+p to move up and ...
1
vote
0answers
38 views

unable to open openmpi ? Terminal / OSX 10.9.1

Hi I am trying to simulate an example of a software using terminal on OSx 10.9.1. When I execute examples the terminal said Bus error:10 and some errors abput openmpi. I downloaded Openmpi versions ...
1
vote
0answers
121 views

zsh completion installations (autojump) - How to use them?

I just installed autojump. I have included the log of the installation at the bottom of this post. Note that at the end it says: zsh completion has been installed to: ...
1
vote
0answers
66 views

Command for finding open ports

On my linux servers I have this alias set: alias ns="sudo lsof -Pi|grep -v ESTABL|grep -v CLOSED|grep -v -e '->' | tr -s ' ' '\t' | awk '{print $3 "\t" $8 "\t" $5 "\t" $9 "\t" $1}'| column ...
1
vote
0answers
61 views

Keyboard mapping VNC

I recently installed realvnc server on my pc running windows 7, however when connecting from my macbook using the "screen sharing.app" a number of keys are unavailable. For example I need to use the ...
1
vote
0answers
64 views

sshfs and Emacs: file changed on the disk

I am using Mac 10.6.8 SSHFS version 2.4 fuse4x library version: FUSE 2.8.7 / fuse4x 0.9.2 I connect via sshfs to a remote cluster (via a bridge). I modify the remote files with emacs. The problem ...
1
vote
0answers
36 views

sshfs: experiencing data loss

I am connecting to a filesystem on a remote server via sshfs. What I do is just to modify these files with emacs. From time to time I am experiencing data loss. While I work on a file and try to ...
1
vote
0answers
26 views

Preserving owner/group on OS X-provided CIFS shares

I read the attached StackExchange link: Automatically disable Linux extensions for Samba mounts about disabling CIFS Unix Extensions in order to mount OS X CIFS shares. However, my understanding is ...
1
vote
0answers
74 views

Getting g++ to work on Mac with Xcode

In trying to get g++ to work in terminal I ran a command which I have now learned is outdated. I think this is why running g++ in terminal returns an error but I am unsure. If I try to run any .cpp ...
1
vote
0answers
52 views

can't access account with empty password

I used the passwd command to remove the password for my account. Now, when I try to use su to log in to my account, it won't let me enter an empty password. So now, I can't access my account. Any ...
1
vote
0answers
22 views

Change 4 mirrored HDDs to RAID 10

My boss has a large computer (12-core, 4 HDD computer that we use for scientific computing) and he has all of the HDDs mirrored. Is it possible to change this to RAID 10 without data loss and without ...
1
vote
0answers
125 views

Can't unlock a file for path change

I'm trying to order the path entries on my mac, but it seems that my /etc/paths file is Locked. I tried the instructions on this link, but I can't save the file as it is locked. I even tried chflags ...
1
vote
0answers
107 views

Scheduling cronjobs at specified time

I have scheduled some jobs in crontab which are to be run one by one, at some specific time. My script for crontab is : 15 10 * * * /Users/sri/files/BatchFF.sh 45 11 * * * /Users/sri/files/BatchGC.sh ...
1
vote
0answers
233 views

Convert ASCII-8BIT to UTF-8 using OSX' .bash_profile

When running certain rails scripts in OSX' Terminal, I get warnings such as the following: unable to convert "\xA9" from ASCII-8BIT to UTF-8 for ...
1
vote
0answers
81 views

Readline menu-complete on OS X

I'm trying to test out using the menu-complete on OS X 10.8, and it's just not working. I have it in my .inputrc as such: "\M-s": menu-complete I then tried to do C-x C-r to reload the .inputrc and ...
1
vote
0answers
274 views

os-prober not detecting Arch install

I'm triple booting osx, win 7 and arch on an apple macbook pro 8,2 I've followed the guide specific for my macbook pro here: Macbook Pro 8,2 Arch Installation As well as the beginners install guide ...
1
vote
0answers
568 views

Quickly check whether many network hosts are up-and-running

Objective: check if a host is up-and-running on the network, with a method that can be efficiently parallelized over many hosts. Emphasis on a QUICK turnaround of the check. Reason to emphasise ...
1
vote
0answers
67 views

How to prevent ELinks from staying in scrollback buffer?

After quitting elinks, the browser page history is lingering in my scrollback buffer, and therefore not returning to whatever was buffered on screen when I launched elinks. Inside a GNU screen with ...
1
vote
0answers
541 views

Finding/Mounting USB Device in Mac OS X 10.8

I've looked all over and found similar questions and answers and none seem to work for me or match what I see. I should add I'm new to UNIX and the OS X command line but have got a basic overview to ...
1
vote
0answers
83 views

How do I fix my FastCGI Pinax / Django deployment?

I'm running OSX Lion (posted here because this is a Unix-specific question), and am trying to deploy a Pinax project via FCGI. I have the FastCGI daemon running: $ ps wwaux | grep fcgi jonathan ...
1
vote
0answers
192 views

How to specify command line options for XAMPP for Mac?

Per the answer to this question: Can I have conditional statements, based on server, in .htaccess file? I want to specify a command-line option when starting up Apache on my Mac. But my Apache is ...
1
vote
0answers
1k views

xfce swap command and control keys

What is the equivalent of this in Debian XFCE?: Go into System -> Preferences -> Keyboard Click on the "Layouts" tab and then click the "Layout Options" button. Click on "Alt/Win key ...
0
votes
0answers
24 views

Failed to download the JMeter CA certificate for HTTPS recording

I am unable to run HTTPS recording in Jmeter. I have used "jmeter_proxy_step_by_step.pdf" for the setup. The Jmeter version is 2.11 and Java jdk7. But I am unable to generate the certificate. The ...
0
votes
0answers
22 views

How to find the currently running app from terminal on OS X?

I'm writing a shell script runs in the background and monitors user activity. I'd like to be able to capture current application/document if possible. Can I do that? (Cross-posting this from ...
0
votes
0answers
16 views

Debian on macbook air not booting

I installed Debian on my macbook air a week ago after first going through the http://www.rodsbooks.com/refind/installing.html#osx installation guide. The installation of Debian worked fine and i ran ...
0
votes
0answers
17 views

safely override oh-my-zsh configurations

I made some changes to my oh-my-zsh configurations, namely I changed an alias in /lib/aliases.zsh and commented out a function in a plugin that I overrode in a script. I'm wondering if there is a way ...
0
votes
0answers
32 views

No such process error with launch ctl start. Mac OSX 10.9

The goal is to set the machine's network name with the IP address of this machine. I have created a plist file and put it into /library/launchagents/. For debugging reasons, I used the commandlaunctl ...
0
votes
0answers
20 views

How do I install GCC and make on a mac without administrator access or using Xcode?

I'd like to install gcc and make on my Macbook Air, but I don't have root access on it. I found this link through searching on google, but I have no idea how to set up the prefix's so that the actual ...
0
votes
0answers
29 views

When connecting with GNU Screen (patched version) RPi reprompts for password in kind of loop

I'm sorry this is a repost of my question on raspberrypi.stackexchange.com, but I didn't get an answer there, so I thought I could post it here. If not, please suggest some other way to get help. I ...
0
votes
0answers
105 views

How can I continue past this point in installing Solaris 11 under VMware Fusion 5.0.4 on Mavericks?

I have a Mac running VMware Fusion 5.0.4 on OSX Mavericks, and I do not seem to be able to get past a certain point on installation on either of two installers I tried. A (text) window comes up, ...
0
votes
0answers
239 views

Octave - warning: unable to open X11 DISPLAY

My setup is as follows: Octave 3.6.4 Mac OS X Mavericks 2009 Macbook Pro I'm trying to run Octave in Terminal, with gnuplot. I'm trying to plot matrices in a graph, as part of an online Coursera ...
0
votes
0answers
44 views

Exporting Logical Volume to Mac for use as Time Machine drive

I have an Ubuntu server, and I have put a hard drive into this server. The logical volume on this hard drive looks like Device Boot Start End Blocks Id System /dev/sdb1 ...
0
votes
0answers
104 views

gdb debugging in Terminal OS X (10.8.5) with zsh - zsh doesn't know gdb

For my studies I have to run a binary unix-program called bomb with gdb. Some time ago I followed the steps on ...
0
votes
0answers
145 views

Difference between curl -d `data` and curl -d @file

I would like to convert my configuration files for ElasticSearch from JSON to YML. I am using curl for all REST related opertions overhanding the file via $ curl -X PUT ...
0
votes
0answers
101 views

Mac OS X: Terminal Prompt Username

I'm using Mac OS Snow Leopard (v10.6.8). I've changed the account name under System Preferences > System > Accounts > Full Name. However, that does not change the username on the terminal ...
0
votes
0answers
190 views

Error when installing Fedora 19 on MacBook Pro (early 2009)

I try to install Fedora 19 on my MacBook Pro alongside OSX. First of all I create a bootable USB with Fedoras Live USB Creator (under Windows). When I then try to boot from that via rEFIt it only ...
0
votes
0answers
81 views

Increasing the partition size of Kali in VMWare Fusion on a MAC

I've tried using Gpartition but the option to edit the partition isn't available. I've also obviously increased the space VMWare Fusion 4 saves for the vm to 80gb which shows in GPartition.