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

How to check the progress of files moved from one place to another in terminal?

I am new to terminal. I started moving 30 gigs of data, from my desktop to my portable harddisk with the command mv location1 location2. The problem is, I cannot see, how much data has been ...
0
votes
1answer
6 views

Which application to replace Superputty / Putty CM in mac

Is there any application in MAC OS (Mac book pro) which can work like superputty / putty CM does in windows? I am looking for a free one. What I need is to organize my ssh sessions .. I can ssh to my ...
0
votes
0answers
19 views

How to move tabs in terminal

Every once in a while, I need to "refresh" my shell session by closing it and opening a new one. Unfortunately the terminal tab ends up at the very end of tab bar, so I need to move it back to where ...
1
vote
1answer
18k views

My Finder is not responding and there are no documents on Desktop after downloading OS X Yosemite

I've just upgraded my Macbook Pro (15 inch, mid 2009) to OS X Yosemite and it is running slowly and my Finder is not responding at all and none of my documents are on my Desktop. I have tried taking ...
0
votes
0answers
35 views

Defective Login After Failed Upgrade to macOS Sierra [on hold]

Yesterday, I tried to update to the second public beta of macOS Sierra. For some reason, however, the update process stopped shortly before the completion, and since there was no progress even after ...
0
votes
0answers
11 views

Gatekeeper strange behaviour : Not opening Approved app from command line

Let's assume an App was downloaded from the network so it has com.apple.quarantine extended attribute set. Now I would like to open download.app. An Unidentified Developer error is raised. Now ...
-1
votes
2answers
57 views

Terminal won't find any file/directory with the suffix “~/.” or “~/”

my terminal isn't capable of finding any file or directory if I type in the name of the file or directory which start with "~/." or "~/". I have OS El Capitan, XCode 8 is installed, so is XCode ...
0
votes
2answers
250 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
0answers
17 views

“createinstallmedia” compatibility with Windows [on hold]

When using the createinstallmedia command in Terminal with El Capitan Install, is the resulting USB bootable on any computer, or just Apple computers? For example, I thought I would use my MacBook Pro ...
0
votes
0answers
17 views

Terminal “open” any image results in “Preview quit unexpectedly”

Whenever I hit open blah.png (any image type) in my terminal, I get a message "Preview quit unexpectedly" from Mac OS X. The solution is to just open the folder in Finder using open ., navigating to ...
0
votes
1answer
22 views

Clear all messages from current Terminal session [duplicate]

In a Terminal window, if I issues a "clear" command it clears the screen. But if I scroll up, the messages are still there. Is there a way to clear call completely? Currently, I have to close and ...
1
vote
2answers
56 views

Sending commands from TextWrangler to the terminal

I want to send commands from TextWrangler to the terminal. Even if I found this, I don't understand how that works since I'm brand new to Unix and running Applescripts. tell application "...
1
vote
1answer
79 views

OS X (El Capitan) Terminal Fn-Up and Fn-Down stop working as Page Up and Page Down

I've identified a strange "state" my Terminal program seems to get into. It doesn't happen on all tabs -- right now, one tap can Page Up/Down properly, and another one can't. When I open a new one,...
0
votes
2answers
26 views

Documents folder not visible in Finder on macOS

The Documents folder on my Mac (macOS Sierra 10.12 beta) is not visible under my user in Finder. I can see the folder is there through Terminal: But in Finder, I can't see it: I can see the ...
3
votes
2answers
4k views

iSSH alternative

I'm using iSSH application on my iPhone, mainly for VNC connections. I like its usage. But as I understand, this app is not in App Store now, and the development of iSSH was ended. Could you please ...
2
votes
4answers
6k views

How can I use Atom as the default editor for “open”?

I would like to set Atom as my default editor for open. In order to do this, I set in my .bashrc: export EDITOR="atom -nw" and reload the file with source .bashrc. Anyway, when I try to open a ...
0
votes
0answers
43 views

Why do I get Permission Denied when I run the whois command

