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.

0
votes
0answers
18 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 ...
2
votes
2answers
2k views

Right click in Ubuntu Virtual Box guest VM is not working

I am running Ubuntu in Virtualbox in Mac OS. I found that rightclick in the guest Ubuntu, by tapping the trackpad while pressing ctrl key, doesn't work. E.G. it doesn't show the menu for file ...
0
votes
1answer
492 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 ...
3
votes
1answer
50 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
59 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,...
8
votes
2answers
5k views

Adding a song file to iTunes via the command line without playing the file

I want to add song files to iTunes via the command line. open -a iTunes -g song.mp3 does exactly this. - However it starts playing the song, too. Any way to avoid this?
0
votes
0answers
19 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 ...
1
vote
1answer
821 views

Broken MacBook boots grub

I had installed a Ubuntu partition on my Mac, but last night the keyboard broke, so I was trying to reinstall Mac OS from the recovery mode and accidentally wrongly deleted all the partitions my Mac ...
0
votes
1answer
69 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 ...
0
votes
0answers
27 views

Install Linux on a MacBook Pro 8,1 running Windows 7 only

I've installed Windows 7 on my MacBookPro 8.1 through Bootcamp some time ago (and removed macOS in the process). Now I would like to change it into a dual-boot system to work with both Windows 7 and ...
3
votes
2answers
918 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
0answers
28 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
259 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.
0
votes
2answers
135 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. ...
1
vote
1answer
5k views

How to configure “DiskImageMounter” like in /etc/fstab?

Today I wanted to check the /etc/fstab on macOS and found that there is no /etc/fstab anymore. Ok, maybe its a long time since I've used it on OS X but i was always sure that the OS X had not too many ...
1
vote
3answers
3k views

Install Windows 10 or 8.1 on MacBook 4,1

I need some help getting Windows up and running on my Early 2008 Macbook. It does have a weird set up, but I think it's possible. All I have is a 16gb SanDisk USB drive. So, here goes. I was ...
1
vote
1answer
52 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
1answer
77 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 ...
30
votes
6answers
31k views

How to remove caps lock delay on Apple MacBook Pro aluminum keyboard when booted to Linux

Apple's MacBook Pro has a slight delay on the caps lock key. That is, the caps lock key has to be held down slightly longer than normal to register the key press required to engage the caps lock. ...
2
votes
1answer
44 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
25 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 ...
9
votes
9answers
51k views

How can I transfer large files from Linux to iPad over a cable or wifi?

I am looking for a way to transfer large files to the iPad without using iTunes or pushing to and pulling from a remote server. I run an Ubuntu laptop as my only OS at the moment and want to be able ...
0
votes
0answers
13 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?
-1
votes
1answer
46 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 ...
1
vote
1answer
27 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)....
2
votes
1answer
755 views

How do you stop wtmp from erasing?

I track user login times on a couple of shared computers running OSX 10.10.5 using the last command in terminal. It seems after updating from 10.9 the wtmp file gets frequently deleted and only show a ...
1
vote
1answer
3k views

How to uninstall wget

I recently installed wget on my Mac using the instructions listed here: http://osxdaily.com/2012/05/22/install-wget-mac-os-x/ and lorcan's instructions here: How do I get "wget" for Snow ...
0
votes
1answer
62 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
64 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 ...
1
vote
3answers
485 views

Ubuntu HUD in Mac OS

Is there and app or something that gives Yosemite the functionality that Ubuntu HUD has - search menu for items? I am switching to Mac from Ubuntu. Even thou I was on Ubuntu Linux for only a few ...
0
votes
1answer
53 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 ...
0
votes
1answer
44 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/...
1
vote
3answers
78 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 ...
160
votes
5answers
116k views

How to replace Mac OS X utilities with GNU core utilities?

I found there is some differences between the utility command I used on the mac OSX and linux. I want to make my experience united. How could I replace all my mac utilities with GNU utilities?
2
votes
2answers
390 views

what is `tput rmam`

tput rmam turns off line wrapping on the terminal.app I always forget this command, because I never figured out what rmam stands for. Anybody knows?
51
votes
6answers
75k views

File can't be moved by root on OS X

I tried to move a few files to a subfolder on OS X. One refused to move. It said Operation not permitted. I tried again as root: $ sudo mv file subfolder/ mv: rename file to subfolder/file: Operation ...
3
votes
1answer
584 views

Can I run an eGPU on a Linux Partition of a Macbook Pro?

I'm hoping to do some machine learning / tensorflow tasks with my eGPU, but after it arrived today, I realized that tensorflow discontinued support for Mac NVIDIA GPUs. I'd like to install a Ubuntu ...
0
votes
0answers
101 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
171 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 ...
17
votes
4answers
17k views

Cross-Platform File System file sharing between MAC, WINDOWS, LINUX?

I've a laptop with triple boot, Yosemite, Windows 8.1, CentOS 7, and need a partition for sharing files between the 3 os's, i've been using exFAT, as it is supported by OSX & Windows but had some ...
9
votes
2answers
23k views

Installing Ubuntu on Mac with macOS and Windows already installed

I have a dual-boot MacBook Pro late 2013 with macOS Sierra and Windows 10 (BOOTCAMP) already installed. I want to install Ubuntu as a third OS. Is there any (easy) way to do it? > Disk Partitions:...
1
vote
1answer
17 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 ...
2
votes
2answers
300 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 ...
0
votes
0answers
38 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 ...
1
vote
2answers
753 views

Map keyboard key to unix command

Simple I am looking for a way to map a keyboard key to a unix command. It could be as simple as literal as opening up terminal and pasting a required bit of text.
0
votes
1answer
498 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?
2
votes
1answer
139 views

my local development /etc/hosts redirect works only on chrome

I am confused why my host name in /etc/hosts works for Google Chrome only. Not on Safari, not on Firefox, not from command-line tools like curl. ## # Host Database # # localhost is used to configure ...
0
votes
1answer
39 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 /...
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 ...
0
votes
1answer
20 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 ...