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
14 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
30 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
28 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
13 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 ...
0
votes
0answers
42 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
21 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
47 views

Is there anyway to use GNOME terminal on mac?

Can I download GNOME terminal on macos?
1
vote
3answers
118 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
72 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
79 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
0answers
14 views

Remove Xubuntu from a MacBook Pro and put OS X back on [duplicate]

My OS X version is 10.11.5 (el capitan). at that time, without considering it again, I immediately installed xubuntu on my mac permanently. Previously I had deleted my journal data on the disk utility,...
0
votes
2answers
43 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
17 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
23 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 ...
1
vote
0answers
37 views

Where is the framebuffer?

I am looking for the macOS location of Linux's /dev/fb0 in order to adapt the code in this Unix stackexchange answer and this article to macOS. I am on Sierra if that is relevant.
0
votes
0answers
36 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
171 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
19 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
23 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
118 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
36 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
503 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
41 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
147 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
25 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
504 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 ...
0
votes
1answer
98 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
33 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
44 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 ...
1
vote
0answers
10 views

Importing Linux and Windows Dual Boot from Parallels

I am looking at triple booting my Mac soon with macOS, Linux and Windows. I also want Linux and Windows available as a virtual machine. At the moment, I have Windows dual booted and have imported it ...
1
vote
1answer
25 views

Why is my mac sharing the macintosh disk, and home folder?

I have just fresh installed an ubuntu 18.04 on my desktop and decided to try connecting each other (my macbook pro) via SMB. To my surprise, when I connected to my mac, using my ubuntu desktop, the ...
2
votes
0answers
26 views

Recovering SSD after Ubuntu live USB corrupted partition table?

I'm running a mid-2012 MBP with a WD green SSD inside. I needed to install Ubuntu for university so I tried to do so via a live USB. While doing the installation I accidentally clicked on the option ...
0
votes
1answer
36 views

Pip wont update

Hi I am trying to update pip and receiving this error: egts-iMac-3:~ egt$ pip install -U pip You are using pip version 6.1.1, however version 10.0.1 is available. You should consider upgrading via ...
2
votes
2answers
77 views

What's a good setup to back up macOS data and restore to Linux?

Background I have an old MBP which works fine right now. I have no immediate plans to change it. But it is getting old, the discrete GPU died, and I expect it could die at any time. I would like ...
0
votes
1answer
92 views

Linux on My MacBook Pro - Want to erase Linux and reinstall macOS

I currently am running Kali Linux on my laptop. Currently I need to sell my laptop for some extra cash. I am looking to reinstall Mac OS, so it can be ready for sale. Keeping my current files is not ...
2
votes
2answers
106 views

convert an epoch date to human readable

echo "$some_string" | awk -F '|' '{print $1 $2}' $2 is a epoch date and I want to convert it to human readable. I tried doing date -r $2 but no luck. Thanks in advance.
0
votes
0answers
12 views

Triple boot and hybrid MBR [duplicate]

Currently my mac is running two OS, mac os 10.13.4 (High Sierra) and Windows 10. I would like to add Ubuntu to the mix. I found this awesome post (Installing Ubuntu on Mac with macOS and Windows ...
1
vote
1answer
33 views

Fastest way to filter a string

I'm working on a script that reads the header of some files (medical images), filters the data and then creates a file directory based on that data. But there are millions of images and I need to make ...
2
votes
1answer
65 views

How process hierarchy works in macOS

I'm wondering how Activity Monitor relates these two process if the child (Safari Web Content) doesn't have the ppid of the main one (Safari). pstree, which uses the ppid to organize the tree, shows ...
3
votes
2answers
66 views

How do I Find a string in a file and place a string above it?

I would like to find the String __MARKER__ in someFile.txt and place a String above it (e.g. Hello World!). How would I do that using sed? sed -i -e 's/__MARKER__/Hello world\n__MARKER__/' someFile....
1
vote
0answers
33 views

What could cause a huge spike in Unix System Calls for a process and how to debug

Computer Stats Mac mini (Late 2014) 2.8 GHz i5 8 GB RAM 10.13.5 High Sierra (upgraded from Sierra this week while debugging this issue) Background I recently noticed that a certain tab in Chrome ...
1
vote
0answers
28 views

How to boot some Windows LiveCD iso on Macbook?

I have a mid-2012 Macbook and got curious how do I boot a Windows-based rescue LiveCD from a USB stick? There are some projects like "Mac Linux USB Loader" - it loads a UEFI bootstrap on your USB, ...
4
votes
1answer
150 views

Switching to macOS from Windows/Linux [closed]

I am switching to macOS by getting a new MacBook Pro in a few days. I have never used a Mac before. Where can I look for short guide or video tutorials that teaches macOS to power users. I am a ...
1
vote
0answers
26 views

Remove Problematic File from Drobo5N (NAS)

For some reason I have some files on a Drobo5N, which is a NAS, that were copied over from my Mac. They have a filename issue: alpha:bravo:charlie.txt That filename structure messes with all of the ...
1
vote
0answers
14 views

Mac OS X El Capitan - SSH to Amazon Linux server keeps asking for my .ppk password, but no password is set for .ppk file

I have Amazon Linux server setup. I am unable to access it via my MacBook Pro (El Capitan). It keeps asking me for the password for my .pem file. Please find attached screenshot. Below are the ...
1
vote
0answers
151 views

Ubuntu: Can't boot Mac, only shows a Folder with a Question Mark?

Bodhi Linux and Ubuntu 18.04 install fine -- but whenever I try to install Ubuntu Server onto this older Macbook it doesn't boot. Instead I get a question mark: Wouldn't even know where to begin to ...
1
vote
1answer
66 views

How to install Linux on a macbook? [closed]

How do I install Ubuntu from DVD? it's a 13 inch macbook, late 2008. Intel core duo, 2GB RAM.