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 ...
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 ...
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?
1
vote
2answers
26 views

What's the Ideal Way to Swap Entries in the $PATH environment variable?

In Linux and/or Mac OSX, what is the best way to automate moving an entry in the $PATH environment variable to the front of the value like this: /foo/bar:/one/two/three:/opt/local/bin:/home/user/bin ...
1
vote
1answer
18 views

VirtualBox: Cannot connect to Linux guest from OSX host

I'm trying to ssh into my linux guest from my osx host. There seems to be some trouble with the networking, I can ping the guest, but cannot ssh to it. I am using a host-only connection on the guest: ...
0
votes
3answers
38 views

Howto start an application remotely, so that GUI is shown locally

This is a beginners question, I know... but I have searched and I'm getting frustrated. I know my way around Lunux pretty well, but I have never had to deal with XServer. Question 1: I SSH from OSX ...
2
votes
2answers
75 views

How to configure dual boot NixOS with Mac OS X on an (U)EFI MacBook?

I could not find any description of configuring dual boot of NixOS and Mac OS X on an (U)EFI MacBook. I am willing to experiment, but i would like to know at least that what i will try is supposed to ...
2
votes
1answer
20 views

Is there a way to output the status of dd (on OS X) during the copy process?

I am using dd to copy iso images to a thumb drive. Is there a way to output the status of dd during the copy process?
0
votes
1answer
18 views

Can I mount my local (OSX) directory to a remote linux host during my SSH session?

I spend a lot of time using SSH. While using Vagrant, I've found that having a shared folder between my local machine and the guest that I can access from the guest really makes life easier. Is ...
0
votes
3answers
30 views

use windows version of cisco vpn client on linux and osx

I have tried wine, but it crashes before finishing the installation. So I switched to virtualbox, installed the cisco vpn client there, and ssh into the guest win7 os. My question is: Is there a ...
0
votes
0answers
23 views

Converting a MBR partition table to a GPT on a HFS+ hard drive

I have a HFS+ 2TB drive that I used to use with my Mac. I wanted to read its contents from Linux (Ubuntu server 14.04) too, so I plugged the drive and played around with gdisk, fdisk, parted and so ...
0
votes
2answers
45 views

What is the Linux terminal ctrl+c to exit a running program in a Mac terminal

In Linux terminal if I run a command like: $ node httserver.js The command runs and by doing ctrl + c the program is terminated and new line comes in terminal for us to enter a command. I felt cmd ...
0
votes
0answers
23 views

Trying to change Default Terminal Home/Path, getting 'eDSAttributeNotFound' error

Found this nice tutorial here on how to change your default path in terminal via stackoverflow. Steps followed: become root with sudo su -. Now fire up dscl by typing dscl localhost. Inside dscl, ...
1
vote
3answers
51 views

cat clipboard text into a terminal?

