Stack Exchange Network

Stack Exchange network consists of 175 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 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.

-1
votes
2answers
207 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
38 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
21 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
11 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
64 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 ...
0
votes
1answer
31 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
36 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
44 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
69 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 ...
0
votes
0answers
23 views

What email program does iWatch use by default? [closed]

I'm trying to see what email program iWatch uses by default for sending out alerts after I define the contact email addresses for specific alerts. I don't see the mail program defined among any of the ...
1
vote
1answer
22 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
40 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
0answers
52 views

macports telnet command to use for email server check

I just installed inetutils using macports under macOS Mojave, Then I tried to use gtelnet command, to check my email server, but I get an error relative to the DNS resolution, of this type : "Server ...
0
votes
1answer
59 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
1answer
69 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
15 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
47 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
36 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 ...
0
votes
1answer
208 views

Easiest way to transfer files from iPhone to Linux?

What's the easiest way to transfer files from an iPhone to a non-Apple computer such as one running Linux?
0
votes
1answer
18 views

Ubuntu not booting after cloning (OSX and Kali)

the task was too simple - I had a 256gb ssd with OSX (apfs) and Kali (osx booted with Alt pressing and Kali booting on default - I suspect GRUB was operating). I think there was a problem after ...
0
votes
0answers
23 views

Reinstall vmware fusion and vm cannot run

First I explain why I reinstall vmware fusion: ubuntu on vmware fusion cannot detect my external hard disk. This forum tells me to reinstall the vmware fusion while my security is unlocked(for more ...
1
vote
0answers
30 views

How can I enable graphics on local macOS from remote Linux using SSH?

host: Ubuntu 64-bit local: macOS 10.13 64-bit I'm attempting to run a program on a remote Linux machine through ssh, and I want the GUI to appear on my local macOS laptop. When I execute ssh -v -X ...
0
votes
1answer
39 views

Modifying `whatis` to return error code for missing commands

Followup to "whatis" returns 0 for missing commands, I am trying to modify /usr/bin/whatis to return a non-zero exit code after an inappropriate command has been entered. My approach to ...
2
votes
1answer
390 views

Giving instructions to an executable in UNIX?

I'm pretty new at this, so excuse me if this is too easy. The thing is, I have a bunch of instructions stored in a text file named: 'FTIG_dldStruct.txt' and I want to write them all into an executable ...
1
vote
0answers
153 views

Making Uninitialized APFS Volume Bootable

Recently I installed Ubuntu on my MacBook Pro (Mid 2012) on a second volume. I wanted to change to the Ubuntu Volume through Startup Manager and used this tutorial to do so: Installing Ubuntu on Mac ...
2
votes
2answers
189 views

How can I create a new user through terminal macOS 10.14

I am trying to write a script to add a user to a computer. These will not be admin accounts and should be staff accounts. I ran the following script and can login to the account but I can't access any ...
1
vote
1answer
49 views

“whatis” returns 0 for missing commands

On macOS 10.14, using whatis on a command that is not installed prints 'command': nothing appropriate as is expected. But returns 0 instead of an error code, which I believe is expected behavior. It ...
0
votes
1answer
199 views

Why can I open a connection on port 80 for 0.0.0.0 but not other forms?

My understanding of Linux/MacOS (I think they are the same in this regard) port permissions is that ports 1-1024 are only available to root, but above that, they are available to anyone. However, I'...
1
vote
1answer
57 views

Any Pitfalls in Replacing gcc and g++ With GNU Versions?

I understand that Clang is the default and recommended compiler for MacOS. By default macOS has binaries for gcc and g++ in /usr/bin/ which are same as clang and clang++. What are the possible issues ...
0
votes
1answer
40 views

Removing Files after Successful Extraction unrar rm shopt globstar

shopt -s globstar for f in **/*.rar; do dir=`dirname "$f"`; unrar e "$f" "$dir" && rm -frv "${f::-2}*"; done From echoing out testing the rm command, the file is the correct path. I ...
2
votes
1answer
381 views

Finder shows different file size compared to terminal

I have a folder called 'objects' in my mac. When I check the contents of it in the terminal it's showing like this. Clearly object folder shows 4.1K However when I see it in the finder, It shows, ...
0
votes
0answers
47 views

Sort output of tmutil compare by file size

tmutil compare gives differences between two backups. But I wonder how do I sort the output by file size? With GNU sort, there is the --human-numeric-sort option for this, but the sort which is part ...
2
votes
0answers
575 views

macbook pro stuck in boot loop - recovery mode and safe mode not working

I have a macbook pro 2015 (8gb ram, running macOS mojave) stuck in the loading screen with the apple logo and the loading bar 100% completed. I tried leaving it for long periods of time. Resetting ...
1
vote
2answers
160 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
39 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
60 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
183 views

booting linux from external drive on mac

I had Linux installed on USB using pure EFI boot. I had been using this tutorial. Everything was working flawlessly to the moment of installing Windows using Mac Boot Camp. Now I don't see the EFI ...
0
votes
1answer
69 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 ...
1
vote
1answer
227 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
85 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
31 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 /...
0
votes
1answer
36 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
30 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
62 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
290 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
76 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 ...
2
votes
3answers
38 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
1k 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
88 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
0
votes
1answer
438 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 ...