UNIX is both the underlying code and architecture that makes up Mac OS X / iOS as well as a way of interacting with a Mac using the terminal app, X11 app, and various shells like `bash` or `zsh`. Whether you're logging into a mac using `ssh`, using `mdfind` or `tmutil` or using other open source ...

learn more… | top users | synonyms

7
votes
1answer
559 views

What is the “rootless” feature in El Capitan, really? [on hold]

I have just learned about the "Rootless" feature in El Capitan, and I am hearing things like "There is no root user", "Nothing can modify /System" and "The world will end because we can't get root" ...
0
votes
0answers
18 views

Using Terminator on Mac

Is there a working solution (with steps) to have Terminator working on Mac? I know there is iTerm, but I like Terminator.
0
votes
1answer
22 views

What is “sperion”?

I'm cleaning up my boot drive & have come across a unix executable file located @ /private/tmp/sperion about which I can't seem to find any information at all. What is "sperion"? This may be an ...
-2
votes
1answer
66 views

The Greatest Hassle of OS X

So after downloading lots of applications on my Mac in the past, I decided to get rid of some of these applications - and this is where I met some of the greatest hassles of using OS X, the processes ...
0
votes
1answer
42 views

How to port this *nix-shell script to OS X?

I've got a unix-shell script that's supposed to work on nix machines. This doesn't run on OS X however, due to "cp" command not defined. Changing it to "copy" didn't help. git log -1 ...
1
vote
0answers
70 views

Issues with /usr/lib/libcups.2.dylib. x86 applications will not execute

I upgraded CUPS from 2.0.0 to 2.0.2 on OS X 10.10.4 Yosemite for security reasons per advisement from a Nessus scan. I committed the cardinal sin of not backing up my OS before making this change. ...
0
votes
0answers
29 views

Show UNIX directories in Finder?

I want to know how to show the UNIX directories (/usr, /etc, /dev, ...) in the Finder, but not all the files starting with a '.' (Basically everything you see when you ls /) Everything I've found on ...
1
vote
1answer
37 views

Why do I need tuntap for HideMyAss?

I want to install HideMyAss VPN software, but after login they suggest to me to install the tuntap driver. The software worked before, but lately they want to install extra kernel extensions? My ...
0
votes
1answer
64 views

Admin vs firstname and lastname

I've been using OS X since Lion. I'm a sole user of my Mac. When I log into the Mac, I log in as Admin. Also, in System Preferences, under Users & Groups, the Current User is listed as Admin. ...
0
votes
0answers
23 views

How many files are on my HFS drive?

Is there a quick and easy way to tell about how many files I have on a given HFS+ formatted hard drive? On Unix, I use df -i, but HFS+ apparently doesn't use inodes and returns a silly answer based ...
0
votes
1answer
34 views

How to restart a process without user interaction

I killed a process (a simple .jar running in the background as a global agent) by pkill -9 java. Since the global agent in launchd is configured as keepAlive the process gets restarted immediately. ...
1
vote
3answers
240 views

Shell script to restart a certain process if it is not responding

I need an java application to run 24/7 on my mac. Unfortunately the JVM process sometimes gets stuck and thus the java application does not respond anymore. Is there a possebility to detect if a ...
2
votes
3answers
219 views

Why are my command line utilities running so slowly on my Mac?

I have just noticed that command line utilities such as ls (/bin/ls), touch (/usr/bin/touch), cat (/bin/cat), etc. are very slow when I run them from Terminal or iTerm on my MacBook. For example: ...
2
votes
0answers
31 views

Is there a programmatic way to identify built-in applications?

I'm trying to keep an inventory of where each application in my Mac came from (context: I'm trying to be disciplined and install things only through the App Store, Homebrew or Caskroom). Apps that ...
16
votes
5answers
2k views

Is there a native terminal in OS X, without having to load the desktop, window manager, etc? [duplicate]

FOr example, in linux you can boot to a terminal, you don't have to load a desktop, window manager, etc. Is there something like this in Mac OS X? And like in Linux, is it possible to switch to one of ...
0
votes
1answer
99 views

how to find files with .j or .jp extension

