Questions about the command line and other Unix-like aspects of Mac OS X, including the Mach/BSD-based kernel and FreeBSD-based userland. You may want to consider using Ask Different instead.

learn more… | top users | synonyms (1)

0
votes
1answer
23 views

Can a Mac mount a Debian install CD?

Working on OS X Yosemite (v10.11.5), I'm unable to mounst a Debian installer ISO (debian-8.5.0-amd64-CD-1.iso on Debian download page). I get this error... $ hdiutil mount debian-8.5.0-amd64-CD-1....
0
votes
1answer
53 views

/Library: Operation not permitted when logged in as root user

Im trying to install Jekyll on El Capitan, however I do get permissions error, as you'll see from the screenshot. I am logged in as a root user. Any advice appreciated. UPDATE: After suggested ...
0
votes
1answer
24 views

Can't type AltGr characters in the OSX Terminal

I probably messed up something and I can't type tilde and brackets in my terminal. I'm on Mac OS X but I thought this has something to do with Emacs that I use just from yesterday for an online course....
1
vote
2answers
25 views

Install package on OS X 10.11.5 using apt-get

Problem: I am trying to figure out whether it is even possible to install the software GTK Vector Screenshot, which can be found here: https://wiki.ubuntuusers.de/Gtk_vector_screenshot/ https://...
4
votes
3answers
40 views

Ensure less clears screen

Is there a way to ensure less clears screen on exit? The opposite of less -X. The screen is not being cleared when I exit a man page in iTerm2, however the screen is cleared when using the default ...
8
votes
4answers
891 views

Why can't I pipe `pwd` to `open` on macOS?

This is macOS specific, but seems too unixy to go in the Ask Different community. In Terminal, I can pwd, copy the result, and type open and paste the result and the folder will open in the Finder, ...
0
votes
4answers
37 views

How come dd only outputs when I press Ctl+t? [duplicate]

This is with OSX. When I run this in a terminal scottcarlson$ sudo dd if=Downloads/CentOS-7-x86_64-Everything-1511.iso of=/dev/disk2 2> Desktop/out.txt and then this in another tail -f Desktop/...
0
votes
1answer
15 views

MacOS X: Missing File & Data Dictionary

After I cancelled syncronization between my Mac and MEGA, my local target dictionary became empty. However, after I used du to acquire the disk status, I found my data are moved to ./.debris/2016-07-...
1
vote
0answers
11 views

Why total swaps and page faults/reclaims is empty in ps?

I'm running the following command: sudo ps -axo nswap,majflt,minflt,command | sort -nr | head which suppose to print total swaps in/out, total page faults and reclaims. But for given >400 ...
0
votes
1answer
41 views

How to deal with high number of page faults?

I've got ~200000 page faults per second and I think it's a huge number and it affects the overall system performance. I'm using MBP with 16G of RAM. How to deal with such number of page faults (...
0
votes
0answers
16 views

Change location of executable [duplicate]

I wanted to install x264 cli encoder on OS X. I copied the downloaded binary to /usr/bin/, changed permissions and voila - it worked. Then I decided to be a smartass. So I deleted the file and ...
1
vote
2answers
50 views

Unable to delete files through Terminal

More recently, I have been using rm -r /path/to/file to delete files, but when deleting from certain locations, I get the error: override rw-r--r-- root/admin for filename? I have tried entering y, ...
0
votes
1answer
14 views

How to install mcu8051ide on Mac OSX?

I tried to install mcu8051ide on Mac OSX, but I faced to some problem of package dependency. Please see the error message below. $ mcu8051ide --check-libraries MCU 8051 IDE v1.4.10 Checking ...
1
vote
1answer
36 views

sed error: “\1 not defined in the RE” under OS X

my question is: how to remedy the error yielded by the last command below, under OS X 10.10.5? $ ls foo* foo123bar.pdf $ for f in foo*; do echo "$f" | sed -E 's:foo:bar:';done bar123bar.pdf $ for f ...
0
votes
1answer
15 views

Understand the nslookup output.

nslookup returns the following output on mac: www.yahoo.com -> 46.228.47.115, 46.228.47.114, 2a00:1288:110:2::4001 As I understand following IPs in DNS map to www.yahoo.com: www.yahoo.com -&...
3
votes
2answers
65 views

How do I download a file from a host i'm already connected to over ssh [duplicate]

I'm trying to download a file from a linux server i'm already connected to. I know you can use scp to connect to and pull down a file from a host, but that requires still being on local. I could scp ...
6
votes
1answer
101 views

