Skip to main content

All Questions

Tagged with
16 votes
2 answers
18k views

How do I disable indexing in a specific directory across multiple platforms?

I have some files that will be accessed across several platforms (Mac OS X and Windows 7 mainly, but I wouldn't rule out Linux in the future) and I do not want these files indexed by the search ...
CyberSkull's user avatar
  • 1,495
15 votes
2 answers
24k views

POSTing a file's contents with CURL

(The following is backstory, you can jump down to "Question:" if you'd like) There's a webpage for one of my courses that accepts input text (expected to be Python code) and then gives some tokenized ...
Cornstalks's user avatar
15 votes
3 answers
29k 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 ...
iLemming's user avatar
  • 667
15 votes
4 answers
41k views

Getting UEFI shell when trying to boot OS X in Virtual Box

I am using the latest test build of Virtual Box (normal versions don't work on El Capitan). When trying to boot a Virtual Machine with an El Capitan cdr file (created from the command line) I end up ...
iProgram's user avatar
  • 653
14 votes
6 answers
4k views

Syncing bash profile between computers

I have tons of stuff in my .bash_profile. The problem is, I use ~3 computers very frequently, and I'm tired of having to copy paste my prefs everywhere. Two of them run Ubuntu 10.10, and one runs OSX. ...
Josh's user avatar
  • 423
14 votes
2 answers
13k views

How to force to restart firefox in a clean way?

Many times when I upgrade the system under Linux, firefox pops up a window suggesting to restart the program in order to make effective all the changes. When I ignore that windows because of an ...
Hastur's user avatar
  • 19.1k
14 votes
2 answers
9k views

netem for Mac OS X to emulate network latency and dropped packets

I'm looking for an open source/free network emulator tool that I could use on Mac OS X, to simulate a slow network connection, limited bandwidth and other network characteristics such as dropped ...
Dougnukem's user avatar
  • 333
14 votes
4 answers
61k views

How to share files between Ubuntu and Mac OS X [closed]

Is there any links/tutorials/videos that helps me share files between Ubuntu and Mac OS X?
bragboy's user avatar
  • 433
13 votes
3 answers
19k views

Sending key via ssh or using mouse to activate Target Display Mode?

Is it possible to send a keystroke via SSH?  I want to be able to send ⌘ (CMD)+F2 via ssh from/to Mac OS X.  If that's not possible, a mouse solution would also be good. The reason I need this is ...
iDev247's user avatar
  • 317
12 votes
5 answers
12k views

Address VMWare Fusion Linux guest by hostname?

I have a Ubuntu Server 9.04 image set up in VMWare Fusion 3.0.0, using the NAT option for the guest's network connection. From the Mac host, I can ssh to the linux guest just fine using it's IP ...
amrox's user avatar
  • 405
12 votes
3 answers
33k views

What is the difference between terminal and bash? [duplicate]

When I open Terminal Window in Mac OS X, I can type bash and hit enter and I will see: Last login: Fri Feb 20 14:30:56 on ttys000 Korays-MacBook-Pro:~ koraytugay$ bash bash-3.2$ I can for example ...
Koray Tugay's user avatar
  • 1,950
12 votes
4 answers
15k views

Rsync over ssh, or something else?

I've been trying to use rsync on OSX to Linux or Unix box over which I don't have much control. I've been doing something like this rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/ ...
Dan Rosenstark's user avatar
12 votes
4 answers
8k views

Watch Filesystem in Real Time on OS X and Ubuntu

I'm looking for a CLI tool which will watch a directory and spit out the names of files that change in real time. some_watch_command /path/to/some/folder | xargs some_callback I'm aware of inotify (...
Adrian Schneider's user avatar
12 votes
1 answer
2k views

Why does htop on Mac OS X require root privileges to see data for all processes, but on Linux it runs without root

I use htop all the time when I'm working on Linux system. I've installed htop-osx through Homebrew on my Mac, but in order to see all data for all processes, the formula tells me that I need to run ...
JoeNyland's user avatar
  • 286
12 votes
4 answers
7k views

How do I get GNU screen not to start in my home directory in OS X?

GNU Screen (screen) behaves differently on OS X 10.5 (Leopard) and 10.6 (Snow Leopard) compared to Linux (at least Ubuntu, Red Hat, and Gentoo) and OS X 10.4 (Tiger). In 10.5 and 10.6, new screens (...
Benjamin Oakes's user avatar

15 30 50 per page
1 2 3
4
5
67