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.

Filter by
Sorted by
Tagged with
1
vote
0answers
9 views

How do I add Unix executables to the Parental Controls 'Allowed Apps' whitelist?

One example is some of Karabiner's executables, I get popups saying "You don't have permission to use the application "karabiner_grabber." as well as karabiner_console_user_server and a few others. ...
1
vote
1answer
24 views

Dual booting older (2011) MBP into Windows and Linux (not macOS)

I was given a 8,2 15" MBP, and b/c its graphics won't allow me to install Mojave, I want to turn it into a dual booted Linux/Windows machine. (I'm a developer, and find myself needing to tread into ...
1
vote
0answers
9 views

How to display the marked position at the very top when jumping to previous mark in iTerm?

When you jump to a previous mark in iTerm, the marked position will be displayed in (vertically) the middle of the terminal window. But instead of displaying it in the middle, I want it to be ...
0
votes
1answer
43 views

Do terminal TTYs for iOS and macOS exist?

Seeing that multiple TTYs exist on FreeBSD and Darwin, and they provide the core of macOS and iOS, how would I access such TTYs? And would they be multiple instances of GUIs or would they involve ...
1
vote
0answers
21 views

dd sticking and not working

So, I used: sudo dd if=/Users/****/Downloads/kali-linux-2019-2-amd64-iso.dmg of=/dev/disk2 bs=1m to flash a bootable usb drive, but it never started copying... So now I can't access/mount/unmount ...
1
vote
1answer
30 views

Has Unix Parameter Name SystemAudioVolume Been Changed to SystemAudioVolume DB in El Capitan?

I am trying to change the startup sound. When I checked the setting using: sudo nvram -p it returns a setting for SystemAudioVolume DB %ee I entered: sudo nvram SystemAudioVolume=%00 When I ...
0
votes
0answers
21 views

MacOS vanished from reFInd and can't boot into MacOS anymore

Last night I tried deleting UBUNTU and SWAP partitions on my MacBook Air 2017 model. But I could not remove the UBUNTU partition in Disk Utility after removing the SWAP partition. So I tried to ...
2
votes
2answers
41 views

Want to delete UBUNTU 18.04 LTS from MacBook Air 2017 model

I'm completely new to using a Mac, and recently installed UBUNTU by following some YouTube videos and it worked fine. I added 50GB for the UBUNTU partition and 8GB for the SWAP partition. I now want ...
1
vote
1answer
94 views

Large .bash_profile increasing time for terminal to do things. Able to fix?

I've got an almost 100 line .bash_profile which does things like check the git branch and colour certain text. This makes things like even starting a new line significantly slower compared to the ...
0
votes
0answers
20 views

Play Youtube on Apple TV via Linux Desktop

What I want is to watch YouTube on an Apple TV using my Linux Laptop as a remote controller. Both devices are wirelessly connected to my network.
0
votes
0answers
14 views

How to setup properly Clover EFI?

I need a little help to how to setup Clover Bootloader - to handle a dual-boot on a late 2008 unibody Mac(Intel dual-core 2GHz, 4GB). This Mac is already containing two partitions - see below - but ...
0
votes
1answer
25 views

Pass keyboard input to cli after exiting vim

Some irritating thing when doing git commit - what I'd like to type (really fast :)) git commit -a --amend :wq<CR> git push -f My problem is that after :wq<CR> I have to wait until vim ...
1
vote
0answers
88 views

Booting linux from usb on macbook pro 2019

I've got linux iso installed on a bootable usb and boot it from refind which works fine. But when I choose to install ubuntu in the grub menu I get a black screen. After some digging online I read ...
9
votes
2answers
254 views

Pipe to mv command

I'm trying to move files from Terminal but only those from the results of a grep query. ls -l | grep -i s02 | mv What is the best way to complete the command above?
1
vote
0answers
39 views

Wake on LAN (WOL) on Mac Pro 3,1 WITHOUT MacOS

I've been re-purposing my Mac Pro 3,1 (2008) to be a server using docker and Ubuntu Server 18.04.2. I'm trying to get wake on lan to work, as this is a really power-hungry machine and I would rather ...
2
votes
0answers
93 views

UBUNTU on MacOS, windows already installed

I am installing UBUNTU on my MACOS Mojave while windows 10 is already installed through bootcamp. I've tried the instructions in Installing Ubuntu on Mac with macOS and Windows already installed but ...
0
votes
1answer
30 views

System fails to recognize main macos boot partition after Ubuntu dual booting attempt

