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
2
votes
1answer
60 views

Port 22: Connection Refused SSH Error

Recently, I signed new keys to gain access to my friend's server. The keys were signed on my friend's machine and I signed and added them to my .ssh folder. I attempted to sign in multiple times but I ...
1
vote
0answers
30 views

PS1 setting on macOS using Modulo

I'm trying to set up my PS1 setting in my .bash_profile for my company laptop (Touchbar Mac) and noticed special characters like \u and \w were being used literally. I tried using the single and ...
-1
votes
0answers
32 views

Get Linux App (Keepass) running on Mac [closed]

I used the tool Keepass to store my passwords in a secure place. This works for linux and android. Now I have a Mac and would like to use Keepass. There seems to be no easy way to execute. See: I ...
4
votes
2answers
1k views

Are my macOS man pages outdated?

I run macOS 10.14.6, "Mojave". I've been studying man screen to make some changes to its default behavior. The 2nd & 4th paragraphs under CUSTOMIZATION read: When screen is invoked, it executes ...
3
votes
2answers
247 views

Is there an Ubuntu documented build to run on 2018 MacBook Pro?

I have a 2018 13" MacBook Pro with Touch Bar and Four Thunderbolt 3 Ports, and I wanted to know where I lie with Ubuntu (or another distro) for dual booting. I have successfully booted Ubuntu onto my ...
0
votes
1answer
34 views

How can I run a command which will not survive terminal close?

I want to send a notification in X seconds to future me, but I don't want to send the notification if I closed the terminal. So let's say I want to send myself a notification in 10 seconds: ...
0
votes
0answers
28 views

How to get a notification when a file is deleted [duplicate]

I'd like to get some notification when any file in a specific folder is deleted. What might make this easier is my specific issue is with Resilio Sync. Twice now I've had files and folders in a very ...
0
votes
0answers
11 views

How to selectively remove sym-linked files from a certain directly

In /usr/local/include , symlinked files from ../Cellar/ and /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/ as follows; rwxr-xr-x 1 user admin 48B May 29 2018 unitypes.h -&...
2
votes
2answers
36 views

Cannot delete a .sparsebundle on / with permissions drwxr-xr-x@ 6 root wheel

Even running commands as sudo I cannot change the permissions or delete the folder. sh-3.2# xattr -l filename.sparsebundle/ com.apple.FinderInfo: 00000000 00 00 00 00 00 00 00 00 20 00 00 00 00 00 ...
0
votes
0answers
17 views

How to disable GPU on MacBook Pro late-2012?

As you may know, MacBook Pro’s have that faulty GPU which make the screen black and impossible to use, and the only way of getting rid of it is to change the logic board, however, after asking many ...
0
votes
0answers
15 views

MacBook Pro 2017 has problems when live booting from usb into parrot linux distro

I used Balena Etcher software to flash my usb with the image / iso of parrot linux distro the security edition. the live booting went fine but when it was all booted up I could not move mouse or do ...
1
vote
1answer
68 views

*Complete* recipe for installing single-boot Linux

In this question I summarize a complete recipe for installing single-boot (this should be simple!) Ubuntu 18.04 LTS on an Early-2011 Macbook 17". But it has an error. If you are doing an identical or ...
1
vote
1answer
23 views

Creating a Distributed Account System with MacOS

We have tens of Mac computers and hundreds of students in our lab. Each student will have a G Suite education account. We somehow want to achieve a solution so that: Each student will have a ...
1
vote
0answers
55 views

How to install Ubuntu on original APFS Mac SSD?

I have a 2015 MacBook Pro 12,1 and I replaced the original 128GB SSD with an OWC Aura X2 1TB SSD. I was able to put the original 128GB SSD in an enclosure that they provide. I would like to use this ...
2
votes
0answers
15 views

MacBook not booting up nor recognising bootable usb

I have this old macbook that I wanted to convert into a ubuntu server, however it didn't recognise my ubuntu server bootable usb which my newer MacBook Air did. After tying to use a 32 bit version and ...
1
vote
0answers
24 views

