Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
0answers
7 views

Partition Type: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF on Macbook Air after deleting Linux Partition in Disk Utility

I recently installed Kali Linux onto my MacBook Air 2015, and shortly after, realized that I needed to install Refind to get the full functionality. I deleted the partition, which is 20 Gb, from disk ...
1
vote
2answers
57 views

When switching from Mojave to Ubuntu, then back to macOS, I cannot reinstall Mojave

I had to switch from macOS to Linux momentarily for a short project and now that I'm done, I want to go back to macOS. Prior to installing Ubuntu on my Mac, I was running Mojave as my OS. I tried ...
2
votes
1answer
33 views

Determining unknown filesystems from OSX

Years ago I set up a Linux-based multimedia PC for my parents to store all their music and movies on, as that's the OS I use on my home computers and so if/when things went pear-shaped I'd be able to ...
0
votes
1answer
35 views

How do I format a big disk (4TB) for use in both macOS and a Raspberry Pi?

I need to setup a big hard disk (4TB) so that I'll be able to use it in both macOS and in a Raspberry Pi. Up to now all my attempts failed - at the moment I have formatted it so that it uses GPT, ...
0
votes
1answer
22 views

booting linux from external drive on mac

I had Linux installed on USB using pure efi boot. I had been using this tutorial: https://medium.com/@mmiglier/ubuntu-installation-on-usb-stick-with-pure-efi-boot-mac-compatible-469ad33645c9. ...
0
votes
1answer
61 views

Need help making Windows bootable after installing Linux

I used this questions's answer to install Linux(I installed Mint, however, not Ubuntu) and followed along. I do believe I didn't follow the answer properly, as I still have a placeholder partition ...
0
votes
0answers
16 views

How to use late 2013 iMac in target display mode from Windows 10 ThinkPad with Thunderbolt 3 to Thunderbolt 1 Converter

I have a late 2013 iMac 27" with Thunderbolt 1 and NVIDIA GeForce GTX 780M running MacOS Mojave. I have bootcamp installed on the internal fusion drive, and I have an external TB 1 SSD with another ...
0
votes
1answer
72 views

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 ...
3
votes
2answers
47 views

Terminal: how to use `at`?

Could someone provide some example usages for the at command? I'm finding the man super confusing. $ man at For example, if we wanted to run a command 10 minutes from now, can this be done using at?...
0
votes
1answer
12 views

Format Linux partition USB SD

I have a Transcend SD Card 256GB I was installing CentOS in one partition of my SD Card, testing the OS in my MacBook Air. Now I can't remove the partition and restore my SD. sh-3.2# diskutil list /...
-1
votes
0answers
17 views

Help on awk command [migrated]

I am trying to manipulate a string using awk. Input ABCD|98855.9849:122,9440.9886:3434|TEST Output ABCD|98855.9849:122,9440.9886:3434|TEST|122 I tried the command below but not sure how to use ...
0
votes
1answer
20 views

Can't get iMac to stop booting Ubuntu

I've just inherited an iMac from a departed coworker. It is a 27" unibody model with sandy bridge i5 (not slim, so, from mid 2011). It came automatically booting Ubuntu 18.04.1 LTS as its default OS ...
1
vote
1answer
16 views

Read a Linux Disk in MacOS?

I have a two-disk NAS in RAID 1 that's not cooperating. I tried taking one of the disks out and plugging it into my iMac via a USB enclosure to copy the files off of it, but MacOS can't read the disk. ...
0
votes
1answer
36 views

How to properly remove a Linux partition without messing up your drive?

I know this seems like an beginner / dumb question, since an obvious answer would be: Open Disk Utility Remove Linux partition However it seems that it might not be that easy, and that following ...
1
vote
1answer
92 views

How does macOS implement symbolic link in Mojave on FAT32 filesystems?

I remember in the past, not all types of aliases (as in the macOS feature) can be created on all filesystems. This is because symbolic link (as in the type of file) is a special Unix file type, ...
0
votes
1answer
26 views

Dual booting Mid 2012 Macbook Pro multiple SSDs Errors

I have an old Mid-2012 Macbook Pro. I replaced the the old HDD with a new SSD and removed the optical drive and replaced it with another SSD. I migrated everything from the old HDD to the new SSD ...
1
vote
3answers
28 views

Hidden ‘in use’ file preventing Office MAC 2011 uninstall

