Questions tagged [unix]

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 software, you are doing things very much in common with other UNIX operating systems and toolsets such as Linux, GNU, and many, many others too numerous to list.

1081 questions
36
votes
1 answer

What is the modern equivalent of "ps aux" on macOS Sierra?

The BSD backend of MacOS has ps built in. The BSD General Commands Manual says that The biggest change is in the interpretation of the -u option, which now displays processes belonging to the specified username(s). Thus, "ps -aux" will fail…
Jonathan Komar
  • 895
  • 3
  • 12
  • 21
5
votes
2 answers

Boot Late 2010 MacBook Air from SD Card

I have a late 2010 MacBook Air (13 inch) and would absolutely love to be able to boot it from my SD Card on which I have Puppy Linux installed. I use Puppy Linux on an old HP Mini 2133 netbook and I'd like to have the option to use it occasionally…
user28278
4
votes
2 answers

Is there any port of start-stop-daemon for OS X?

I am trying to use some init.d script under OS X and I while some are just working properly, I discovered quite a few that to rely on /sbin/start-stop-daemon and I am looking for a port of it for OS X. Any ideas? Note, I know that OS X does not have…
sorin
  • 29,875
2
votes
2 answers

Can I connect to my Linux server using "Go > Connect to Server"?

In Windows I use WinSCP. How can I do this?
2
votes
3 answers

Can you use the command line on a Mac to get to a networked Mac?

I have a networked mac desktop and a wireless laptop. I would like to use the desktop mac to test web pages from the laptop. The mac desktop has a php/mysql/apache server outside the router for testing. How do I get to my network using the…
Janis Rough
2
votes
0 answers

OS X equivalent of linux /proc dir

I am thinking about running dstat on Mac. But some of the locations of data are different from Linux: notice the /proc/stat: Module dstat_cpu24 failed to load. (Cannot open file /proc/stat) Module dstat_disk24_old failed to load. (Cannot open file…
1
vote
1 answer

Upgrading Linux Distro on 2006 MacBook 2,1

I used the link below to install Ubuntu 16 on my 2006 MacBook 2,1. It worked great, props to the contributors. I am interested in upgrading or switching distros on this machine. Will the config on this machine allow a typical upgrade to a newer…
cdyno4
  • 11
1
vote
1 answer

How to split CSV file by Column values into multiple files on a Mac? awk?

HELP!!! Trying to split a csv file admin_bids_view.csv into multiple files. The CSV has 2000 rows and 7 columns. I would like a new file per ID number in column 1. Example data below: Have tried awk -F\| '{print>$1}' admin_bids_view.csv But the…
SJB
  • 13
1
vote
1 answer

Chmod add multiple groups

I have this command: chmod -R +a 'group:test1 allow list,search,readattr,readextattr,readsecurity,file_inherit,directory_inherit' /PATH Which works fine. Question is, how do I add another group in the same command? This does not work: chmod -R +a…
user2720970
  • 576
  • 4
  • 10
1
vote
1 answer

Install Ubuntu on Yosemite - no detected operating system

I have a 2012 MBP running Yosemite and a Live CD of Ubuntu 12.04 LTS. It runs fine, but when I get to the install part it only gives me options to delete the hard disk (no operating system detected) or something else (which im not comfortable…
chris
  • 301
0
votes
1 answer

How do I stop my mac from running all these processes?

My computer has around 400 processes, and I have no clue where they come from. It is taking up an immense amount of space and preventing me from running many programs. I've tried a lot to kill individual processes, but they seem to come back. I…
0
votes
1 answer

'sed' replacement does not seem to work on the command line

The following command: echo "/tmp/ansible_gN946Q/chronograf-1.4.0.1-1/etc/blue" | sed 's/(((chronograf|influxdb|kapacitor).[0-9\.-]*\/)|telegraf\/)/aefgae/g' Outputs: /tmp/ansible_gN946Q/chronograf-1.4.0.1-1/etc/blue When the expected output…
casibbald
  • 111
-1
votes
1 answer

List of Linux programs which are not in macOS

I know the following programs are in Linux but not in macOS. Are there more? Where can I find the list? Please ignore BSD counterparts. tree watch wget wdiff gdb autoconf
shin
  • 463