questions narrowly about terminal.app alone should use this tag. Please consider using **command-line** for any question not specifically about the native terminal app

learn more… | top users | synonyms

1
vote
0answers
41 views

Start application with environment from a terminal session

I use nvm to manage my node versions. Now i have to type nvm use stable to let nvm set my path variable like this ...
1
vote
0answers
34 views

El Capitan Terminal.app keeps showing overlay

New terminal in El Capitan keeps showing this annoying overlay with tmux commands describing my current tmux session. How do I turn it off?
1
vote
0answers
112 views

How to change the “Recovery HD” partition to type “Apple_Boot”?

Typing in the terminal diskutil list gives me this... /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme ...
1
vote
0answers
93 views

How to set up routing tables on OS X to redirect VPN traffic?

I am trying to setup route table on my OS X machine so regular internet traffic doesn't go through VPN but only specific destinations will be targeted via VPN. When I connect to VPN it creates new ...
1
vote
0answers
34 views

hdiutil convert not working and not telling me why

I've been trying to create a bootable Ubuntu flash drive following instructions from multiple sites. I need to convert the .iso file to an .img using hdiutil. For starters, the syntax of the command ...
1
vote
0answers
53 views

Messed up 3TB Fusion Drive Partitions (on iMac Late 2012)

I found one of the threads around here where you helped some guy with getting the Fusion drive back together after a failed attempt of using the Bootcamp on a Mac machine. Messed up 1TB Fusion Drive ...
1
vote
0answers
62 views

How to Change default fallback font (for non-latin languages)

System: iMac running El Capitan 10.11.1. My question is: How do I change the default fallback font for Thai (or any non-latin language for that matter) so that the terminal app shows the Thai font of ...
1
vote
0answers
17 views

Automating VPN switching

