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

4
votes
2answers
262 views

How to access an external drive

I plug in a flash drive to my USB port. How can I access it through bash? ($ cd / takes me to the directory called Macintosh HD, but through Finder, I can go up one more directory called ...
0
votes
0answers
47 views

Why does setting CLICOLOR=1 not turn on colors for “ls”?

If I do ls -G, I do get the colors. From what I understood from the man pages, if I go into ~/.bash_profile and add export CLICOLOR=1 I would then get colors by doing just ls, as "This option is ...
0
votes
0answers
51 views

Cannot create a folder or access it at specific location on Mavericks

Cannot create a directory and can neither go into directory. $/Volumes/Iomega_HDD/Movies is an Windows NTFS file system mounted on my OS X Mavericks so in the Movies folder if I try to create folder ...
0
votes
0answers
139 views

Terminal - Crash at opening - pointer being freed was not allocated

I have an issue with my terminal since the installation of El Capitan. Every time i'm opening my terminal, this message appears and prevent me to using my terminal correctly : ...
2
votes
1answer
143 views

Terminal Sub-pixel Rendering improvement?

I recently noticed that the Menlo font is rendered differently in OS X El Capitan, depending on the application being used. After tinkering a bit with AppleFontSmoothing, I noticed that the crucial ...
1
vote
1answer
16 views

Terminal floats between desktops

On my mac, OS X Yosemite, if I have terminal open and multiple desktops the terminal window appears on all desktops. How do I disable this feature and have the terminal stick to the desktop it was ...
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 ...
0
votes
1answer
18 views

Is there a way to open terminal rather than terminal emulator? [duplicate]

I mean the system terminal, without the need for window manager and emulators... On linux that was achievable via ALT+Fx, but it's not like that for OS X.
1
vote
2answers
50 views

Shell script failing in Automator but works if I copy/paste into Terminal

Workflow I'm trying to achieve: Export SVG file from Adobe Illustrator to Desktop Drag SVG file from Desktop onto Automator Droplet Automator runs script (basic summary below) Script executes and ...
0
votes
0answers
21 views

How to see all services available for launching with launchctl?

I tried this on Yosemite: launchctl list but it doesn't show e.g. postfix which I have just launched with: launchctl kickstart system/org.postfix.master Is there any way of listing all the ...
1
vote
2answers
38 views

How can I run an unsigned script in Automator

I can run the well-respected perl script exiftool from the command line in Terminal and achieve the desired result, but when I incorporate it in Automator as a Service I get a generic error message ...
0
votes
1answer
86 views

Grayed out folder won't open in finder

I've never see this before. Here's the facts: It appears to be grayed out in the finder I can not open it by clicking I can move the folder The permissions are set to 777 (overkill i know) I can ...
1
vote
3answers
132 views

Terminal command to return network class

I'm trying to construct myself a primitive network scanner, and I understand that there are multiple network classes and it has become necessary for my program to determine exactly what class of ...
2
votes
0answers
23 views

How to debug .app that only successfully launches from Terminal?

Recently, my Dropbox.app stopped launching correctly. If I double-click on the app or try to launch via spotlight, the app just silently dies within a second. I see it show up in Activity Monitor, but ...
0
votes
1answer
35 views

Will the hard link file consume the same size of origin file?

already known that the hard link is just another name for linked file. But what upset me is that when select both the original file and the hard link file the size finder shows is doubled. So is it ...
0
votes
0answers
153 views

Unmute audio input (microphone) in OSX programatically

OSX 10.10.3, also reproducible on 10.8, doesn't seem to happen on 10.11 Reproduction steps Go to System preferences > Audio > Input Set input volume to 0 (this is important) Run this script in ...
0
votes
2answers
33 views

MAMP PRO uninstalled but Terminal commands still exist. How to remove them as well?

Source: To "uninstall" MAMP, you only have to delete the MAMP directory and everything returns to the original state I uninstalled MAMP using the Uninstaller from Applications/MAMP PRO. I ...
1
vote
1answer
74 views

Using gnuplot terminal on OSX

I just installed gnuplot and I am trying to set the default terminal. On the wikipedia page for gnuplot, there is an image with a graph: Which terminal view is shown in the image at the link?
1
vote
2answers
83 views

VLC command works in Terminal but not Automator

If I run this in terminal it works fine /Applications/VLC.app/Contents/MacOS/VLC -I rc http://open.live.bbc.co.uk/mediaselector/5/select/mediaset/http-icy-mp3-a/vpid/bbc_radio_fourfm/format/pls.pls ...
2
votes
3answers
27 views

Why is there a command-1 on top of my terminal window?

I had always noticed this on my Mac and was curious as to why it is there. What does it mean?
0
votes
1answer
81 views

Terminal “osascript -e” commands

What commands can be used with the osascript -e argument? I know of the command osascript -e "set Volume x" where x is 0-7. Is there anything else I can use instead of set or Volume? Or some ...
1
vote
2answers
40 views

Prevent terminal tabs from auto-renaming

I like to name my tabs when I'm using Terminal so I can keep track of what's inside of them. I do this using the inspector. Unfortunately, whenever I ssh into a machine, my tabs get renamed. Is ...
1
vote
3answers
49 views

How to combine unzip and cat to work as one in the terminal

I work for a webhost as a front level tech and often we need to install a SSL for a customer. I'm on a Mac now but am familiar with Linux as well. What I'm looking to do would be to take the zipped ...
0
votes
0answers
8 views

Terminal Not recognizing basic commands [duplicate]

My terminal has recently stopped recognizing simple commands such as tell, or cd. Whenever I type them in, terminal responds with :-bash command not found. Please help.
1
vote
0answers
64 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 ...
0
votes
1answer
617 views

Problems with installing Xcode on Mac 10.10.5 ( Locations - setting)

I have followed the steps for the installation from www.instalrails.com . After installing Xcode they say to check the Preferences -> Location and have ensure you have the command line tools - Xcode ...
2
votes
1answer
46 views

How do I replace an alias by the original file it is linking to?

I have a folder containing several alias for pdf's that each have > 200 mb. Each pdf is in a different location on my drive. I need to compress all of those files. What is the fastest way to do it? ...
2
votes
2answers
137 views

External hdd: Difference “Get Info” Available space and "About This Mac - Storage

OS X El Capitan. I have seen this thread, and it explains a bit (different reporting units), but there is an additional substantial discrepancy in the free HDD space of an external HD reported: Get ...
0
votes
1answer
64 views

Adding Line Break to Email Body Content of Mail.app Message Generated in AppleScript

I'm currently using the below script to send out an email with a specified subject, attachment, and body message: on run argv set theSubject to (item 1 of argv) set theAttachmentFile to (item ...
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
1answer
413 views

Strange output at end of terminal session in OS X El Capitan

Yesterday, I upgraded my MacBook Air from Yosemite to El Capitan. I am getting strange output at end of terminal session after upgrade. Last login: Mon Nov 8 11:12:50 on ttys000 My-MacBook-Air:~ ...
0
votes
0answers
36 views

MacMini Mid-2010 - About This Mac

I have a Mac Mini Mid-2010 with 4GB RAM, Intel Core2Duo P8600 Processor 2.4Ghz. OS : OSX 10.11.1 ELCapitan. When I run the following command in terminal I get the output as 2.4Ghz sysctl -a | grep ...
0
votes
0answers
23 views

Partition problems - No LVG detected in Terminal after BootCamp Erase through Disk Utility (I know, I messed up)

I'm very stuck trying to get my system to recognize a full HDD and run Yosemite cleanly after a poorly-executed BootCamp removal. Here's the steps in the process so far: I erased a Windows Partition ...
0
votes
1answer
63 views

How to re-install deb package from MobileTerminal (iOS) [jailbroken]

I am trying to run a command to re-install an already installed package. Here is what I see that gives me a clue that I am on the right path, but it doesn't install the package: su ****** apt-get ...
0
votes
1answer
58 views

Enable Terminal / iterm2 sound notification exclusively

Is there a way to enable the bell terminal and other sound notification from the terminal, while my "play user interface sound effect" setting is off ? I don't like to have any sound notification (I ...
0
votes
1answer
31 views

Terminal command ls/cd not finding any files on external harddrive

I'm having a bit of trouble with my external hdd and terminal. I've been able to access files on it via terminal in the past, but since I upgraded to El Capitan I can't seem to find anything on my ...
0
votes
1answer
101 views

Trying to install Windows 10 on early 2008 MBP without using the BootCamp Assistant

I have an early 2008 MBP, where I installed El Capitan. However I would like to split my HD and install Win10 as well. Since there is no direct support, it is quite difficult. I find this question ...
0
votes
1answer
31 views

finder menu “Services>>New Terminal at Folder” doesn't work

It opens a terminal at the user directory, just like clicking on the terminal icon does. I'm popping up a menu in Finder, on the folder, and the folder is outlined to indicate it is the subject of the ...
1
vote
1answer
36 views

How to install subordinate CA certificate into keychain from Terminal?

I'm a Windows engineer, setting up a Active Directory PKI, but know very little about Macs. I'm aware of how to install root certificates into the system keychain using: sudo security ...
1
vote
2answers
53 views

Shortcut key to open/apply profile in Terminal

When in Terminal, I use Cmd-, to open the settings. I can then press up and down to scroll through profiles. But then pressing enter doesn't open a new window with that profile but instead edits the ...
0
votes
0answers
30 views

What is libgio and how can I update my library?

I downloaded a plugin for gimp, but when I execute this, I get: Reason: Incompatible library version: gmic_gimp requires version 4201.0.0 or later, but libgio-2.0.0.dylib provides version 4001.0.0 ...
5
votes
2answers
3k views

How to “Secure Empty Trash…” (wipe free space) on OS X El Capitan?

Before OS X El Capitan, when viewing the Trash folder and pressing the "Alt" key you have been able to Secure Empty Trash... however this feature has been removed from OS X El Capitan! Does anyone ...
1
vote
1answer
50 views

Switch focus in split view

I know how I can have to apps open side by side in split view, but I have a slightly different case. I have two terminal windows open side-by-side, is there anyway I can quickly switch between them. ...
5
votes
1answer
1k views

Why does “ls -l” display the year of my (jar) file as “16:18”?

I was looking through my file system and noticed that the date of mysql-v5.jar is formatted incorrectly. ~/Dev/Lib$ ls -l total 29128 -rw-r-----@ 1 johndoe staff 2256213 Mar 16 2015 ...
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
2answers
53 views

The “python” CLI executable seems to ignore path hierarchy

I have the following strange situation on my (freshly installed El Capitan, otherwise empty) Mac. I noticed that /usr/bin/python defaults to python 2.7 (still), and the new SIP security system ...
1
vote
1answer
63 views

Conflict with my Mac user won't let me connect to my site's FTP

I realize this may be a weird thing to ask and that it doesn't make much sense, so I will clarify the issue here. It is a very bizarre issue that I do not understand why is happening and I do not know ...
0
votes
0answers
67 views

Command line app to change screen resolution with RETINA?

I'm looking for a command line app to change screen resolution. I've tried cscreen, screenresolution, and scrutil. The first two work to change resolution, but they do not enable retina scaling.
2
votes
1answer
4k views

csrutil: command not found

I am using a Mid 2012 MacBook and recently upgraded it to OS X 10.11 El Capitan. I was having trouble with it's new SIP feature and wanted to disable it. I tried to boot into OS X Internet Recovery ...
2
votes
1answer
203 views

iTerm2 output broken since upgrade to El Capitan

Since I upgraded my OS X to El Capitan (10.11) the output of iTerm2 is completely messed up. See this example screenshot (iTerm2 on the left, Terminal.app on the right): Update I'm using iTerm 2.1.4 ...