Tagged Questions
1
vote
2answers
54 views
How to install tar file (jhead) on Mac or Linux machine
I'm new to Linux and tar balls and was wondering how to properly install them on a Mac or Linux machine. I would prefer to know how to install on a mac but I just need some help understanding them. I ...
0
votes
0answers
32 views
How to mimic bash tab completion behavior on OS X when using Linux
I'm an OS X user who's used to ssh'ing into various Linux machines. Recently, I installed Ubuntu on one of our servers and have noticed very different tab completion behavior in bash. Among other ...
0
votes
0answers
425 views
Replacing Ubuntu 12.04 with Backtrack 5 R3 dual boot with Mac OSX Mountain Lion
I installed ubuntu 12.04 to run alongside my osx on my 2011 macbook air and would like to remove ubuntu completely to boot replace it with backtrack. I deleted the partition where ubuntu was located ...
1
vote
3answers
104 views
Print files with file size less than 100 bytes
Basically this script is just supposed to print out the file size and the name of all files in a directory that are under 100 bytes. This script I wrote works perfectly on my Ubuntu, but wont work on ...
4
votes
2answers
147 views
FHS differences between OS X, Linux and FreeBSD
I've read that there is a different behavior between FreeBSD and Linux with the /usr/local, in FBSD ports are installed there, in Linux not, can someone explain more on this?
I'd like to know where ...
1
vote
2answers
380 views
Can (CUPS) ppd files for Mac OS X be used for linux?
I am looking at buying a printer (actually an all-in-one I prefer for the features it provides, but I want to focus on the printer part here) which does not provide linux drivers, but does provide Mac ...
12
votes
3answers
639 views
File system compatible with all OSes?
I use Linux and Mac OS X on a regular basis, and sometimes I have to use Windows. I need to use a flash drive on all three, and I need a filesystem that will work well on all of them. None of the ...
1
vote
1answer
99 views
How to change the current directory graphically using the keyboard only?
There was a program named NCD (Norton Change Directory) a few years ago that did a good job at helping me change directory back in the DOS days.
This programs displayed a tree, and you could navigate ...
1
vote
2answers
204 views
Linux guest VM on mac host - Keyboard
I use a Mac as a development box, but am slowly transitioning to Linux. So I am spending the majority of my time in the Linux guest VM while working. But I still spend a fair amount of time in Mac ...
1
vote
2answers
441 views
Fetch values from plist file on Linux
I have bash script which was written for OS X and now ported to Linux. I don't have access to the Linux box. The bash script would read values from plist files using the defaults read and PlistBuddy ...
2
votes
0answers
173 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 ...
1
vote
0answers
363 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 ...
0
votes
3answers
712 views
/etc/shadow on Mac
I've been trying to run this Linux passwd-generator file on my Mac. I modified enough the script to make it to work well with directories under OSX:
#!/bin/sh
# build-passwd.sh - creates a password ...
2
votes
1answer
386 views
Permissions corrupted?
A few weeks ago, I installed Linux Mint on a USB flash drive. I used it to copy the contents of my HFS+ external hard drive to my Windows drive on my desktop. Then, I formatted the external drive to ...
1
vote
2answers
1k views
How to bypass youtube's local cache?
Youtube performance here in Brazil has been terrible lately.
Checking my browser's activity I can see that my ISP has a local Youtube cache and serves videos in 1.7 MB chunks.
Talking to some friends ...
1
vote
1answer
388 views
What does @ sign mean in 'ls' output on Mac OSX Lion terminal? [duplicate]
Possible Duplicate:
what does the @ mean in ls -l?
What does the @ sign mean in the following "ls" output?
-rw-r--r--@ 1 root wheel 489 Jan 4 13:14 boot.plist
1
vote
1answer
598 views
How to have CoreAudio from Mac to Linux/Unix?
After using Alsa and PulseAudio for a while, I feel they are not yet strong enough for Audio capture and audio playback.
When I test with loud-speaker and microphone, there is self feedback-loop.
...
2
votes
3answers
335 views
Command line friendly virtual machine
I've been using Virtualbox for a while now, but the only way I've learned to interact with it is through the graphical interface.
Is there a way for me to send bash commands to the vm through the ...
0
votes
3answers
1k views
How do I cp the folder, not just the folder content?
Let's say I have folder structure like this:
/parentFolder/
folder1/
folder1.1/
file1
folder2/
file2
How do I copy folder2 inside folder1.1 so that file2 is also in
...
7
votes
2answers
1k views
How can I determine the fs type of my current working directory?
I need a platform-independent and lightweight way of detecting the mount type of my CWD. Specifically, I need to determine if my CWD is in an SSHFS, NFS, CIFS, SMB, or local block store mount.
I need ...
1
vote
1answer
389 views
Running vim on a remote Linux machine “freezes” OS X SSH connection
(cross-posted this from SuperUser as the question seems more relevant to this audience)
I am attempting to SSH to a Linux (Fedora 14) machine and then open up vim to edit a file, however on my new ...
7
votes
1answer
209 views
in zsh, how do I hide the backslashes in the completion menu
On Mac OS X 10.6, zsh. I have set in .zshrc:
setopt automenu
…to get a completion menu below the prompt. When I type:
cd <TAB>
I see a completion menu with all directories that have spaces ...
5
votes
4answers
3k views
How to cd to a Windows file share?
At work, I spend a lot of time manipulating files on a networked computer that's running SME Server (but that's set up for Windows filesharing, if that somehow makes a difference).
I have been ...
8
votes
2answers
198 views
Hibernate and security considerations
How do Linux and OSX handle sensitive memory pages (e.g. cryptographic keys) when running OS is suspended to disk? If the memory image written is encrypted, how are its keys handled?
2
votes
2answers
197 views
Different sleep binaries on Mac (Darwin) and in Linux. How to properly handle the differences?
In my Linux box, sleep accepts seconds, minutes and hours. So:
sleep 10m
Sleeps for 10 minutes (or 600s).
sleep on Mac only accepts seconds as argument. sleep 10m doesn't work, only sleep 600s.
...
7
votes
4answers
2k views
Is there something like wine to run OSX apps on linux?
This question answers why Linux can't run OSX apps, but is there some application similar to Wine that allows one to do so?
2
votes
2answers
1k views
Dual-boot OS X and Fedora
I'm trying to install Fedora (dual-boot) on a brand-new MacBook Pro. The live/installer CD runs flawlessly on the machine, which was a nice surprise. But after the install is completed, I cannot ...
18
votes
4answers
4k views
What makes OSX programs not runnable on Linux?
I know there are many differences between OSX and Linux, but what makes them so totally different, that makes them fundamentally incompatible?
27
votes
6answers
3k views
Software developer switching from Linux to OS X, what are the gotchas?
I have used Ubuntu/Fedora/Red Hat/Suse but haven't used OS X at all. If I have to start using OS X regularly, what are the things I should look out for?
Tools I use are GNU tool chain, C++/Boost, ...