I am moving from Mac Office 2011 to Office 365. After running the uninstaller, An invisible file in the Excel package, Microsoft Office > Microsoft Excel > Contents > Resources > En.lproj > Help > Art ...
1
vote
2answers
316 views

How do I delete qmasterd in Incompatible Software folder?

I have this pesky file "qmasterd" that has been moved to the "Incompatible Software" folder by the macOS Installer. It must have been lying around on my Mac from years ago when I had Final Cut Pro v6 ...
0
votes
1answer
41 views

Where is lynx.cfg stored on mac?

I would like to configure my lynx installation but need the /etc/lynx-cur/lynx.cfg. Where is the stored on a mac? I essentially just did. brew install lynx
1
vote
0answers
23 views

Eight occurrences of calendar events

I just collected my Apple Watch, and am loving it. My calendar app on my iPhone synchronises with 'The Horde' which is our self-hosted 'groupware' solution running on a Linux box at home. So when I ...
0
votes
0answers
18 views

Want to recover files after partition shows FFFFFFFFFFFFFFFFF [duplicate]

So a few months ago my mac partition started showing FFFFFFFFFFFFF....... after I tried to install a linux distro then I tried to fix it by doing something in Terminal in recovery mode, I have a 100 ...
0
votes
1answer
104 views

Unable to boot Kali linux using rEFInd

I am currently trying to install and boot Kali Linux on my MacBook Pro 2018 which has the new T2 chip with boot security. I have disabled both SIP and Secure Boot on my Mac as well as installing ...
0
votes
0answers
55 views

Encoding problems in file names during synchronization between Windows, Linux and Mac

I want to sync a folder between Windows 10, Mac (High Sierra) and Linux (debian 9) on my local area network using Syncthing. Although Syncthing showed in all devices that the sync folder is "Up to ...
0
votes
0answers
95 views

How to force ssh port on MacOS

I'm asking this here as I don't think that it's a Linux issue. When I travel anywhere, I can hit my Mac at home via ssh on port 1234 (for example). That works flawlessly. When I want to ssh from ...
1
vote
0answers
358 views

Linux on Mac, dual-boot without rEFind EFI issues

So I followed the instructions here This actually worked great. I was able to install ubuntu and the dual boot is working, however, in my startup window I have a dummy Windows option that boots to ...
1
vote
1answer
25 views

Get out of booting into Ubuntu on multi-OS Mac