I have some image files that have a messed up extension. The files are of the following format: "filename." "filename.j" "filename.jp" I need to find all these files which are in several folders and ...
1
vote
0answers
356 views

What is a “stuck” process?

Using the top command in Terminal, and ordering the list by state, I see a number of processes on Yosemite 10.10.1 whose state is stuck. I've looked through man ps and man top for an explanation, and ...
0
votes
1answer
46 views

Did I really Install GIT 2.0.1?

I'm following instructions from http://coolestguidesontheplanet.com/install-update-latest-version-git-mac-osx-10-9-mavericks/ But when I type in "git --version", I'm seeing: git version 1.8.4 ...
2
votes
2answers
160 views

Auto-Update Script

I'm trying to get the Macs at my workplace all updating at a specific time. To do so, I'm running a bash script from a spare Macbook running OS X Server. I have one minor and one big issue with my ...
-2
votes
1answer
1k views

What is the wheel user group for?

The output of groups after sudo bash lists the following groups: wheel daemon kmem sys tty operator procview procmod everyone staff certusers localaccounts admin com.apple.sharepoint.group.2 ...
1
vote
1answer
41 views

difference between tty[p,r,s][N] and pts

$ ps -ef | grep tty | grep root | grep "-sh" root 25185 25184 0 Oct 14 ttyp4 0:00 -sh root 22998 22997 0 Oct 14 ttyp2 0:00 -sh root 25379 25378 0 Oct 13 ttyp0 0:00 -sh root 1709 ...
0
votes
2answers
79 views

To prevent Finder from showing .noindex files

I can restrict Finder searching files by adding .noindex -extension, this thread. However, I want hide those files in Finder search. How can you prevent Finder from showing .noindex -files?
1
vote
0answers
33 views

Simulating an event to wake my Mac

Events like EC.cause/GIGE/LIDO/OHC/PWRB/RTC/USB# can wake up a Mac. Is there a way to programatically simulate either of these ? WOL is out of the question as my machine doesn't support WOL on WiFi. ...
0
votes
3answers
175 views

Mavericks - I need to be notified when a wifi network becomes available

My university's wifi connection goes up at random times. It's faster, so I would want to be notified when it becomes available so that I can surf faster and I don't have to pay for mobile data that I ...
1
vote
1answer
2k views

How to download and install Darwin 13 OS in PC?

I've conducted a research on UNIX operating systems and found out that an experimental OS (Darwin) is used for development of the OSX; just like Fedora on Red Hat Enterprise Linux. Darwin OS has a ...
0
votes
1answer
94 views

Completely restore root and home folder after many problems with Macports and Homebrew

I had a long day battling with installing a LAMP environment with Macports. I installed several things, had many problems, tried uninstalling them (not sure if I did), and on and on. Then, I tried ...
1
vote
1answer
53 views

How can I inspect the environment variables of a running process?

Is there some equivalent (CLI or GUI) to Linux's /proc/$PID/environ feature?
0
votes
1answer
43 views

What does the @ sign and the number next to it mean in ls -l display?

I got the following output when I apply ls -l command in my Mac OS X Mavericks for an image file: I understand what does -rw-r--r-- mean. But what does the @ sign and the number next to it mean? Is ...
0
votes
2answers
32 views

Where is the documentation on /tmp?

I've read that /tmp will automatically have files deleted that are older than 7 days or upon restart, but I can't seem to find where this is documented. Can anyone point me to a man or web page from ...
0
votes
1answer
491 views

How to uninstall wget

I recently installed wget on my Mac using the instructions listed here: http://osxdaily.com/2012/05/22/install-wget-mac-os-x/ and lorcan's instructions here: How do I get "wget" for Snow ...
0
votes
0answers
47 views

How does one reverse engineer how the Finder performs an operation?

I'm trying to figure out how OS X implements it's secure empty trash operations and it seems like I should be able to get more finely grained information than what the process monitor tells me. The ...
8
votes
6answers
2k views

How to prevent the application launched in Terminal from undesirably exiting?

I launch applications from the Terminal with commands like this one : /Applications/Mail.app/Contents/MacOS/Mail & The important part is the &. For Unix / Linux / Solaris : I have ...
1
vote
1answer
131 views

Error when mounting sparse bundle from terminal

