Why Does BASH on Mac OSX Rarely Save to History
-
Well i'm sitting in a little tea shop in Arkansas right now waiting on the Apple crew across the street to work on my server. I was complaining about having to drive 70 miles, that kind of puts a different perspective on things.
-
Pardon my ignorance, what's the advantage to a Mac server?
-
@johnhooks said:
Pardon my ignorance, what's the advantage to a Mac server?
The big one is SMB support with Mac specific metadata. There is a well known bug in Finder and the only way to work around it effectively is to use a Mac as a NAS head. It's horrible and yet another point where "Apple has known about the bug for years but doesn't provide support for it." Probably because the work around is to spend extra money are a horrible Mac file server.
But yet again, very bad support as the core.
-
I should say, I have gotten great support for my iPhone. But never for a Mac, and I've needed about the same amount of support for both.
-
Actually, only some of the support for my iPhone was good. A few years ago when I first tried to use the Apple Store they were truly terrible. But last year, they were really good. Not consistent, I guess, is an issue.
-
@johnhooks said:
Pardon my ignorance, what's the advantage to a Mac server?
Deploying in house Mac applications and using Mac MDM. I say "Server" but it is just a high end Mac Pro.
-
Are you running the Mac OSX Server OS?
-
@scottalanmiller I'm running Mac OSX with the Server application installed.
-
Server application? I am not familiar. There used to be a separate server OS. Does the Server App turn the regular OSX into the Server OSX?
-
@scottalanmiller Pretty much.
-
I have never had a problem with the history not recording commands in bash on OS X and that's going to back to least 10.4. What does bash --version reveal? Mine reveals
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14)
Copyright (C) 2007 Free Software Foundation, Inc.What if you try bash from homebrew? It's a newer build.
As to the Mac crashing (should be this its own thread?), how is it crashing, a kernel panic? Spinning ball? Does the system.log say anything? If you have DiskWarrior, you can run that to check the filesystem. Odd things things can happen when HFS+ corrupts, which does happen from time to time, but I don't trust the builtin fsck to fix it.
-
BASH version...
bash --version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin14) Copyright (C) 2007 Free Software Foundation, Inc.