I can't seem to be able to run the whois command in my terminal. (Mac OS El Capitan) There's no firewall setup and this is what the command and its' response look like: shell> whois google.com ...
1
vote
1answer
22 views

Cannot execute this binary file

appreciate any assistance, I'm a Mac Noob Im trying to upgrade MySQL in MAMP to 5.6 according to the these instructions When I try to run the .command script as per #2 I get the following output: ...
1
vote
1answer
72 views

macOS Sierra GDB not codesigned

First I should note that I'm usin macOS Sierra (version 10.12 beta 16A238m), but I don't think it's that different than El Capitan in this certain situation (but I guess you know more than I do about ...
3
votes
1answer
5k views

How to update Python on a Mac with Unix commands

After giving up on doing a disk partition and getting Linux, I decided to try and install Python 3.3.2 on a 32 bit Intel Core 2 Duo iMac with OS X 10.6.8 Snow Leopard. I did pretty much everything the ...
173
votes
8answers
93k views

How can I trigger a Notification Center notification from an AppleScript or shell script?

I'd love to be able to take advantage of 10.8's Notification Center features in AppleScripts and shell scripts I write. Is there a built-in command or a third-party library I can use from either an ...
0
votes
1answer
15 views

Should I have my MBP “take breaks” while working hard, or are its fans sufficient?

I want to transform some data by doing (from Terminal) a Python command that runs on a single core only and doing something I expect to be CPU bound once data is pulled from disk and is accessible at ...
-1
votes
1answer
10 views

What is my issue when trying to install rails?

I have all the pac managers and etc that i can get from any book or online resources anywhere, ive tried many methods and just about everything i can find online. Can someone who knows exactly what ...
0
votes
1answer
1k views

External disk - Unrecognized file system (-69846)

I have an external storage with 2TB that was working nicely. But since last week, when I unplugged the USB before eject it, the disk is not readable anymore. When I insert USB, I can actually see ...
1
vote
2answers
2k views

node npm Installing bower = npm ERR

New computer, fresh start. Was installing bower from terminal and got this ERR! message in return. Seems common, but i'm hesitant in forcing it with sudo. OSX 10.10.3 git version 2.3.2 (Apple Git-55)...
0
votes
1answer
21 views

Terminal not running programs when pressing enter [closed]

Command line isn't properly running programs After trying to run a program on terminal it doesn't execute properly and just makes a new line with > at the start How can I fix this
0
votes
0answers
32 views

echo command works fine at terminal but not from shell script

#!/bin/bash # the echo command below work fine when copy pasted into terminal # but behaves differently when run from sh script echo "starting and running from script file" echo ">...
0
votes
0answers
23 views

Terminal command to only show open apps?

I just got a new Mac, and something I'd like to do is make it such that only apps that are running show in the dock. I found this article, which had the terminal command- defaults write com.apple....
0
votes
0answers
13 views

How can I cd to an alias directory in the Mac OSX terminal without creating symbolic link [duplicate]

I used to be able to cd into aliases with my Mac. Today I was messing around with ~/.bashrc and ~/.bash_profile to make PostgreSQL work. After I restarted my computer it stopped cd'ing to aliases and ...
0
votes
0answers
16 views

Terminal command that lists which application is using usb device

I'm looking for a terminal command that will tell which application is using a particular usb device. I'm specifically looking for which application is using my logitech webcam.
37
votes
3answers
43k views

what are the split terminal commands

I stumbled across the command-d hot key which splits the terminal into 2 panes. But I cant find documentation anywhere on how to close the new pane or even switch the focus to it so I can use it. ...
0
votes
1answer
33 views

Installing Casper; a program that needs to be placed in a directory on my PATH

I need to install software but I don't understand how to do so. I have downloaded a file which contains 5 files which includes a Unix Executable file which when I open displays this: Last login: Tue ...
1
vote
1answer
22 views

Change “from” address in Terminal `mail`

When sending mail from shell, e.g., echo '123' | mail -s 'subject' name@mail.com The recipient gets an email from "my-local-username@my-machine-name.local", e.g., "bob@macbook.local" How can I ...
3
votes
1answer
46 views