I recently attempted, and temporarily succeeded, in dual-booting Ubuntu and MacOS Mojave on my MacBook Air. After I installed and successfully tested Ubuntu, I tried to use Disk Utility to create a ...
2
votes
2answers
125 views

How to run Linux gui apps on macOS (e.g. via XQuartz)

I'm trying to run some Linux applications on macOS. I have installed XQuartz but if I attempt for instance to run firefox it does something - i.e. the firefox process can be seen by ps: $ps -ef | ...
0
votes
0answers
31 views

Install Linux without firmware password

I have a Late 2013 MacBook Pro with an unknown firmware password set. I don't know the firmware password because the laptop is a castoff from a company and I have no way to get the password from them. ...
0
votes
0answers
14 views

Have to ssh first on mac before connecting to samba share

I have a weird issue with my Mac OS Mojave. There is a Ubuntu samba share in my network, and it will consistently fail to connect, until I open the terminal, and browser the directory using it. Once ...
10
votes
2answers
1k views

What does 2>&1 | tee mean?

I read the answer by @grg to question “brew formula” installation logs: brew install <formula> 2>&1 | tee install.log So where exactly is this install.log file going to end up, and ...
7
votes
1answer
4k views

What is the “ls” directory in my home directory?

I was just exploring the directory structure on my Mac and there's a directory in my root/home directory, named ls. [~]$ ls -l . . . drwxr-xr-x 6 XXXX staff 192 Dec 8 2018 ls [~/ls]$ pwd /...
0
votes
1answer
64 views

is it safe to delete /private/tmp vs /private/var/tmp?

I see these dirs are bloated with size in many GBs. I have never touched these. Occationally I just delete /private/var/mail/ishandutta2007
1
vote
2answers
70 views

how to reset $SHELL variables in root from user space

I've switched my bash to zsh in root using chsh -s /usr/bin/zsh root After when I change back to bash, I type the wrong path: chsh -s /usr/bin/bash root Now I cannot enter root and I get this ...
0
votes
1answer
115 views

Netatalk disk not shown in TimeMachine, manual connect via afp works

I set up netatalk on Ubuntu to backup via TimeMachine to one partition there over my network. I can connect to the partition through the Finder Go... menue. But I cannot see an option to create a new ...
1
vote
1answer
67 views

Mac OS not accessible

I was recently resizing a partition on my mac (10.13) and a partition came up named "recovery HD", I looked and saw that it only had 650mb. I tried to delete and couldn't along with the partitions ...
0
votes
1answer
25 views

Creating different quotas for specific machines with Time Machine?

I've got Ubuntu server 18 running AFP (Netatalk 3.1.12) and avahi dæmon. This takes the role of a time machine server I use with currently one mac. I would like to use this with several other macs, ...
1
vote
1answer
54 views

Why does sed -i create random files with “q” commands?

I’m aware that BSD sed behaves differently from GNU sed with regards to the -i option. However, the usual way of using sed -i '' on macOS ceases to work when using a q command, and I’m wondering ...
0
votes
0answers
27 views

Finder thinks non existant file still exists

So I have an SMB share hosted off an ubuntu server 18.04 computer. I connect to ZFS pool using smb://my-server.local in finder. It works nicely, except for one main issue that makes me fear using SMB ...
3
votes
1answer
57 views

iMac retrieve old linux partition after dual boot removal

On my iMac I installed a dual boot with Linux Mint. However, I realized that the videos were freezing some times, so I deleted the Linux partition. Now, the Mac is working normally, but instead of ...
2
votes
1answer
345 views

MacBook Pro stuck on GRUB minimal Bash at startup

I had a dual boot Linux Mint 19 and macOS on my MacBookPro11,2. Since the CPU was overheating with Linux, I decided today to delete the Linux partition. Little problem, when I start my MacBook Pro now,...
0
votes
0answers
26 views

Working with Apple HTML class data in AppleScript

I saw the following line of code in this post on AppleScript coding of HTML class data. do shell script "osascript -e 'try' -e 'get the clipboard as «class HTML»' -e 'end try' | awk '{sub(/«data ...
0
votes
1answer
383 views

_complete:96: bad math expression: operand expected at end of string in iTerm and Terminal on Tab kypresses

Mac command line say "bad math expression: operand expected at end of string" Previously asks the question however the solution of restarting my computer has not worked.. I was hoping someone might ...
1
vote
0answers
47 views

Bootable USB stick trying to install on USB instead of hard drive