I have text in the clipboard. I want to cat it in a terminal a pipe it into another command. The exact use case is a PEM encoded X509 certificate on a website presented as text (-----BEGIN ...
0
votes
1answer
55 views

Mavericks startup script

I am trying to write a small script to launch when user logs on. I have searched and got the script to work but unable to run at log on with .plist We have active directory setup. When the user logs ...
2
votes
0answers
52 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
0
votes
1answer
38 views

Need help converting some linux commands to OSX

I want to convert some linux commands into OSX. (Mavericks 10.9.4) root@bt:/# /etc/init.d/apache2 start (will "sudo apachectl start" do the same?) root@bt:/# echo “some Site Goes Here!” > ...
0
votes
1answer
25 views

synergy interprets a 'space' for a 'slash'

My setup is : Linux Server OSX Client Every time I use the space on my Linux box keyboard (and the pointer/focus is in a window on my OSX machine), I get a slash '/' instead. How do I fix this?
0
votes
1answer
65 views

How to share my Linux home directory with Mac OS X

I have an internal development server running Debian Testing. Some times, I find I'd like to do some "on the box" development. I can (have) setup a VNC server and do development that way, but some ...
0
votes
1answer
35 views

can not load private key using ssh-add

I tried to create a ssh key by doing following command: ssh-keygen -t dsa then it prompts me to enter store path: Enter file in which to save the key (/Users/KesongXie/.ssh/id_dsa): id_dsa after ...
0
votes
0answers
32 views

Run Linux applications on OSX (like wine)?

Is there a solution to run native Linux ELFs on top of OSX through some wine-like system? To be clear I'm not talking about compiling posix sources for Darwin or emulating through a VM. Similarly, is ...
0
votes
1answer
47 views

Access dual booted OS from VirtualBox

I have a LinuxKali/OSX dual boot. I have to install some packages in the linux system but as the Wifi drivers do not work without those packages (Mac air has NO ethernet) I would like to access the ...
0
votes
1answer
177 views

Broadcom Wifi card (PCI-ID:14e4:43a0) not recognized on dual boot OSX/Kali

I have a dual boot Mac with OSX and Kali Linux(1.0.7). Today I tried to get the Wifi working according to this guide: http://samiux.blogspot.de/2014/02/howto-kali-linux-106-on-macbook-air-mid.html ...
0
votes
0answers
51 views

How stable is a triple boot setup for OS X, Windows 7 and Ubuntu/Linux?

Thanks for your interest in this question. Goal: I would like to know how effective it really is to configure a hard drive (specifically a 7200 RPM HDD) and boot Mac OS X, Windows 7 and some sort of ...
0
votes
0answers
19 views

Is it possible to work with apple usb keyboard in linux exactly as in mac os x

I have mac os x at home and linux workstation at work. And I want to have minimum differences in keyboard usage. I use archlinux with KDE By this I mean: Command instead of control everywhere, ...
1
vote
1answer
25 views

How to get tree -a to ignore .git directories?

I love using tree to list directories, and I have a git repository with all my dotfiles. For me to be able to see them I need to do tree -a, but that will also list the contents inside the .git ...
0
votes
2answers
51 views

Burning Lubuntu to Dell PC

I have an old Dell PC Dimension 8200 that I'm trying to install Lubuntu on. I'm burning the ISO image on a Mac 10.6 using Disk Utility, but when I try to boot it on the Dell, it doesn't recognize the ...
0
votes
1answer
36 views

What is the sequence of files bash loads to set PATH variable

I want to understand the way PATH variable is set in Linux/Mac. What all files are loaded and in what sequence to set the PATH variable for BASH.
0
votes
1answer
128 views

Equivalent iptables command on OS X 10.9

I want to redirect the tcp traffic temporarily to a custom port. On Linux, I use the following command: iptables -t nat -A OUTPUT -p tcp --dport 1935 -m owner \! --uid-owner root -j REDIRECT and to ...
1
vote
2answers
86 views

Use alias source with relative path

I want to add an alias file to my project folder to quickly open and edit files in it with a simple shell command. To make it more portable, I would like to use only relative paths. I want something ...
0
votes
1answer
51 views

Direct errors in find to /dev/null by default

On my OSX command line, find directs errors to STDOUT. I find this very inconvenient, and I also find it annoying to add 2>/dev/null to the end of the command every time. This brings up several ...
0
votes
1answer
65 views

Unclear on making sense of all the command-line-interfaces (CLI)s out there, and when/why to use them

Some background, I am making the mental effort to start using command line interface for all my work, on Windows, Mac OSX, and LINUX systems. It is true that we have a lot more flexibility in the ...
0
votes
0answers
39 views

Behaviour of Caps-lock in Linux on VirtualBox, OSX Host

I'm running Ubuntu under virtualbox on a MacBook Pro and I'm trying to remap the Caps-Lock key to mod3 so I can use it as a replacement for the Alt key in Xmonad. I can remap the keysyms but the ...
0
votes
0answers
25 views

Virtual Display Device for all platforms

I am looking for a video hook driver for all(tm) platforms (namely windows 7/8, Linux, OSX). The operating system should think that there is a VGA/HDMI/... device that can be used as a second ...
0
votes
0answers
54 views

gcc fails with “No available targets” on Mac OS 10.9.2

When I try to install pycrypto or psychopg2 on my macbook, I get this error: gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -fno-common -dynamic -std=c99 ...
1
vote
1answer
188 views

VirtualBox: USB hub not detected on Linux Guest - MacOS Host

I am trying to connect multiple USB devices to my Linux guest through the use of a USB hub, however, it seems that the hub is not detected on the guest. In my tests I have noted the following: The ...
1
vote
2answers
189 views

If, else based on command piped to grep

I can't figure out how to make this (what supposed to be simple) script to work. Basically what I want, to run different stuff based on the state of my Parallels vm, something like this: if [ prlctl ...
1
vote
0answers
43 views

How to safely back up a sparsebundle that is exported via afpd?

I have several OSX client machines that back up via TimeMachine to AFP shares on an Ubuntu Linux server, exported by netatalk/afpd. These clients back up at arbitrary times of the day, every day. ...
1
vote
1answer
26 views

How can I restrict a bash find to only specific sub-sub-directories

I'm trying to list all the files in a specific sub-directory but different directories which are themselves on a different volume. The following works, but only on a fully specific sub-directory (and ...
1
vote
1answer
60 views

how to maintain parent path of symlinked folder

As we all know how to creat a symlink ln -s /home/foo/test /home/bar/test2 link the folder /home/foo/test to the /home/bar/test2 symbol link but when I enter /home/bar/test2, and execute ls ../ ...
-1
votes
1answer
24 views

Do lots of files cause OSes to slow to a hault?

I have a Mac OSX machine that is almost at a stand still. The only thing I can notice is that there are a TON of files. mostly small ones and if I stick the USB drive to another machine is takes ...
1
vote
2answers
190 views

/usr/bin/env: bad interpreter: Operation not permitted

found some answers here that didn't help me so much ohad@Macintosh-2:/Volumes/develpment/global_constants (master *+)$ node_modules/.bin/mocha -w bash: node_modules/.bin/mocha: /bin/csh: bad ...
0
votes
0answers
70 views

Mac NFS client needs to mount debian NFS server

Mac NFS client(192.168.0.14) and debian NFS server(192.168.0.3). On Mac, showmount -e has the debian network address listed. But if mount -t nfs -o resvport 192.168.0.3:/home/nfs /debian, an error ...
1
vote
1answer
42 views

changing apache root directory prevents me from accessing .git/config

I copied over a php folder from computer to another and hooked it up to apache.. however apache would return page forbidden.. after doing some research it turned out it was a matter of giving apache ...
1
vote
2answers
36 views

wireless connection get listed as eth1 + UNIX + MacoX

I'm not sure what is the best word to put forward for this since I'm connected to my wireless router and by that definition I was assuming the ifconfig to list my ip in wlan0 section but it display ...
0
votes
0answers
41 views

Virtualbox proper network configuration

I'm trying to setup Centos 6.5 on Mac OSX so that: CentOS can use internet using NAT mode adapter 1 (eth0) Host (Mac OSX) can connect to Guest (CentOS) using static ip via Host Only mode adapter 2 ...
0
votes
0answers
30 views

Ubuntu GUI slows to a crawl when doing CPU heavy stuff

For a clients site we have an Ant-build that is highly parallelized. The build consists of multiple GWT modules that are all quite heavy and built in parallel. The build takes about 5 minutes or so. ...
1
vote
1answer
22 views

Nix based OSes and drivers

I have a simple question about certain drivers and *nix based OSes such as MAC OS X and Debian . . .. Is the reason why some devices like mice, keyboards, wireless adapter are able to plug and play is ...
0
votes
0answers
73 views

Sharing FUSE filesystem with Samba; Mac OS X cannot access it properly

I created a simple FUSE filesystem -- read-only, and the only thing it really does to files (a bunch of audio files) is changing their names. The filesystem is hosted on a Linux server, where it works ...
0
votes
1answer
53 views

Integrating github's public keys API with ssh

Hi, i'm wondering if this is possible and safe, to have my http://github.com/{username}.keys as the default authorized_keys file for my private dev server. So that if I add a new key to github - ...