Mid-2012 Macbook Air doesn't always wake of from sleep running Arch Linux

My mid-2012 Macbook Air often powers off if the power cord is detached while it is suspended, and sometimes, regardless of the cord, it doesn't wake up from sleep. I have had this problem since I ...
1
vote
1answer
60 views

Does Etcher replace rEFInd?

Installing Linux on a Mac has always been complicated by the need for running rEFInd. Yet Ubuntu's instructions for installing on a Mac mention Etcher (step 3), but do not mention rEFInd. Can you ...
0
votes
1answer
44 views

Dual booting Mid 2012 MacBook Pro running Catalina with Deepin

After the Catalina upgrade Macintosh HD is listed twice in Disk Utility. One only has about 10gb used and the other looks like that's where everything is. It has the label data in the name. I read ...
2
votes
1answer
115 views

How to resolve messed up GPT (FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF) from Ubuntu without data loss

I was having Ubuntu installed along with MacOS Catalina. I need windows for project work so I decided to create a partition and flash windows in it... Doing this I messed up and there was showing no ...
0
votes
1answer
46 views

In Which Cases Is Linux Bootcamp justified?

To be on the safe side, I know I will be doing a Windows Bootcamp because there are some programs in my field that don't have a Mac-specific version out yet. But for, say developers, are there any ...
0
votes
1answer
33 views

Connecting Raspberry to Apple Time Capsule

How to connect a raspberry to Apple Time Capsule? It should be easy but I faced several time consuming issues, I'm posting the solution as Q&A in the hope this can be useful to someone. So... ...
1
vote
1answer
60 views

Are these unix exe files and others 32-bit code, & should I do something about them before moving to Catalina?

I am running Mojave 10.14.6 (on a late 2013 MacBook Pro), waiting to upgrade to Catalina. Checking for 32bit applications lead to a list containing /System/Library/Frameworks/DiscRecording....
0
votes
0answers
60 views

How to install parallels tools and make my ubuntu desktop full screen?

I have installed parallels desktop to run ubuntu-18.04.3-desktop-amd64 on my MacBook Pro and after the installation completed, I tried to make it full screen but as the installation of Parallels Tools ...
2
votes
0answers
45 views

How to transfer audiobooks from linux pc to iOS?

I want to transfer audiobook (as set of .mp3 files in one directory on my PC) to iBooks on for example iPad. Idea is to listen that particular audiobook on iPad with help of iBooks. How can I do that?...
2
votes
2answers
52 views

How to remove symlinks created after a specific date?

Say I did a ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/* /usr/local/include/ Now I regret it. How can I delete all these links? The good news is I created them today, so ...
1
vote
1answer
37 views

Kali not showing in Kali-OSX dual boot on Macbook Pro

Some context: I have a Macbook Pro with OSX Mojave I installed Kali Linux Boot defaulted to Kali If I wanted to boot OSX I had to hold down the option key on boot. When selecting boot drives, Kali ...
0
votes
0answers
37 views

Release mouse from VirtualBox in Mac automatically?

I installed Windows10 x64 and Unbuntu x64 in VirtualBox in Mac. When I moved the mouse outside of the Ubuntu VM window to get back to Mac, the mouse is automatically released. But when I did the same ...
1
vote
1answer
2k views

How do I remove the source (base) from my terminal?

I created some new aliases in my .bashrc file and did source ~/.bashrc Now, everytime I open my terminal it always comes with the (base) How do I remove that?
1
vote
1answer
88 views

MBP with Touchbar install Debian 10 fails

Trying to create a dual boot system with Debian 10 on my MBP 2016 but the installation process fails because the keyboard input is not recognized. I can move through the initial menu where I can ...
1
vote
0answers
18 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
28 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
12 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
148 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
88 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
35 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
56 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
154 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
24 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
1answer
26 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 ...
2
votes
0answers
899 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
554 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
82 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
98 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
37 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
344 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
44 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 /...