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

0
votes
0answers
12 views

How to set a folder as an time machine backup?

I updated my MacBook Pro and it now it won't boot. I am using my hard drive in an enclosure and an external hard drive to extract the data from the SSD that's inside the Mac. The HD that's in the ...
0
votes
0answers
9 views

Mount AS400 share on OSX 10.10 missing files

Running 10.10.x and trying to mount to our corporate IBM AS400 share via: mount -t smbfs "//user:pass@192.168.10.43" /Volumes/AS400 Works, however if I navigate to the folder I need ls /Volumes/...
0
votes
0answers
37 views

Virtualbox passthrough USB token From Commandline

I need to change ownership of a USB token from the host to the Guest Virtual machine in VirtualBox - without removing the token from the Mac. I have it working that you can start up the VM and then ...
0
votes
0answers
19 views

Merge system and terminal clipboards

I experienced an issue starting from few days ago. I cannot copy/paste (cmd+c cmd+v) from the terminal to other programs anymore, the opposite holding true. For instance, let's say I open my terminal,...
0
votes
0answers
5 views

Stop per directory zsh_history zsh 5.2

I must've goofed and changed an ENV. Any directory I'm in a zsh_history is created of any commands done in that directory. config: zsh 5.2 oh-my-zsh No plugin to cause this. I tried reverse ...
0
votes
0answers
33 views

Air Apps for Mac OSX: Code object is not signed at all

I have already developed and published several Air Apps for Mac OSX before. The last one was published on the Mac App Store in July 2015 - everything worked fine back then. This week I've finished ...
0
votes
0answers
27 views

alternative to Dterm for quick terminal

I love Dterm but it is no longer maintained. Is there an alternative? I also use Alfred's term launcher and iTerm but those are not as efficient for context sensitive one liners.
0
votes
0answers
23 views

Help fix my xampp/mamp/mysql installation

I've installed xampp,mamp on my iMacbook air running OSx 10. At first they seem both running well, but several months later, there are a lot of problems going on and they seem interwined. I can't ...
0
votes
0answers
14 views

Certain Icons with a Specific Size on desktop

Is there a Terminal command or setting to edit the registry of a Mac to change the size of a specific icon on the desktop (not all) smaller or larger? This feature would help me organize my mac and ...
0
votes
0answers
70 views

How to factory reset a broken mail app via terminal OSX El Capitan?

I opened my mail app this noon I wanted to send an email, as usual I clicked on the compose email button I wrote my mail and sent it. Now after that the mail app started acting strange. It switches ...
0
votes
0answers
33 views

Extract Icon of File using Terminal

I need a way to extract the icon image of a file or directory and save it as a PNG or JPG, using the CLI. For example, if the file were a PDF document, the extracted image would be of it's icon: the ...
0
votes
0answers
29 views

Why does my terminal in Macbook show this message? What should I do to preclude that message?

Last login: Mon May 23 11:29:54 on ttys000 -bash: /Users/karthy/Library/Enthought/Canopy_64bit/User/bin/activate: No such file or directory
0
votes
0answers
42 views

programatically reload Safari extension

How can I programatically reload extension I created in Safari? This image shows the reload button that I manually have to click every time I update my extension: Any way to this is programatically?...
0
votes
0answers
25 views

How can I undo sysctl commands?

I was troubleshooting an issue connecting my PS4 to my MAC to share my VPN connection and I typed this into my terminal: sudo sysctl -w net.inet.ip.forwarding=1 sudo sysctl -w net.inet.ip.fw.enable=1 ...
0
votes
0answers
23 views

replace folder using Terminal

How can I replace a folder using Terminal? I tried this, but this code copies the folder, but it doesn't replace it when the folder is already present. Is manual deleting before copying the only way? ...
0
votes
0answers
10 views

Screen Sending EOL After Each Character

I just connected my Anthem AVM20 audio/video controller to my Mac Mini via an USB to RS232 cable. I've been able to bring up a screen session. The problem is that it appears to be sending some sort of ...
0
votes
0answers
28 views

How do I make terminal windows STAY the same size?

I have set up my terminals, so that they are the size I want them to be. However, I often have several tabs open in each window. Terminal keeps trying to make the window BIGGER when I get too many ...
0
votes
0answers
44 views