I picked up this command on how to open a disk image and have the password prompt in the terminal window (useful for remote mounting):hdiutil attach -stdinpass /path/to/image source However, it's not ...
2
votes
1answer
215 views

Super and admin user in OS X

Superuser account is disabled by default in OS X (Mavericks). But if you run sudo -l you will come to know that the admin user can execute all superuser commands. Then what is the point of disabling ...
1
vote
2answers
737 views

What is CUPS on port 631?

I recently ran an NMAP scan of my Mac's open ports and discovered port 631 (ipp) was open. Intrigued, I saw it was for the CUPS web interface, and after enabling it I found it had something to do with ...
2
votes
1answer
506 views

How does this complex BASH shell script work?

Apple Support Community member Linc Davis developed this command to aide in diagnosing issues. The output gives a general overview of one's system and is very similar to the program etrecheck. But, it ...
2
votes
1answer
148 views

Sending specific keys when using Remote Desktop UNIX commands

I would like to script the uninstallation and reinstallation of Profiles on a group of Networked Macs. In order to do this I shall use the UNIX Command part of Remote Desktop. When sending the ...
6
votes
1answer
431 views

/usr/sbin/uninstall? What is it/what does it do?

There's a /usr/sbin/uninstall command on my system. What does it do? There is no man page, and running it says "You must be root to run this tool.", and (after sudo uninstall -h) it says "URL is ...
2
votes
1answer
4k views

Whats the equivalent of the unix tree command on OSX

Whats the equivalent of the unix tree command on OSX (10.8.5)
0
votes
1answer
61 views

What is a CPX port or driver?

What is a CPX port? More specifically what is CPX as relates to a Datacard embossing printer? A buddy dropped off an ancient Datacard 150i embossing machine with me to see if I could get it working. ...
3
votes
1answer
335 views

Can't write to ~/Library, even though permissions look OK

I'm totally stumped on this one — a Macbook Air, 10.9.2. As far as I can tell, I should be able to write to my Library directory. Everything I can see suggests I should be able to: [njvack@zot ...
1
vote
1answer
88 views

grep doesn't give the correct offset?

Trying to get the bytes offset of a text word in a binary file (with some text here and there). I need to know the offset of this word from the beginning of the file. I'm wondering if on osx the ...
1
vote
1answer
21 views

How can I find a changelog of core utility versions in OS X?

I often research what utilities are available on different POSIX-like operating systems in the interest of portability, but I haven't been able to find a stable listing of what versions of various ...
2
votes
1answer
259 views

Anyone knows how to view the nice value of a process under Mavericks?

Used to be able to view the UNIX nice value of a process in the top CLI utility. I think it's gone from the top utility on Mavericks? Any other ways to view it?
1
vote
2answers
320 views

how to configure Surfraw on OSX?

Has anyone had success configuring Surfraw on OSX? How do I get a working configuration for OSX? http://www.surfraw.org/
4
votes
2answers
114 views

Why is Terminal.app corrupting my tcsh history?

I've had an ongoing problem that appears to be specific to OS X and Terminal.app: periodically, I get garbage in my tcsh history that looks like this: ^[[1m^[[4mcomputername:~/Code/emacs-source ( ...
0
votes
0answers
123 views

Latex xdvi Error

I am new to Unix and am trying to use LaTeX. I am having a problem with xdvi. Every time I try to use it I get the error message: Error: Can't open display: I have a mac and I have Xcode installed. ...
8
votes
1answer
6k views

What is standard for os x filesystem? e.g. /opt/ vs. /usr/

What does and should go into /opt/ and what should/does go into /usr/? My understanding is that /usr/ used to be for user home directories, but since that exists in /Users/ - what is the purpose now? ...
0
votes
1answer
305 views

ARD and dockutil?

This is probably a pretty noobish question, but here goes... I've recently discovered Kyle Crawford's dockutil, but I can't make it work with Apple Remote Desktop. Or rather: I can't make it work ...
8
votes
2answers
450 views

Piping multiple commands

I would like to run the following command and pipe stout of both to TextEdit: pmset -g; echo; pmset -g assertions | open -f -a TextEdit This doesn't work, it only executes the latter: How?