So I‘m trying to install Ubuntu for Dual Boot on my MacBook Pro. I‘m running macOS 10.14 with APFS, created a new partition formatted as FAT32. Created bootable USB stick with Etcher and so forth. So ...
-1
votes
2answers
359 views

I got rid of Mac OSX and replaced it with linux but now I can't change it back to OSX or windows

I overwrote mac OSX with linux and I can't change it back to OSX because I cannot boot to the apple recovery mode it only boots to linux so I am not able to reinstall Mac OSX or windows.
2
votes
1answer
76 views

unlock macOS encrypted Volume on linux

How can i unlock a Partition that has been created and encrypted using Apples Disk Utility on a linux machine? There are 2 formats one can encrypt Volumes with Disk Utility : CoreStorage encrypted ...
1
vote
1answer
36 views

LSCOLORS format

I want to configure my .bash_profile and I've seen this post about BSD based ls configuration: https://www.cyberciti.biz/faq/apple-mac-osx-terminal-color-ls-output-option/ I just don't know what is ...
0
votes
0answers
23 views

How to monitor last 24 hours of network activity? [duplicate]

For example, I want to see the average download speed for each hour. How to monitor last 24 hours of network activity?
0
votes
1answer
183 views

Windows stop in the purple screen after Ubuntu installation

I have an external hard drive where I installed Windows 10 to use on my MacBook when needed. It works great, I just need to toggle the boot disk. But I had to install Linux. To do this I separated ...
1
vote
1answer
206 views

smb server not showing in the Finder sidebar under Locations

I installed samba on linux. From Finder > Go > "Connect to Server …" I can connect to the server and see my folders. The server shows up in the Finder sidebar under Locations. When I unmount the ...
0
votes
1answer
67 views

Building webkit2-gtk with macports, errors sys/types not found

Trying to build webkit2 with macports, I get :info:build /usr/bin/cc -c -I/opt/local/include -fno-common -DPERL_DARWIN -mmacosx-version-min=10.14 -pipe -Os -isysroot/Applications/Xcode.app/Contents/...
0
votes
1answer
77 views

Recovering OS X partition after FFFF volume error and gpt add error

I am currently running a 2014 13'' rMBP. I recently tried to delete a Bootcamp partition in Disk Utility. When I tried to reboot my system, it did not boot OS X (Mojave) and instead could only boot to ...
1
vote
3answers
158 views

What do you call the OSX Window Server, Window Manager, and Desktop Environment?

In Linux we have three layers that represent the Window Server, Window Manager, and Desktop Environment. All of those three layers have more than one competing technology. I'm confused when talking ...
1
vote
1answer
77 views

macOS High Sierra 10.13.6 empty trash sound playing repeatedly

I am trying to figure out how to convert a piece of sheet music to XML file for a student. I heard about Pizzicato app for macOS. I downloaded it, and then attempted to use it (couldn't figure it out)....
-1
votes
1answer
68 views

RAM recommendation for hosting 8gb Linux Mint under Virtualbox?

I need to run the latest version of Linux Mint (19.1) under VirtualBox for software testing and debugging. To get the tested apps to run well the VM needs to have 8gb ram, but right now that's the ...
0
votes
1answer
93 views

How to remove special character from a folder name?

I am creating a folder like mkdir -p ../service/target/static but windows creates it with some special character static. I need to explicitely remove that special character using shell script. I ...
0
votes
2answers
551 views

How can I screen share/VNC to a Linux system (Ubuntu 16.04) from my MAC (10.11)?

I'd like to use screen sharing/I'd like to VNC to a Linux OS desktop from my Mac. Mac OS version: OS X El Capitan, 10.11.15A2301. Ubuntu version: 16.04.5 LTS. I have my Mac configured to accept VNC ...
1
vote
1answer
30 views

Ignore entire folder using du -I

I tried to ignore an entire subfolder of the current folder when running du: du -I=./subfolder -sh This, however, gives me the grand total size of the current folder as if the -I never worked. I ...
1
vote
1answer
70 views

Making Conflicting UIDs across a LAN of MacOS and Linux hosts Consistent

I have an expanding network and while I have the long term goal of eventually implementing Active Directory hosted on a QNAP NAS. However, in the meantime I have the issue of where my MacOS machines ...
0
votes
0answers
45 views

Is it possible to duplicate and rename an application?

I tried to do this: ➜/Applications$ cp -R Atom.app OtherAtom.app but opening OtherAtom just basically opens Atom. It does not produce another application in the command tab menu. Maybe I need to ...