-p: command not found - Automator help needed

I'm using Automator to run a shell script for taking an interactive screencapture and opening it in Preview for easy annotation. When running the script it fails and states -: -p: command not found. ...
0
votes
0answers
12 views

Is there something like Alt-SysRq-k in Terminal?

What I mean is whether there is something that kills all processes in the current tty
0
votes
0answers
10 views

How to Replace TextMate's Search by Custom Function?

TextMate uses currently mdfind as its search (CMD-F) which is bad/unstable/useless/... with .tex files. I would like to replace it by my own search function. How can you replace TextMate's default ...
0
votes
0answers
46 views

Open new Terminal window with home directory set to current directory?

I want to programatically open a new Terminal window. I've setup a custom profile in the Terminal preferences and exported the profile. I can open a new window with that profile by calling it ...
0
votes
0answers
72 views

In Terminal, how do I run a curl command to POST data?

I'm using OS X Yosemite and having trouble running curl to POST data to my local server. Below is the command I'm running and the response: localhost:myproject davea$ curl --header "...
0
votes
0answers
64 views

Get result of Terminal tab do script via commandline

I've seen similar questions like this but none seem to deal with getting the result from a specific Terminal tab? I'm writing a Chrome extension to do some awesome stuff. Right now I'm just trying to ...
0
votes
0answers
33 views

Use Terminal to echo a Messages chat

What script/command could I use to echo a readable format of my messages with someone? Is there any way to echo the chat.db as a table for that one person who I am chatting with?
0
votes
0answers
31 views

saving / restoring the NVRAM

I need to find a reliable way to save and restore the contents of NVRAM Would it be correct: Preservation nvram -x -p > ~/nvram.xml Recovery: sudo nvram -x -f ~/nvram.xml Thanks in advance ...
0
votes
0answers
50 views

How to Have Stereo Macro in OS X Vim?

OS X Terminal Emulator with Custom Escape Sequences I am not sure if OS X terminal emulator is sufficient for the escape sequences. Current cursor on line of path in Vim etc ./InfectiousDiseases/1....
0
votes
0answers
40 views

Can I boost the Wi-Fi on my Mac in the Terminal?

I run Yosemite on my Mac. Recently the Bluetooth was skipping and I found an answer on here that said to run this command in Terminal, defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min ...
0
votes
0answers
57 views

Encrypted Seagate 5TB External HD Unable to Mount

Been roaming informational posts all over the web about similar situations and I see it's a common issue but none of the solutions seem to work. This is my wife's external hard drive which she stores ...
0
votes
0answers
110 views

LSOpenURLsWithRole() failed with error -600 when opening html file from terminal

I created a new test.htm file in my homedir, and when I type open test.htm it switches to Firefox, just opens an empty tab (my file does not appear), and the terminal says: LSOpenURLsWithRole() ...
0
votes
0answers
26 views

Blocking applications from terminal?

I want to disable Safari because I end up using it to waste time on sites like youtube. I use Stayfocud and Leechblock on chrome and firefox, but there isn't anything good for Safari (WasteNoTime is ...
0
votes
0answers
499 views

Terminal Error: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug - Unable to Repair Permissions

I'm getting an error when I open Terminal saying: login(495,0x7fff77186000) malloc: *** error for object 0x7f8cdad0b780: pointer being freed was not allocated *** set a breakpoint in ...
0
votes
0answers
45 views

Is there a way to check the system details of a Macbook against a database?

If you run system_profiler SPHardwareDataType in Terminal on a Macbook you get information like so: Hardware Overview: Model Name: MacBook Pro Model Identifier: MacBookPro8,3 Processor Name: ...
0
votes
0answers
17 views

Make Background Terminal Window

Is it possible to make a terminal window the "background" in OS X El Captain? I've looked at several applications. For example, TotalTerminal, but it is defunct.
0
votes
0answers
46 views

change HTTP headers of Chrome and Firefox

