All Questions

Tagged with
Filter by
Sorted by
Tagged with
3
votes
1answer
38 views

How to stop Terminal from using special characters?

When I'm using arguments with quotes in the Terminal, the quote is first highlighted and then changes to a special character when certain characters are entered after it. For example trying to type "...
0
votes
0answers
26 views

caffeinate command keeps terminating

I'm trying to use the caffeinate command to prevent sleep on a Macbook. It keeps running into the error "Terminated: 15". Does anyone know how I can troubleshoot this? Usually it works, it happens ...
1
vote
1answer
19 views

Adding smb printer through terminal

Goal: Add a domain printer just through the terminal without using its IP address. Following the instructions here: https://dae.me/blog/1826/add-a-printer-via-command-line-in-os-x/#comment-256587 I ...
1
vote
0answers
35 views

curl-config --ca returns a blank line, and other cert problems

This is a repost/update of this question on stackoverflow, which didn't get any attention so I'm trying a more specific stackexchange. My problem was originally that Cargo (Rust's dependency manager) ...
1
vote
1answer
37 views

Getting an error when formatting a thumb drive

Inside of Terminal.app, I'm trying to format a thumb drive and I'm getting the following "error": does not appear to be a whole disk The line I typed in was the following: sudo diskutil ...
2
votes
0answers
38 views

trying to erase external SSD that is only seen in terminal

I have a SSD drive that was removed from a MacAir and placed into an eclosure. I must have screwed up the directory by deleting files from the drive and not dismounting it because the drive is ...
3
votes
2answers
122 views

How to remove or rename a folder with a “bad” name on El Capitan?

On my iMac I have a folder, left from preceding systems, named "ZipIt 2.2.2␀". I cannot delete or rename it, nor delete the files it contains, both from the Finder and from Terminal. Looking at this ...
0
votes
1answer
931 views

Unable to format Mac internal drive (disk0)

I have an macbook air late 2008 running osx El capitan and I wanted to erase my driver and reinstall the macos. So first i booted into recovery mode and tried formating my hard dive in disk utility ...
1
vote
1answer
1k views

gnuplot warning: “plotting with an unknown terminal”

I'm trying to use gnuplot on my MacBook Air (Mac OS X 10.11.3). I have installed XQuartz by using homebrew after I installed gnuplot (with this YouTube video: https://www.youtube.com/watch?v=AR-...
2
votes
1answer
456 views

How to revert launchctl PATH to defaults?

There are many questions and commentary about using launchctl setenv PATH /path/to/include in order to have GUI apps inherit user-specified paths. I did this about four years ago, and the changes I ...
2
votes
4answers
168 views

Subtract files in folder A from folder B

I've got folder A with 8000 images and folder B with 9000 images. Folder B contains the 8000 images from folder A as well as additional 1000 images. I would like to delete the 8000 images which are ...
0
votes
1answer
109 views

Why isn't my system producing an audible system beep in iTerm2 or Terminal?

I want to be able to hear the system beep. Normally, this can be done by running any of the following commands in OSX: echo -e "\a" printf "\a" tput bel Running these commands in the standard ...
1
vote
1answer
988 views

Speed up sleep (disable com.apple.powermanagement.darkwakelinger)

From terminal I see that PreventUserIdleSystemSleep assertion takes 15 second before actually sleep. Is there any way to eliminate it, or at least set delay to 0/1 sec? 2017-06-09 23:36:15 +0500 ...
0
votes
1answer
80 views

How to gain access into /etc/networks/loopback file from terminal?

In the terminal I am typing: sudo vi /etc/networks/loopback , but I am getting a permission denied inside the vi editor. The /etc/networks file has this inside: ## # Networks Database ## loopback ...
1
vote
0answers
371 views

Problem with Symlinks for Moving Mail Data Folder to an External Drive

I am using the Terminal App in El Capitan 10.11.6 I have moved my, "Mail" Folder to the following location: /Volumes/ST-Cuda-4T/AppleMail/Mail From the following location in the Terminal I have ...
2
votes
1answer
27 views

New Terminal At Folder service in El Capitan doesn't use my Terminal profile settings

I have my Terminal preferences set to use the "Pro" profile. When I launch a Terminal session from the dock, it uses the "Pro" profile (black background). However when I launch a Terminal session from ...
1
vote
0answers
70 views

Reverse IP lookups return default reverse domain pointer

Whenever I query ARPA for the reverse entry for an IP through the host command, I get a correct lookup result at first. Example: MacBook-Pro-van-William-David:~ server$ host brc.nw1-ams1.mcxpro.nl ...
10
votes
1answer
4k views

How to drag window from anywhere on the window without using the title bar?

I have made iTerm borderless, like this: So, how can I move the window from anywhere inside the window and not just the title bar?
0
votes
0answers
68 views

Strange UNTITLED Volume appeared

Whilst trying to format an SD card through terminal I noticed that a "strange" volume named UNTITLED existed in /Volumes/ as shown below (line 7): sh-3.2# ls -al /Volumes/ total 8 drwxrwxrwt@ 5 root ...
2
votes
2answers
814 views

How to raise verbosity of Installer.app?

I'm having troubles with the system installer (/System/Library/CoreServices/Installer.app) where certain things are not installing and are not providing sufficient details in /var/log/install.log. I ...
2
votes
1answer
2k views

Is it normal to have the home directory under git?

I've just found out that my home directory is under the supervision of Git, i.e. there's a .git folder in my home directory. My questions are: Is it normal that my home directory is under Git? If ...
1
vote
1answer
3k views

Whenever I open the Mac Terminal it shows “no such files or directory”

Whenever I open my Mac Terminal something goes wrong. I am getting: -bash: USERNAME: No such file or directory This issue started to happen suddenly. I don't have any clue why it is happening.
2
votes
0answers
50 views

How to make Terminal app tab labels static?

I'd like to have arbitrary labels that i create for each Terminal tab static. No matter what is going on inside terminal tab. Something like this: But Terminal app keeps it changing on some events... ...
3
votes
2answers
7k views

How to get a list of available `defaults write` terminal commands for OS X El Capitan (expert / superuser) [closed]

Note: A high level of technical knowledge will be required to understand and answer this question comprehensively. I would have posted in stackoverflow or linux/unix but the question seemed off topic ...
3
votes
2answers
14k views

What is the equivalent of ipconfig/displaydns (and flushdns) in OS X?

I need to find how to display my DNS cache on the mac. I have tried multi Google searches but failed to come up with a good solution. The best I found was how to remove the cache with the command ...
0
votes
1answer
466 views

How to prevent Mac OS X El Capitan from automatically switching desktop when new application is launched

I use multiple desktops to multitask between applications because I like using full screen mode. My problem is sometimes I run a command in Terminal that launches other applications. Whenever a new ...
0
votes
1answer
891 views

What is the usr/local default chmod?

I just changed accidentally /usr/local chmod to 775 and I want to set it to the default value again. What is the default chmod for /usr/local in OS X 10.11?
2
votes
2answers
4k views

Java application won't force quit, prevents shutdown

I think there might be an issue on El Capitan with Java applications force quitting, because I've seen multiple people talk about similar problems to this with no actual solutions presented. I've ...
3
votes
2answers
2k views

Why running lldb with HomeBrew Python 2 installed produces ImportError and NameErrors?

I had upgraded vim with HomeBrew to version 7.4.1952 on OS X 10.11.6. It installed python 2 as a dependency package (Summarized parts of output is shown by ...): $ brew upgrade vim ... ==> ...
1
vote
1answer
520 views

Core dumps aren't generated in El Captain

I used ulimit -c unlimted in terminal to get core dumps in the /cores folder. However, after reboot (kernel panic) I no longer can get any core dumps regardless what I try - ulimit -c unlimted or sudo ...
0
votes
1answer
76 views

I am not able to hide the “Split pane bar” in terminal

This thing never exited before. All of a sudden it started showing up and I hate it. Can some one help me remove this please. I am running 10.11.5 OS X
9
votes
2answers
12k views

Git auto-completion not working on Mac OSX 10.11.5 El Capitan

I have tried the examples found here to get Git auto-completion working on El Capitan, however none of the examples work for me. I installed bash-completion with Homebrew (brew install bash-...
0
votes
1answer
68 views

How do I prevent Terminal.app from capturing Cmd/Ctrl/L?

Following the instructions at http://www.techrepublic.com/blog/apple-in-the-enterprise/handy-screen-locking-tips-for-mac/ I've set up a keyboard shortcut to lock my screen by hitting Cmd ⌘ Ctrl ⌃ ...
4
votes
1answer
482 views

OSX El Capitan reset the number of Spaces

Is there a way of "resetting" the number of desktop Spaces in Mission Control in El Capitan? I'm working on a previous co-workers Mac Pro, and somehow mission control has....325 desktop Spaces... I ...
0
votes
1answer
372 views

ICMP packet with a negative round trip time?

I often keep a ping running in my Terminal so that I can pop it up to keep an eye on any network issues in our office. Recently, I ended a long-running ping session and noticed in the summary ...
-1
votes
1answer
222 views

Refreshing env variables by sourcing not working

I installed torch in my MacBook Pro (running El Capitan). Now for using torch, I've to refresh env variables. Official torch document asks me to run source ~/.profile. But the terminal is showing No ...
1
vote
1answer
2k views

How to enable a disabled User Account on a MacBook Pro running OS X El Captain?

I disabled a User Account in the System Preferences > Users & Groups > Right-click on a User > Advanced Options... > Login shell: using: /bin/false Now the disabled account is visible in the ...
5
votes
1answer
2k views

Terminal.app and tmux session, can't use “open” command (without tmux it works)

I use Terminal.app and a tmux session. > open -a VLC file.mp4 The window server could not be contacted. open must be run with a user logged in at the console, either as that user or as root. ...
0
votes
1answer
779 views

Command-line keychain access not showing any results [duplicate]

I have been trying to learn to control my computer through command-line, and keychain access is what I am trying now. I have been using the security command, and attempting to get my wifi password (I ...
4
votes
1answer
3k views

How do I remove bookmarks from Terminal window?

With El Capitan, the Terminal app can automatically create marks, and bookmarks. However, there seems no obvious way to delete a bookmark that one's created (by accident). How can one delete a ...
0
votes
1answer
65 views

Trying to delete an application that always says it is open (in this case AVG AntiVirus.app)

This is the troubleshooting I've done so far: Went to Applications>Utilities>Activity Monitor and force quit the process. Shortly after doing that AVG shows up again in activity monitor. I went to ...
1
vote
1answer
103 views

output of the who command

I am trying to understand the output of the who command. When I add the -H flag to print the headers, the second column ( the one signifying the users logged in) is titled LINE. I am trying to ...
0
votes
2answers
97 views

El Capitan can´t see or remove partition but it shows up in Terminal

EDIT: managed to reformat the partition to JHFS+, after accidentaly creating another partition i merged the new and the old one i dint want, then it let me merge all of them together. I created a ...
0
votes
1answer
83 views

Ignore global shortcuts when using iTerm

I'm using tmux in iTerm2. To resize the tmux panels, I think I'm supposed to press Ctrl+b+Arrows. For example, if I press Ctrl+b+Down, it shows all the windows in the current app, probably because it ...
5
votes
1answer
6k views

How do I configure a global hotkey for iTerm 2?

I'm a new OSX user, and I've used Linux for the past 1.5 years, and I really can't live without dropdown terminal. So I googled, and came across this question: iTerm as a slide-out terminal from the ...
9
votes
1answer
13k views

Can't write to /usr even with sudo

Here's my problem: sudo php -d detect_unicode=0 go-pear.phar ...should let me run as root and modify /usr & /usr/share directories, but I get this: Below is a suggested file layout for your ...
2
votes
2answers
453 views

How to Change USB Thumb icon using Terminal or Bash/other scripting language

I'm looking for a method to change USB or External Drive Icon using bash or any other command line method. I know how to manually chnage them like this I am using El Capitan
2
votes
4answers
1k views

In Terminal, how can you determine which shell is actually running?

Using Terminal on OS X 10.11.4, initializing Terminal opens a new window running bash (by default). As I understand it, inputting echo $SHELL should output the shell that said command is submitted to. ...
3
votes
1answer
107 views

Send args to Firefox when launching from terminal

Additional arguments on start of Google Chrome from Terminal app are send in a following way: open /Applications/Google\ Chrome.app --args -myArgs="ARGS" What is the syntax to sending arguments to ...
1
vote
4answers
2k views

How to make Terminal open every new tab in the “Homebew” profile?

I really like Terminal's "Homebrew" profile (black background with green front, instead of the default white background with black font), so I set it as my default profile. This makes it so that when ...