Mac OS X is a series of Unix-based operating systems and graphical user interfaces developed, marketed, and sold by Apple Inc. Named Darwin, it has a Mach kernel and FreeBSD heritage.
2
votes
1answer
197 views
FTP timeout FIRST time
I'm using PureFTPd on MacOSX (Snow Leopard, not server version). When trying to access the FTP account from the outside via dyndns (e.g. using https://www.wormly.com/test_ftp_server) the connection ...
0
votes
0answers
17 views
System Proxy Settings [duplicate]
I'm troubled by many types of proxies setting.
Currently I configure proxy on many places, and if I switch environment I have to unset proxies on same places.
What I have to change
Environment ...
0
votes
1answer
21 views
Files replaced with Finder on Mac creating a copy on Samba's .recycle
Scenario:
Ad Agency with Samba Server and multiple Mac users, 0 Windows users.
vfs objects = recycle
recycle:keeptree = yes
recycle:repository = /storage/files/.recycle/%U
Workflow:
Before start ...
1
vote
1answer
98 views
How are default permissions determined (on OS X)?
My (limited) understanding of basic Unix is that any files that are created will be created based on the permissions of the creating user. In particular, the group assigned will be the creating user's ...
1
vote
0answers
33 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
2answers
46 views
Checking if I can reach some ports from my computer
Is there a terminal command or something on OSX that I can use to test if I can reach some ports on a remote server?
I know these ports are reachable on that server, because I can access them from ...
1
vote
2answers
576 views
My computer won't shut off normally
Every time I try to shut down my iMac it just stays on that loading circle forever. The only way I can get it to shut down is by holding down the power button. I checked the system logs (below) and I ...
1
vote
1answer
37 views
Safe to change owner of OS X system folders?
I'm trying to get Homebrew to work. That program's diagnosis tool gives me these suggestions:
You should probably chown /usr/local/etc
...
You should probably chown them:
...
1
vote
2answers
207 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
3answers
452 views
Help with a find command
I have a bunch of directories. Inside these directories is a cover letter and a zip archive of work. I wanted to run a quick and easy query to open up all the cover letters so I can decide if it's ...
0
votes
1answer
50 views
Keep the ssh session
I am using Macbook developing a client application.
I want to access server logs, so I opened a shell terminal and established a ssh connection to the server and access the log file there by ...
14
votes
2answers
3k views
Where does Mac OS X come from?
Discussing with Mac owners, I got several versions of where Mac OS X comes from. It is known to have some root in BSD, but how much, and where?
Some say that Mac OS X has a FreeBSD kernel, with all ...
12
votes
5answers
2k views
How can I tell what version of OS X I'm on from the command line?
I frequently find myself SSHing into various OS X machines, and it'd be useful if I could tell what version of OS X I was on when I'm doing that. uname -a doesn't quite work, since Darwin kernel ...
5
votes
3answers
483 views
Any tips for surviving Terminal.app?
I've recently switched to using a Mac full-time, and am having trouble getting used to Terminal.app after years of loving gnome-terminal. I miss having URLs show up underlined, using alt+arrow to ...
1
vote
1answer
101 views
Compile IMAP with certain PHP API version for MAMP
I've installed MAMP on Mac OS X (where PHP 5.3.15 with API version 20090626 is installed), but IMAP there is without SSL support.
As long as MAMP using PHP v5.4.4 (API version 20100525) I've ...
2
votes
1answer
676 views
Sound volume control does not work in Ubuntu
My sound volume control does not work when I'm logged in with my regular user, though the sound works correctly. What's weirder is that the sound control works when I'm logged in as guest.
With my ...
0
votes
0answers
23 views
Why does my Mountain Lion computer have Apache 2.2.22 shut down almost as soon as it starts?
[Sun Apr 21 17:29:00 2013] [notice] caught SIGTERM, shutting down
[Sun Apr 21 17:30:15 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
httpd: Could not reliably determine ...
2
votes
3answers
97 views
default wordsize in UNIX/Linux
I was inspecting the preprocessed output of my C program and happened to look at the header file wordsize.h
It is located in
/usr/include/i386-linux-gnu/bits/wordsize.h
the file contains only one ...
15
votes
5answers
6k views
How do you create a user with no password?
In os X it's possible to have users without passwords. If you inspect them with dscl their password show up as *. This is used for system users such as users for databases like mysql, pgsql etc. ...
2
votes
1answer
46 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 ...
1
vote
2answers
60 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
2answers
45 views
Calendar.vim E492: Not an editor command: Calendar
I am trying to install the calendar.vim plugin on mac osx snow leopard running gvim. I have pathogen.vim installed, so I followed the instructions on github to install calendar.vim from the terminal:
...
1
vote
2answers
503 views
I accidentally deleted the sudoers file on Mac OS X; is there any way to recover it?
I accidentalley deleted the sudoers file on Mac OS X; is there any way to recover it?
And once you've recovered it, how do you set it to mode 0440?
I presume not but I am desperate to get it back!
0
votes
0answers
29 views
Installing required libs/frameworks/packages for compilation on OSX
I'm trying to compile SmartSim for OSX Lion, and at the moment I'm at the ./configure stage.
Here is a dump of what I've managed to get so far:
$ ./configure
checking for a BSD-compatible install... ...
1
vote
1answer
144 views
Transferring Files SSH SCP Error Message: 'Stdin: is not a tty'
I am using a Macbook SSH terminal and generated RSA key pairs and uploaded remote id_rsa.pub with approved permissions. I can connect with remote Apache web server. I can create, open, move, modify ...
1
vote
3answers
707 views
Dual booting on a Macbook Pro 7,1.
I'm looking to install Linux on my Macbook Pro in a Dual Boot config. I've previously asked this question in a different fashion here: Dual Boot Fedora 16 with OS X rEFIt.
However, it didn't really ...
3
votes
3answers
2k views
Fork bomb on a Mac?
I just learned about a fork bomb, an interesting type of a denial of service attack. Wikipedia (and a few other places) suggest using :(){ :|:& };: on UNIX machines to fork the process an infine ...
4
votes
4answers
75 views
Tool to compare files on one disk with registry information on another?
Been a long time since I got very far under the hood in Unix so I'm probably not even using proper terminology when I say 'registry,' but here's the situation.
I have a disk thats dying. Lots of i/o ...
1
vote
1answer
38 views
Losing smtp/pop3/imap access
I have a server running OS X. This server connects to another server, this other one CentOS 6.3, from times to times to collect mail messages over POP3/IMAP and also to send mails using SMTP (exim, on ...
9
votes
1answer
2k views
Why the value of VSIZE in top is different from the value of VSZ (Virtual set size) in ps?
I know VSZ in ps is for the total address space allocated for the app and is sometimes aliased as vsize (mentioned in man page of ps on linux), but what's the definition of VSIZE in top? This top ...
1
vote
2answers
45 views
“or” in shell glob
I want to ls the files containing the substring "s1r", "s2r", "s3r" or "s19r" in their filenames.
I'm almost there!
Botched attempts:
ls *s[123][9?]r*
The above gives me only files including the ...
3
votes
2answers
209 views
Installing gcc without root?
I'm running OSX, and I don't have root, or an existing compiler. Is there any way I can install gcc?
Are there official or trusted unofficial mach-o binaries that can be downloaded for a certain ...
0
votes
1answer
37 views
How to map terminal shortcut from CTRL-M to another combination
I read in another post that you can type CtrlJ or CtrlM instead of the Return key in the terminal, which is great. But what I want to be able to do, is change that to another combination, for example: ...
1
vote
3answers
124 views
Unix vs Mac OS X, Notable Difference
I was searching Unix vs OS X. I found a notable difference at
From http://www.unix.com/unix-dummies-questions-answers/919-mac-osx-vs-unix.html
OS X is a evolutionary kernel from the MACH and BSD ...
4
votes
1answer
79 views
Execute multiple bash commands on the output of find
I want to execute some commands using the find -exec option, but I'm not sure what' wrong with this code. Currently, it's only processing the first find result, then getting stuck. I'm using bash in ...
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 ...
4
votes
2answers
91 views
remove duplicate files
On my Mac OS X 10.6.7, iTunes duplicated every single file in my music library. Now I have 3,840 files instead of 1,920. The problem is that iTunes didn't simply duplicate the whole folder, but each ...
1
vote
1answer
61 views
Change routes for VPN
I need to use for some things a cisco VPN connection, but I don't want to route all my trafic over the VPN but only that traffic, that is send to a specific network.
How does a script look like, that ...
1
vote
1answer
22 views
mpg321 doesn't autoplay songs
I'm using mpg321 on OSX and I just try to play my songs with mpg321 *.mp3. It plays fine but doesn't play the next song automatically. I have to press some key for it to play which is kind of ...
1
vote
1answer
27 views
How to troubleshoot failed X11 forwarding with ssh?
When I try to establish an X11-forwarding connection to myserver, I get the following error:
% ssh -X myserver xlogo
X11 connection rejected because of wrong authentication.
X11 connection rejected ...
0
votes
0answers
43 views
Rsync seems to back up files that haven't been opened or changed
I have started using rsync to back some data on my mac to an external HD. It works really well, but I have noticed something odd. Every time I run the command, I get a list of files that haven't been ...
0
votes
0answers
33 views
programming an Atmel Board with a USB to Serial converter, in Eclipse
I am actually trying to program an Atmel Evk1100 board directly from Mac OSX.
My MCU is UC3A0512
I used to use Atmel32 Studio on Windows, but It looks like there no Mac Version.
So, from what I've ...
1
vote
3answers
79 views
Unix mail command not sending email
I'm having trouble trying to send email with the unix mail command.
Currently I'm trying this:
echo "something" | mail -s "test mail" email@address.com
But when I check my email, I haven't received ...
0
votes
0answers
39 views
MPD error on OSX: “problems setting volume”
Getting this error when trying to set volume with MPC on OSX:
error: problems setting volume
Here's a snippet of my .mpdconf:
audio_output {
type "osx"
name "OSX"
mixer_type "software"
}
...
0
votes
0answers
34 views
rsync a mac on linux box, --delete not working
I have a mac Darwin Kernel Version 10.8.0. One of its folders is called source. I want to back it up on a remote linux folder called destination.
My problem: whatever I try, I cannot make the rsync ...
-1
votes
1answer
59 views
Why is ./filename required to run executable script? [duplicate]
After creating a Python script file, test.py, in my home directory, and running chmod +x test.py to make it executable, and placing #!usr/bin/env as the file header, I expected to be able to run the ...
2
votes
1answer
517 views
Error with fetchmail and SSL certificates
I have a problem configuring my mail client on my Mac OS 10.6.8. These were the steps I did:
# touch ~/.fetchmailrc
I edited the file and created the contents:
poll pop.gmail.com with proto POP3 ...
0
votes
1answer
33 views
Can't use peewee on Mac OS X Mountain Lion
I am getting an error when I run Python programs that imports peewee:
ImportError: No module named peewee
The same program works fine under Ubuntu 12.04.
I used pip to install peewee, and it ...
2
votes
1answer
62 views
Find out where $PATH got corrupted
I'm using OSX Mountain Lion 10.8.2
$echo $PATH prints this:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/myusername/.rvm/bin
I've commented out everything in ~/.bash_profile ...
0
votes
0answers
18 views
Make Mac executable with MonoDevelop
I am on Ubuntu, using MonoDevelop and I would like to port my applications to Mac OS X. I have found mkbundle on this question, but that only makes Linux executables I believe.
I would also like to ...