Cannot exec /bin/false: no such file or directory

I'm trying to open GNU Screen with the following command on my Mac OS: host:~ user$ screen The screen terminal opens but quickly dies with the error message: Cannot exec /bin/false: no such ...
4
votes
5answers
72 views

terminal command | grep IP

ifconfig -a | grep 10.16 inet 10.16.x.xx netmask 0xffffff00 broadcast 10.16.x.xxx inet 10.16.x.xx netmask 0xffffff80 broadcast 10.16.x.xxx I have replaced the numbers with x My aim is to ...
0
votes
0answers
14 views

My Macbook retina with Linux Mint out of battery, black screen on boot

I was using the computer when suddenly the power in the house shut down without me noticing. Then after a while when my computer shut down off battery loss, it now wont boot. Before it shut down I was ...
1
vote
2answers
40 views

How can I run Linux in a VM on a Retina MacBook Pro in Hi-DPI mode?

I use a Retina MacBook Pro. I run Linux in virtual machines for development work. I occasionally use the Linux GUI directly in the virtual machine, but most of the time I ssh (with the -Y parameter) ...
0
votes
1answer
55 views

Installing elinks on OSX

I am trying to download the text based browser elinks by following this video https://www.youtube.com/watch?v=A2gzn8QAlWA but I could not because the terminal gave me the error "sudo: apt-get: command ...
1
vote
0answers
53 views

Windows 10 vs. Mac OS as a hypervisor [closed]

I am a developer working with GNU/Linux. However I am required by my workplace to have either a Macbook running OSX, or an a Lenovo running Windows 10 as my work-station. The sole use for those will ...
4
votes
3answers
402 views

How can I determine the OS within .bash_profile? [duplicate]

On my main machine, a MacBook Pro, I have a .bash_profile file that I'd like to use unaltered on my Dreamhost linux machine. However, there's a few lines that are only applicable to macOS, such as ...
3
votes
3answers
58 views

How to install section 5 of man pages?

man tar works and in the SEE ALSO section it references tar(5) but man 5 tar outputs No entry for tar in section 5 of the manual. My primary goal is to get those for my OS X laptop. But I've seen ...
2
votes
0answers
51 views

Unicode issue when ssh'ing from GNOME Terminal to OS X

When I ssh from GNOME Terminal (tried different 14.04/16.04 distros, currently on Mint 18) to OS X, I have a unicode issue, e.g. the prompt is not properly displayed. On OS X, I have bash 4.x as a ...
0
votes
1answer
26 views

Learn the base of security and defend myself from external attack [closed]

i would like to learn and work on internet security, because thia is a world that is in continuos change and id like to improve myself on it..anyone can help me linking site or PDF where i can study ...
1
vote
1answer
62 views

Live/bootable Kali linux from partitioned USB Hard Drive (Mac/OS X)?