Powerline Theme in OSX terminal have a strange color

I configure the powerline theme on OSX like zsh vim and emacs But it has a strange colour in the ">" character How can I make the the ">" character colour match with the powerline bar
0
votes
0answers
36 views

Accidently took ownership of filesystem root

So, in an attempt to take proper ownership of some files that somehow got set to read-only inside a subdirectory of my home directory, I ran the following command within that directory: sudo chown -R ...
0
votes
1answer
19 views

How to uninstall xonsh?

I've been trying xonsh and I don't get used to it, so I would like to uninstall it given that I need to work. How can I get back to my previous (default) terminal configuration?
0
votes
3answers
67 views

Some Applications stay in Dock after closing

After i cloes the Applications the Instances still be shown and can't be force closed. Same with the Dock only if I kill my Dock in my Terminal it reduces the symbol to 1. Also the processes don't ...
3
votes
3answers
144 views

Bash script to click button on an HTML page

I'm trying to write a Bash script that opens a browser, clicks an HTML button on a webpage, and closes the browser after getting response. I need this script to be executable from within Terminal. If ...
0
votes
1answer
73 views

How to update xcode from 7.2.1 to 7.3.1 using terminal (commandline tools)

I just need to know if there's a way to update xcode from 7.2.1 to 7.3.1 using terminal (commandline interface)? The reason is I updated the xcode via mac appstore and once it was installed, the ...
0
votes
2answers
33 views

How to permamently change terminal font size via commandline/terminal?

I've been looking at this command: defaults read com.apple.terminal "Window Settings" But it seems there's no way to access the variables/settings inside it? Any ideas is much appreciated. Thank ...
0
votes
1answer
2k views

How to launch an iOS Simulator with Safari open using a single command?

I am looking for a solution to launch the iOS Simulator from command line with Safari launched by default. Launching the simulator from command line is easy. So is the launching of Safari. But I want (...
0
votes
2answers
48 views

command line update of python3

I have both python 2.7 and 3.5.1 installed in my Mac (El Capitan). I left version 2.7 as per this recommendation. Now I would like to update version 3.5.1 to the latest one but from the command line. ...
0
votes
0answers
12 views

Macports Python IDLE 3.4 not opening

Per earlier articles (especially Python IDLE from MacPorts can't start), I've attempted to get my Python version 3.4 to work from the Macports IDLE.app but to no avail. I've already tried the ...
8
votes
7answers
4k views

OS X Terminal equivalent of Ctrl+Left / Ctrl+Right

In Windows and Linux I could always hit ctrl+← or ctrl+→ to skip a word to the left or right in the terminal. In text editors it seems that ⌥+←/→ works, but no dice ...
0
votes
1answer
23 views

zless exits when reaching EOF

I run the command zless some.log in OS X 10.11.5 El Capitan. It closes when reaching EOF. I checked aliases and I do not have LESS env variable set up but still it looks like zless runs with -Q ...
0
votes
1answer
26 views

what is /usr/share/dict used for

Where is this used, I read the README and it didn't say what program it was from, I do not think that it is the stock dictionary app because I tried some very obscure looking words that were in some ...
5
votes
6answers
11k views

How do I restore my .bash_profile?

I've accidentally overwritten my ~/.bash_profile file. Does anyone have a "sample" one I could copy, or know where I might be able to find one?
1
vote
1answer
12k views

In Terminal, how do I add a host key to the file known_hosts?

In Terminal, how do I add a host key to the file known_hosts? Also, how do I remove a given host key from the same file? I trying to ssh into a computer at my school and when I type in the command ...
4
votes
2answers
7k views

How to copy all files with extension/filetype in terminal?

I want to copy all files in ~/Desktop with the extension .jpeg to my flash drive. How can I do this in the terminal?
0
votes
0answers
14 views

brew upgrade breaks terminal, requiring reset

When I run brew upgrade in my Bash shell, it breaks the terminal display (in both iTerm2 and Terminal) such that I can't see anything I type in the following prompt and I can't see the history. For ...