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
0answers
19 views

key load error on trying to ssh to server

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
0answers
31 views

man can't find git entry in tmux

On OSX 10.11.5, I can open a terminal and type man git to view the git manual. When I'm using tmux, however, and I type man git I get an error: $ man git No manual entry for git It looks like tmux ...
0
votes
0answers
7 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
46 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
17 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
21 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
35 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
24 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
16 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
23 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
35 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
94 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
11 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
35 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 ...
0
votes
1answer
35 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
29 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
26 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
10 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
63 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?!
0
votes
1answer
13 views

Switching from a downloaded version of python to a Homebrew one

I've recently decided I'd like to switch from my downloaded versions (as in downloaded from python.org) of python 2 and 3 to Homebrew installs. I've installed both python 2 and 3 from Homebrew using a ...
4
votes
2answers
182 views

SSH broken pipe, message authentication code incorrect

I have set up a Ubuntu server that I plan on using to backup my macbook air using rsync. But every time I use rsync, or even scp, the connection drops, with one of the following errors: ...
-4
votes
2answers
101 views

What is wrong in this code? [closed]

The code is ; cm=$1 nm=$2 case $cm in "out") declare -a en declare -a inf ec=$(grep -n "! " hw1_out_si_wire.txt) IFS=$'\n' en=($ec) lst=$((${#en[@]} -1)) IFS=' ' inf=($en[$lst]) echo " Energy: ${inf[...
0
votes
0answers
12 views

The included VM could not be uncompressed (GZIP/UNCOMPRESS)

I have a .bin file to install Bladelogic NSH console and I want to install it in my OSX(Capitan). When I execute the .bin file in the Terminal I get the following error: Preparing to install... ...
0
votes
0answers
27 views

Ctrl+D toggles the OSX dock but I want it to be passed to the terminal [migrated]

I'm new to Linux and have been playing around with manipulating files with cat ie. cat > randomNames Albert Einstein Marie Curie Isaac Newton now when I want to quit cat with control + D on my ...
2
votes
0answers
47 views

find - No such file or directory albeit it exists

I run the following command on a directory: find . -name "*.pyc" -type f -delete however it prints this find: -delete: unlink(./tests/unit/framework/__init__.pyc): No such file or directory for ...
0
votes
0answers
51 views

Does `find` return directories that are not on the file system?

I'm trying to identify where the python site-package matplotlib is installed on my computer. I ran find ./ -name matplotlib at the top most directory (called the root, no?) and was returned the ...
2
votes
0answers
19 views

How can I tweak unix settings for 360 Spatial Workstation to make it not run as admin?

I'm having issues installing, in a group environment, a program caleld "360 Spatial Workstation" also known as FB360 now in collaboration with a team at Facebook. The systems are OSX 10.11, facing ...
1
vote
0answers
26 views

Typing { } on Debian in VirtualBox on OSX [closed]

I have a OSX with VirtualBox and a virtual machine with Debian. In the virtual machine I'm not able to type those brackets {}. Any help ? I have an Italian keyboard on my Mac.
1
vote
0answers
21 views

How to build GTK2 on the Mac OS X EI Captain?

I tried to build GTK2 to Mac OS X EI Captain from source code. But by the environment variable (INCLUDE?), an error occurred and I failed to build. Please help me by advices? Doesn't someone have the ...
1
vote
3answers
43 views

how to spawn a separate process in the background while running a foreground process

e.g., I want run a python -m HTTPSimpleServer in the background while running a watch in the background python -m HTTPSimpleServer; watch -n (my awesome test command) how can I run both in ...
2
votes
2answers
72 views

find command, is there a way to get a progress report?

firstly please forgive my lack of knowledge of Unix - that's why I'm here after all. I've created an AppleScript which searches for files on a Mac and have greatly improved the speed by using the ...
0
votes
0answers
19 views

getting wrong order of files with ImageMagick and *.png [duplicate]

I am using ImageMagick to concatenate files which I have named 1.png to 50.png. However the files are arranged in the wrong order going 1.png, 11.png, 12.png ... instead of 1.png,2.png ... It must ...
2
votes
0answers
41 views

cd with double slash hangs forever on Mac OS X Terminal

If I type cd // on the Mac OS X Terminal (Version 2.6.1 (361.1)), the prompt hangs forever. Why? Curiously that doesn't happen if I do cd / or cd ///. I am using El Captain with the bash that comes ...
1
vote
1answer
122 views

Why kernel may be throttled?

My MBR start freezing up for over hour and I've found that my kernel reported being throttled, e.g. (this is just a sample for 2 seconds) $ sudo fs_usage | | grep -i throttled 12:26:45 THROTTLED ...
1
vote
1answer
17 views

Why does `hostname.local` resolution fail

I have a number of Linux machines, all with avahi running and a few Macs, all on the same local network. I often use ssh between pairs of machines, using hostname.local as the address. Most times ...
1
vote
0answers
20 views

El Capitan 10.11.15 can't set disk with OS as startup disk, only boots if I reset nvram

Mac Pro (Mid 210) Since installing El Capitan on new HGST 6T drive I can ONLY boot this system by resetting NVRAM. If I try to restart I get apple, progress meter, then circle with line through it ...
2
votes
2answers
43 views

xargs on OSX: illegal option --

I'm on OSX. I want to run a python script against all pngs in a particular directory. This is what I've tried: find docs/ -name "*png" | xargs --replace=F python myscript.py "F" But I see this: ...
1
vote
1answer
31 views

Zip files served by nginx do not open on Mac OS X [closed]

I have a Windows machine where I zip my files using a gulp script, and upload them to my Linux machine in some directory under nginx. The files download and open properly on Windows, but when I ...
2
votes
2answers
69 views

How to Find LaTeX generated PDF files?

I need to find LaTeX Generated PDF files because I want to find those files made by me. I think find could possibly work here. OS X El-Capitan I run Ulrich's proposal find BitTorrentSync/ -exec ...
1
vote
1answer
35 views

install gnu command

I have the command split installed. However I need the '--filter'argument, which is supported by gnu's split command. SO I need to install gnu split. How do I do that on my mac? I tried $ brew ...
3
votes
1answer
22 views

Cannot ping OUT of a Mac OS X server

I have just inherited a Mac OS X server that is using pf. The problem I am trying to solve is why I can't ping OUT of the server. I can ping to the machine no worries, but just get timeouts on pinging ...
4
votes
1answer
56 views

Why grepping with color doesn't return anything?

I've got the following foo.txt file: This is the first line. This is the middle line. This is the last line. And I'm trying to grep the middle line just by the word middle and return the ...
0
votes
1answer
28 views

Why am I receiving the error: “sudo: update_prebinding: command not found” on the command line?

One of my applications won't open so I'm trying the first thing to do on this website: http://www.cnet.com/news/tutorial-what-to-do-when-a-mac-os-x-application-will-not-launch/ But I am getting an ...
0
votes
0answers
37 views

Cannot ssh into server through VPN

I'm trying to ssh into my university server via vpn (PPTP). I'm on an Mac OSX 10.11.4. (El capitan) Unfortunately, I get the following error: Adams-MacBook-Pro:~ adamG$ ssh gadam@xxx.xx.xx.ac.uk ssh:...
-1
votes
1answer
33 views

tmux not printing ANSI colors in status bar

I'm using Mac OSX Yosemite, and I use istats to get CPU temperatures: I wanted to put my CPU temperature in my tmux status bar, so I made my tmux config the following: As you can see, when I ran :...
6
votes
3answers
471 views

A lot of “._” files inside a tar

I have a tar that was generated on a linux machine. I need to upload part of that tar to another linux machine. The full tar is huge and will take hours to upload. I am now on a Mac OSX machine and ...
0
votes
0answers
40 views

wakeonlan: cannot wake up ubuntu server 16.04

I can wake up ubuntu server 16.04 from my iphone using WOL. I tried to do the same thing from mac osx yosemite. couldn't get it work. first I installed wakeonlan. "brew install wakeonlan" then I ran ...
0
votes
1answer
34 views

Is there a minimal POSIX shell for OS X?

Is there a minimal POSIX shell implementation for OS X? I like to write fairly portable shell scripts and want to catch as many incompatibilities or bashisms up front as I can. I'm not intending to ...
0
votes
1answer
6 views

Netatalk users can't read World/Other readable files

I'm using Netatalk to share documents with several Mac machines. Regardless of what permissions I'm using for the file (typically 775 for folders and 664 for files) they can't be read by users in the ...