I can us a VPN app like tunnelbear to appear to be in other countries, but is there a way to do this in a bash script or applescript? I want to be able to run automated tests on my iOS apps (in the ...
1
vote
0answers
29 views

Terminal deleting additional letters, submitting different typed in letters and returning different previous commands

I'm trying to use my terminal to play around with some code (particle.io), I've never used it much before but it's acting in strange way that's making it near impossible to use, there's three things ...
1
vote
0answers
17 views

How to see the commands echoed on the Terminal?

Maybe is a silly question but I'm a newbie in OS X and I didn't found the answer anywhere. The thing is that when I execute some command that executes other scripts/commands/whatever I don't see on ...
1
vote
0answers
25 views

Scrolling Behavior in Terminal

Until recently, when I scrolled in my terminal, it scrolled through the history. However, recently that behavior changed and now it scrolls through the command history. Where is the setting to change ...
1
vote
0answers
40 views

plutil returns error when a string numeric key is used

I'm trying to insert a row to a plist by using the following command plutil -insert "160" -string "hi" file.plist However the system was not so happy about the fact that I was using a numeric key ...
1
vote
0answers
44 views

How do I access sshd log messages that are in system.log with /usr/bin/syslog?

I am aware that messages on OS X are usually logged in the ASL database which then (based on asl.conf) are also written into files like /var/log/system.log Based on this comment I tried (and failed) ...
1
vote
0answers
82 views

Fixing multiple Users permissions

In a classroom environment after a month without issues all of the sudden everyone is getting locked out of their folders, including my local admin user. What works is logging into each user, ...
1
vote
0answers
144 views

Command line tool for interacting with Bluetooth Low Energy devices, similar to gatttool

I've just found out that some Python code I've got working on Linux also needs to work on OSX. For reliability reasons, on Linux I've been using a cludgy but effective approach to reading and writing ...
1
vote
0answers
32 views

Bash add Symbolic Link to Finder sidebar

Can I programmatically add a symbolic link to the Finder sidebar. Manually dragging is not an option. Bash is preferred, but other options that can be invoked from bash (i.e. application with ...
1
vote
0answers
113 views

How to disable mouse acceleration without logging out?

I know I can type in the terminal: defaults write .GlobalPreferences com.apple.mouse.scaling -1 to turn off mouse acceleration BUT this requires me to log out and log back in to take effect. The ...
1
vote
0answers
29 views

Mysterious Self-Originating File with the one-charcter name “:” (colon)

There's a file in my /users/myName that has appeared out of nowhere. It's named ":" in Terminal, "/" in Finder. It may be deleted (either drag and drop to trash or rm in Terminal) but will reappear ...
1
vote
0answers
212 views

nsurlsessiond downloads too much data

I did this command in terminal and got this results. Is anything suspicious here that why nsurlsessiond is hugging the bandwidth? (I have turned off iCloud Drive and Stuff) sudo lsof | grep ...
1
vote
0answers
91 views

How can I check my wifi connection for a long time period (a day)

I want to find a way to test my wifi connection between my macbook pro (yosemite) and my router because I have some evidence (lag in games) that the wireless connection has problems. I am using the ...
1
vote
0answers
144 views

Non-debug qlmanage

I've got a bash alias set up in my terminal, alias quicklook='qlmanage -p ', in order to easily quicklook files from the terminal, but the output bugs me. Testing Quick Look preview with files: ...
1
vote
0answers
113 views

How to run Continuity Activation Tool from Recovery HD's command line?

I use Continuity Activation Tool to enable Continuity on my early-2011 13" MBP with an upgraded AirPort card. However, El Capitan's Rootless feature has forced me to use a modded version of CAT that ...
1
vote
0answers
111 views

“Unable to unmount volume for repair” message about reformatted (and empty) SSD in “Option/ALT startup”

I am trying to reformat a Samsung 512GB Pro with bootable USB, and I have managed to get through the prep for the USB so I'm in no need there. But after the "Option/ALT startup" I click on the USB to ...
1
vote
0answers
118 views

Mac Terminal (+bash +tmux +set-o vi) missing characters at end of line

Often when editing a historical bash command in vi mode (after pressing ↑), and then moving backwards in the text using b. When I begin editing the text after pressing i or a, the extra text I insert ...
1
vote
0answers
86 views

Set environment variable for iCloud Drive path

Foreword Setting env vars on Yosemite seems to be really a pain, but I've managed doing it thanks to this clever way: ...
1
vote
0answers
341 views

Terminal Failing to login

Suddenly, when I attempted to create a new terminal window, it fails. It does nothing for about a minute then shows only this: Login incorrect login: Typing in my username doesn't work. I get the ...
1
vote
0answers
28 views

In bash script, how to have a script that runs in the background and starts when an application is opened

I'm making a script which should run when I open Safari. I want it to open when the user logs in and run in the background, then have part of the script to run when Safari opens. Is this possible in ...
1
vote
0answers
205 views

Cannot create hidden user in Yosemite

I am currently trying to make a hidden user on Yosemite. I have tried to follow tutorials from this site, however when I run the command sudo dscl . append /Groups/<real_name> GroupMembership ...
1
vote
0answers
105 views

How to set the colour of a folder with a specific name on mac terminal?

I am using these four lines in my .bash_profile file to enable colouring on my mac terminal (Mac OS Yosemite). export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " ...
1
vote
0answers
131 views

Problem with Livestreamer after updating Python to 3.4

After upgrading to Python 3.4 i get this message when trying to use livestreamer: /usr/local/bin/livestreamer: line 3: __requires__: command not found /usr/local/bin/livestreamer: line 4: import: ...
1
vote
0answers
338 views

Full screen always enabled when opening app in OS X Yosemite

How can I set my Macbook Air to always open new apps in full screen mode? Some apps already do it (Mail for example), but others are always opening as a small window, especially Safari when I close ...
1
vote
0answers
188 views

Changing color of text in terminal for program output

This might be answered already but I could not figure out a good way to phrase it to look for an answer so I hope you'll bear with me. I want to change the color of the text output on Terminal if it ...
1
vote
0answers
80 views

Terminal appears to ignore autoproxyurl setting

I can't get easy_install to install anything as it complains it gets a connection refused.: Searching for BeautifulSoup Reading https://pypi.python.org/simple/BeautifulSoup/ Download error on ...
1
vote
0answers
177 views

How can i delete a partition in Terminal when I can't simply combine because 'The given partitions are not on the same whole disk'?

Before I partitioned my HD, the only one I had was "Macintosh HD". The partition created one called "Macintosh HD2" I used terminal to erase "Macintosh HD2" somehow, but it returned as "Untitled." ...
1
vote
0answers
36 views

How do I locate and disable background PGP and Kapersky start up programs?

I had to uninstall Kapersky by deleting the application but the item still shows up on my task bar when I restart. Also, I have PGP installed on my mac, but when I telnet to port 25 of another ...
1
vote
0answers
57 views

can't commit network settings via command line

I'm writing a Python script that changes network settings with commands like networksetup -setv4off 'PANTECH UML295' and networksetup -setdhcp 'PANTECH UML295'. When I enter these in Terminal, I enter ...
1
vote
0answers
76 views

Changing iterm2 Terminal Color

Is there a way to bold the color of the current active terminal tab in iterm2? I do not see an option to do that on the appearance tab of preferences. I know I can change the tab style, but I still ...
1
vote
0answers
115 views

Create Iso from directory

I'm trying to create an iso from a directory on my computer. I've tried using both the Disk Utility method and just Terminal but I keep getting Operation not permitted errors regardless of my method. ...
1
vote
0answers
269 views

I get this error when running sudo dd if=/dev/zero of=/dev/rdisk# bs=64k in Terminal

I'm following the steps explained in this answer: sudo dd if=/dev/zero of=/dev/rdisk# bs=64k but get an error dd: /dev/rdisk2: Input/output error 1+0 records in 0+0 records out 0 bytes transferred ...
1
vote
0answers
155 views

Can't delete files from remote Buffalo drive, “Permission Denied”

There are several files on a remote Buffalo drive that I can't delete. I'm using a Mac (OSX 10.9.5) and Finder reports the drive's filesystem as "SMB (NTFS)". I have tried from the GUI and from ...
1
vote
0answers
91 views

How to Hide All users from fresh boot With FileVault 2

With System preferences>Users & Groups> Login options> display login window as "Name and Password" normally you need to type out the user name and password to sign in. With FileVault2, when ...
1
vote
0answers
225 views

Problems with a simple shell script

I've faced with the problem of using simple shell commands like AWK and print within my sh scripts on my Mac ( the same script works perfect on the Linux). For instance below script which seek for the ...
1
vote
0answers
103 views

How to disable a specific sensor within a .kext?

I have a Macbook Pro 13" Retina, mid 2014 with a "right palm sensor" that is malfunctioning. It thinks that the computer is overheating, and it therefore is causing the kernel_task to eat up 250% - ...
1
vote
0answers
43 views

Searching/opening filer from network location using terminal

I am creating .sh script that will open smb://location/foder. The location contains a lot of folders that are being constantly created, and every time when I navigate I need to open different folder. ...
1
vote
0answers
62 views

Is HISTFILESIZE behavior different in Yosemite?

For a long time I've used the HISTFILESIZE environmental variable to control the number of lines that get written to my terminal history (the default of 500 is not enough; I set it to 10000). Ever ...
1
vote
0answers
31 views

Can I get less(1) to display the final line, without selecting it?

When less(1) is looking at a file with a long name, pressing = updates only the final line on screen. For example, with the Terminal window at 80 columns and 27 rows (the default, I think), if I do: ...
1
vote
0answers
39 views

Finder's akward filesize behavior

Updated my os from Snow Leopard to Mountain Lion a week ago and noticed strange filesize info inside 10.8.5's finder. The info on filesize/foldersize in 10.8.5 is different from 10.6.5. While a folder ...
1
vote
0answers
775 views

Yosemite displaying the blue and grey screen of death

I have a late model 2011 MacBook Pro, and I upgraded to Yosemite two weeks ago. Yesterday I was working in After Effects on some pretty big movie files when the laptop screen just went black. Now ...
1
vote
0answers
65 views

Terminal 3 failed password attempts

I've got a really funny issue with my Mac at the moment. I was using a sudo command and it rejected my password 3 times (I double checked and the password was correct) but now I can't do anything as ...
1
vote
0answers
243 views

Change Managed, Mobile Account Password through script?

Wondering if anyone has worked with something similar before - we have a number of Mac laptops connected to an Active Directory server, and on first login users create a Managed, Mobile account. When ...