Browsers send HTTP Accept headers. This is an example of one: text/html, */*; q=0.01 gzip, deflate en-US,en;q=0.8,sl;q=0.6 You can get yours here. How can I change curent headers from terminal app ...
0
votes
0answers
32 views

change firefox proxy from terminal

How can I change proxy for Firefox from Terminal app? Not the whole computer proxy settings (the ones in Network tab), but just Firefox's.
0
votes
0answers
39 views

How to sort a list of files ordered alphabetically to a list ordered numerically?

I'm trying to split large .csv files into several smaller ones ordered numerically, i.e., "File.csv" into "file_1.csv, file_2.csv, file_3.csv...". When I use the command: split -l 100000 File.csv ...
0
votes
0answers
177 views

El Capitan Mac: /usr/bin/login tries to run /bin/false

Just upgraded from Yosemite to El Capitan, and I started out with an Emacs problem: it wouldn't launch from the Emacs.app icon, complaining that it couldn't find /bin/false. I tracked this down to ...
0
votes
0answers
29 views

Fresh OS X install, cleanly manage terminal applications going forward

I just got a new Hard Drive and installed a fresh copy of El Capitan on it. I'm a computer programmer and use a ton of terminal commands. Is there anything I can / should do now that my computer has a ...
0
votes
0answers
18 views

Odd behaviour for long commands after styling the terminal

After putting the following statements on the ~/.bash_profile file: # STYLING THE TERMINAL # References: # - http://apple.stackexchange.com/questions/33677/how-can-i-configure-mac-terminal-to-have-...
0
votes
0answers
33 views

curl isn't outputting what it used to

I had programs that relied on using curl in the terminal (bash) and one day thy just stopped working. I realized this was because the output of curl had changed for some reason. I thought maybe the ...
0
votes
0answers
57 views

OSX Activity monitor (energy) shows terminated terminal app with high average energy impact

I use my macbook like desktop (always connected to electricity) 95% of the time, so I never noticed this before. However, I had to use it on battery last few days and it surprised me how short the ...
0
votes
0answers
23 views

What happens to programs like node, npm or grunt that has been installed globally after os x reinstall?

I have huge problems with the kernel_task. I have a Mid-2015 15" rMBP with discrete GPU. It really annoys me when kernel_task goes 400% 500% CPU and I could not solve this problem. I want to reinstall ...
0
votes
0answers
7 views

Adding Aspshell user account via terminal

Good Day, I'm new in Mac OS X (Maverick). I want to add user account (standard user) with aspshell via terminal. Any tips? Thanks.
0
votes
0answers
25 views

How to Extract ENVI picture details for Matlab?

I am studying pictures where I need to separate psf images with sufficient ENVI header file for the function multibandread in Matlab SIZE = [LINES, SAMPLES, BANDS] SUBSET = {DIM, METHOD, INDEX} X = ...
0
votes
0answers
69 views

I have no Internet access in Terminal!

I am using OS X El Capitan 10.11.3 and the ZSH Shell. Here's what I get when I try to ping any server: ❯ ping google.com PING google.com (172.217.16.78): 56 data bytes Request timeout for icmp_seq 0 ...
0
votes
0answers
19 views

Connecting to WPA Enterprise with Terminal

I have two WPA Enterprise login credentials, and I find myself having to disconnect the wifi, and reconnect as the different user. I have done a little look through, and I found that it is possible ...
0
votes
0answers
22 views

New shortcut for going up one line in Terminal in El Capitan

I upgraded to El Capitan a few days ago. Before I used to use ⌘+⬆︎ to go up exactly one line in the terminal (and usually pressed the combination continuously to go exactly were I wanted), but this ...
0
votes
0answers
29 views

Sending text to a Terminal or iTerm2 window?

How can I send text to a Terminal or iTerm window? I'm presenting a demo of some multi-user software and would like to create several windows, programatically sending (different) text to each one, ...
0
votes
0answers
84 views

Remove All Illegal Characters from All Filenames in a Given Folder and subfolders

I Know this was was basically answered on the net and using automator with the shell script (Sanitize Filenames) works great, but I need it to also do all subfolders as well. And if possible trim the ...
0
votes
0answers
9 views

How to get out of this default folder static-30

I recently installed apache ant on my macbook. I think the installation didn't go well. Whenever I go to my terminal now the home folder is static-30 How to get rid of this?