I installed Ubuntu on my iMac (Retina 21" late 2015) alongside macOS and rEFInd. Now, I believe the iMac boots automatically to Ubuntu in console mode. I tried a lot of combinations of keys, but ...
5
votes
3answers
1k views

Install ffmpeg on iPhone

Can I use ffmpeg on my iPhone and edit videos in my camera roll with it?
1
vote
1answer
282 views

Is there anyway to use GNOME terminal on mac?

Can I download GNOME terminal on macos?
1
vote
3answers
272 views

How many writes do I have on my 250GB SSD hard drive on my Macbook Pro High Sierra

I would like to know how many writes I have on my Mac's SSD hard drive? I would also like to know if there is a terminal command I can run to find out this information and how many writes I have left ...
1
vote
2answers
123 views

Triple-booting Ubuntu on MacPro w/ Win10 and High Sierra (two separate drives)

I am running a 2009 MacPro (5,1) with two separate hard drives: on one, I've installed MacOS High Sierra. On the second, I used Bootcamp to install Windows 10 (legacy/BIOS, not EFI), then installed ...
3
votes
1answer
570 views

Command line to find bluetooth device's MAC address [duplicate]

Is there a way to get the MAC address of the Bluetooth device in my Mac? I am using a MacBook Pro running macOS High Sierra. I am looking mainly for macOS but the command could also be for another ...
0
votes
2answers
52 views

Boot Camp keeps booting to Ubuntu instead of Windows

I have a macos and Windows 10 already installed. I went ahead and installed ubuntu via EFI, and I think I really messed something up. Every time I boot and select Windows it goes to the purple ...
0
votes
1answer
21 views

Replace string with new line + string in a big file

I need to replace the string ),( with )\n,( in a 10GB file. The \n in this case obviously stands for a newline. I've tried so with this command: sed -i '' '/),(/ s//),\n(/g' bigfile.sql However, ...
0
votes
0answers
25 views

Time machine tells me UID or GID have changed but they don't seem so!

Using tmutil compare to show the changes between the latest snapshot and the current state of the disk, I am told that most of, if not all, my files had their UID or GID changed. Here is one line from ...
1
vote
1answer
35 views

Create symlinks in time machine backup?

I have a time machine backup /Volumes/MyTimeMachine/Backups.backupdb/MyMachine. Exactly as Apple creates a Latest symlink pointing toward the latest snapshot, I would like to create symlinks toward ...
0
votes
0answers
47 views

Why won't my mac OS boot after installing UBUNTU?

I installed ubuntu from a bootable USB drive and now when i turn on my mac Book pro, it straight up opens ubuntu without asking. When i press the alt/option key on start-up it shows only the efi boot ...
1
vote
1answer
369 views

Endpoint has been activated through legacy launch on Mac Mini

Asking this here as I don't think it's a Linux problem. My Mac Mini sits on a desktop and is the 'central authority' for all of my backups. I have nine Linux virtual machines on a server on which ...
1
vote
1answer
21 views

What process is using UDP port?

I am trying to install a server that needs to use the port 3052 and it's not working. I have a feeling another process has that port. I see: % netstat -anv | grep 3052 udp4 0 0 *.3052 ...
0
votes
1answer
39 views

Which filesystems support symbolic links?

I'm copying a big archive of files from a Linux host to an external USB hard drive, that will then plug into a macOS host. The copy should preserve the archive's many symbolic links (ln -s). What ...
2
votes
2answers
248 views

Can't open a PDF from Terminal on Mac because it ‘couldn't get a file descriptor referring to the console’

I tried to use the command: open <filename.pdf> but the message I got was Couldn't get a file descriptor referring to the console What can I do?
0
votes
1answer
60 views

bsdtar gives (Empty error message) when trying to extract an ISO

On High Sierra 10.13.6 (17G65), trying to bsdtar -xf something.iso fails with: bsdtar: (Empty error message) bsdtar: Error exit delayed from previous errors. I have plenty of disk space left and ...
3
votes
0answers
994 views

MacOS Startup Disk error: “Running Bless to Place Boot Files Failed” (triple boot, MacPro 4,1 -> 5,1)

My question is, how do I add a (properly-booting) Ubuntu volume to High Sierra's "Startup Disk" Menu? Running MacOS High Sierra, Windows 10 (Legacy, not EFI), and Ubuntu 18.04 (triple-booting on a ...
1
vote
0answers
100 views

su -fm nobody asks for “Old Password”

Why would "su -fm nobody" prompt to change the nobody password on one MacOS system but not on others? I am curious about this because system scripts such as locate.updatedb that run as the ...
1
vote
0answers
234 views

hfs-bless / Booting into MacOS / Windows directly from Ubuntu (triple boot, MacPro 4,1 -> 5,1)

Currently I have MacOS High Sierra, Windows 10 (Legacy, not EFI), and Ubuntu 18.04 triple-booting on a 2009 MacPro 4,1 (firmware upgraded to 5,1). I installed Ubuntu after Windows using the procedure ...
1
vote
0answers
51 views

Is there a way to run Linux partition as virtual machine through VMWare?

VMWare Fusion allows its users to install/run the Bootcamp partition as a VM on OSX, which is super awesome. I recently not only created a Bootcamp partition with Windows 10 and successfully used ...
3
votes
2answers
661 views

Is it possible to install macOS onto external SSD on a Mac running Ubuntu?

Currently I am running only Ubuntu on my MacBook Air. Many have suggested I reinstall or install macOS on an external drive in case I ever need to troubleshoot, or in case something goes wrong. How ...
1
vote
1answer
203 views

How to install GNU base64 on Mac OS X?

I'm trying to run linux scripts on the mac, but even brew's updated base64 doesn't support -w0. I want something close to base64 (GNU coreutils) 8.22 Instead of base64 1.5 from brew or the unknown ...
1
vote
0answers
65 views

Display emoji faces for correct & wrong commands in terminals

I want to customize my terminal to display emoji faces, showing sad face for wrong command and happy face for right command that I enter. Is there any way that I can do this using my terminal bash. ...
13
votes
3answers
2k views

How to create MacOS/*nix command explainer text like this using a tool?

┌── ln(1) link, ln -- make links │ ┌── Create a symbolic link. │ │ ┌── the optional path to the intended symlink │ │ │ if omitted, symlink is in ...
1
vote
1answer
63 views

*Persistently* disable password authentication in SSHD

I want to be able to SSH in to my mac. I do not want to be able to use passwords to authenticate. I know how to configure this, what to put in /etc/ssh/sshd_config. But every time I install even a ...