I'm trying to boot Kali on a Mac from an external drive's partition (GUID Partition Map). The drive has 3 partitions, and I have data on the other 2 (that won't fit on my internal drive). I want ...
0
votes
0answers
20 views

FFTW Installation Error

I'm a newbie to Linux and I am trying to install FFTW-3.3.4 on my Mac OSX as a single precision. I am doing ./configure --enable-float but it gives me error as follows: checking how to get verbose ...
0
votes
1answer
46 views

Can rsync be used to make only hard links, not copies? [duplicate]

I'm working on a system to automatically back up my computer using rsync and the Google Drive app (I have a Macintosh computer). (This app creates a directory whose contents are saved to the Google ...
0
votes
0answers
45 views

key load error on trying to ssh to server [closed]

I get the following error when trying to ssh into a server running Mac OS X. The client is also running Mac OS X. ssh -v server.lmd.edu OpenSSH_6.9p1, LibreSSL 2.1.8 debug1: Reading configuration ...
0
votes
1answer
67 views

No manual entry for git

I'm able to use man git when MANPATH is set to the following: $ echo $MANPATH /usr/local/opt/findutils/libexec/gnuman:/usr/local/opt/coreutils/libexec/gnuman: However, when it doesn't include the ...
0
votes
1answer
11 views

Can I VNC directly into my “Linux Deploy” from OS X?

I use Linux Deploy to run desktop Linux distributions on my Android devices. The way it works is the I start the system in the LD app, and then I go to VNC Viewer on the same device to get a GUI. ...
0
votes
2answers
55 views

Shutdown as a Mac

I have a iphone app that can remotely shutdown a mac computer. I would like this app to shutdown my Ubuntu computer. I'm getting following messages from the application when trying to shutdown: When ...
0
votes
0answers
28 views

Another El Capitan permissions issue

Been to the depths of the web trying to repair my Mac HD and Home folder permissions. I would like to get back to default setup without losing user data. Any and all help is appreciated. Can't run ...
0
votes
0answers
22 views

Functions for general backups creating on OS X

I'm trying to create 2 aliases for fast and easy backup of files or folders on OS X. I currently have this: backup () { if [[ $# -ne 1 && $# -ne 2 ]]; then echo "Invalid ...
0
votes
1answer
11 views

Since when Disks statistics in `top` command are counted?

I've got these disk statistics shown in top command: $ top | head | tail -n1 Disks: 1095425909/52T read, 1016012571/52T written. It's quiet high number for only 37 day uptime. Are these numbers ...
1
vote
2answers
44 views

Regarding equating file attributes in “ls” command

I have a folder in which there are thousands of images. Of those thousand images, I want to bring together all those images whose “Last created” and “Last modified” attributes are exactly same. ( In ...
0
votes
0answers
34 views

VMware Mac OS X 10.11 on Ubuntu Shared Connection Problem

I've just installed Mac OS X El Capitan 10.11 on my Ubuntu host pc and I cannot connect to the Internet, when I go to settings in Mac OS it just displays no ethernet connection is found. How can I ...
0
votes
2answers
29 views

How to take a screenshot of the X virtual framebuffer display?

I would like to take a screenshot from Xvfb display server. I already tried: xwd -root -silent -out screen.xwd but I can't read this file and I couldn't find any software (via Homebrew) which can ...
3
votes
1answer
24 views

Can't use global shorcuts for Python applications

I'm using bash on a Mac. My problem is every time I try to run an installed Python application I just get a message that the command can't be found. Like so: -bash: gcloud: command not found Doesn'...
0
votes
2answers
47 views

Grub menu on reboot after removing another distro partition

I just acquired a macbook air. I dual-booted mac os with Ubuntu. It is my first time multiple-booting on a mac. I triple-booted with another Ubuntu. Ater removing the third distro, I experience some ...
1
vote
2answers
103 views

What exactly is terminal? What is shell? [duplicate]

I know about Linux terminal. I can also issue many advanced commands over terminal. But one simple concept is not clear to me. What is terminal and how does it work? I know about hardware which ...
0
votes
0answers
20 views

Linux-live-USB boot on Intel MAC - Unetbootin / need help!

I am able to make a "linux-live-usb" and boot successfully on MAC by using Mac OS X Disk Utility to partition the USB (GUID partition table) and then using UnetBootin(on linux) to copy the ISO over, ...
1
vote
2answers
36 views

How can I log how often a file is modified on OS X?

I would like to know which files in my system I access most often, as a gauge of how important they are. I know the OS records the last time the file was accessed. Is there someone way to log in a ...
1
vote
0answers
21 views

openldap Fedora 22 - apple.schema and now for the mount section

Hej there! how do i make the correct ldif file for mounts ? i found this old webpage but i get errors trying to create it i'm useing mac OS X as openldap client and it' not mounting the /home at all ...
0
votes
1answer
36 views

Pass filename from find and execute command

I'm trying to write a script which finds certain files and executes a command with the files it finds. Doesn't sound too hard, but I'm having a lot of trouble getting it to work. Basically this is ...
1
vote
0answers
31 views

Pipe long running process to clipboard on mac

I have a seemingly long running process (the lg cli debugger) and when I run it it prints out a uri to access the spawned debugger. I'd like to pipe this to my clipboard (pbcopy on mac) so I don't ...
1
vote
1answer
38 views

Trying to create a bootable usb drive for kali linux

I was wondering how I create a bootable usb kali linux drive for mac. And when I create one, is the usb drive a temporary os, like every time you plug it in it switches to kali linux and when you ...
0
votes
0answers
17 views

installed (brew) Privoxy on El Capitan and didn't do config changes - is there a security and privacy benefit?

I installed privoxy with brew and changed system wide proxy settings for HTTP and HTTPS. I didn't configure anything with privoxy. Just default. I use multiple layers of security controls, so in ...
0
votes
1answer
65 views

Weird user in shell

I use iTerm on OS X 10.10 When I start iTerm I get the weird user unknownA988274AC:~ myUserName$: That was not there before. Before there was myUserName$: Any ideas where that comes from?!