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
1answer
26 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 ...
0
votes
0answers
18 views

Trying to install CANDLE in Mac OS X. Following Error report is showing. Should I install LibXm.so, if yes, how?

For more information about CANDLE(Collection & Analysis of Nuclear Data using Linux nEtwork): http://www.iuac.res.in/NIAS/Downloads/candle.txt
3
votes
4answers
6k views

Process completed immediately after opening Terminal

After I open Terminal in OS X: Last login: Tue Oct 28 10:29:21 on ttys000 login(14773,0x7fff7572f300) malloc: * error for object 0x7fd4bb715110: pointer being freed was not allocated * set a ...
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
1answer
51 views

AirPort Express and ssh

So, I've been trying to understand networks a little better and I'm playing around with ssh. I've learned how to set up port forwarding from my AirPort Express directly to my computer, but I am ...
3
votes
1answer
45 views

How to open a URL without launching a new safari tab?

I would like to write a script (AppleScript or shell script) to open a URL such as https://itunes.apple.com/ca/station/beats-1/idra.978194965 which then launches iTunes and play a radio station. ...
34
votes
6answers
123k views

How do I start TextEditor from the command line?

I work a lot at the command line in a Terminal and would like to start a text editor on a certain file. I'm from Linux Land and normally use kwrite or gedit from a bash shell. Trying to find the Mac ...
15
votes
5answers
8k views

How to jump to a location using mouse on iTerm/terminal?

I work on a terminal most of the time. Is there an application / plugin over iTerm or any other terminal like application using which I can control the cursor location of my terminal using a mouse ?
0
votes
0answers
28 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
1answer
35 views

esc button OS X needs to be released on every command

In terminal I use escB or escF to jump through the words. If I want 2x back I've to do escB twice. Otherwise I just start typing F or B in Terminal. The modifier keys ctrl / alt /cmd work ...
1
vote
1answer
25 views

How can I change the black text in my terminal?

I have changed the color in my profile, but some text is still black. How can I make all black text inverted, or any color that's visible? I'm including screenshot of my preferences and the issue. The ...
7
votes
3answers
46k views

Open terminal using a keyboard shortcut

I am using Alfred and hence I don't have any use for the Cmd+Space keyboard shortcut. I want to invoke terminal using that shortcut. Just like in Ubuntu, when you press Ctrl+Alt+T, is there a way to ...
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
2answers
57 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 ...
1
vote
1answer
30 views

Run shell and type output

I am using iTerm2. I would like to have a keyboard shortcut which runs a command and types the output at the current cursor. Example: I have a function branchName which returns/prints the current ...
5
votes
5answers
7k views

Is there any way to save Mac OS X preferences into a shell file?

Whenever I reinstall my Mac OS and/or buy a new Mac, I have to configure manually almost all the options of mouse, dock, etc. I'd like to know if Mac OS or some software can provide some way to save ...
-3
votes
0answers
43 views

How to run iOS application in real device through terminal without a paid apple developer account?

First this not duplicate of Is it possible to compile and run an Xcode project on a jailbroken device without a paid developer certificate? I know it is possible to run app on device using Xcode 7 ...
0
votes
2answers
36 views

Trouble adding a printer with lpadmin

I'm trying to add a printer through the Terminal using lpadmin, and it absolutely refuses to work. The printer adds just fine, everything looks perfect from what I can see, but any attempt to print ...
0
votes
1answer
31 views

Batch modifying file metadata

I'm looking for an application or command line tool that can batch edit file metadata. I have some audio files recorded using a recorder that was off by 1 hour, and I want to modify the creation date ...
1
vote
1answer
36 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 ...
1
vote
2answers
241 views

X11 applications don't open after XQuartz update (OS X 10.10.4)

I updated X11 by installing the most recent XQuartz package, 2.7.9. Now, when opening an application that is supported by X11 (e.g., emacs), my terminal throws an error (while X11 starts in the ...
61
votes
8answers
189k views

Is there an OS X terminal program that can access serial ports?

What programs can act as a terminal and access serial ports? This is not for terminal access on an IP connection, this is so I can access a hardware device plugged into a USB/serial converter running ...
0
votes
1answer
36 views

Does the `mdls` terminal command access metadata in resource forks?

I always knew that Mac operating systems had a concept of "resource forks" but have just learned that this feature has in fact been deprecated since the arrival of OS X. I also just discovered the ...
5
votes
3answers
11k views

How do I get Wi-Fi info from within Terminal?

Is there a way to get BSSID and the list of available Wi-Fi networks from within Terminal? I.e. I'm looking for something similar to ifconfig run0 scan on OpenBSD, which lists all access points, ...
3
votes
1answer
38 views

what is the style of command line editing used by the terminal emulator?

in bash in gnome terminal in Ubuntu, the command line editing commands are by default emacs-style, and can be changed to vim-style. In bash in the terminal emulator of Mac, the emacs-style commands ...
2
votes
3answers
2k views

Open new Terminal tab in current working directory doesn't work

In the Terminal preferences you can find an option to open new windows and tabs in the current working directory. Yet there's a message that says that programs notify Terminal about the current ...
2
votes
4answers
3k views

Applescript - Unable to find resource when inside application

I have a regular Applescript application bundle that executes an applescript file when it's run. I'm trying to run a shell file that is located at "/Contents/Resources/Data/df.sh", however with the ...
2
votes
1answer
28 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
34 views

How can I change the apperance of terminal to make it indentical to Ubuntu's terminal

I like using the default terminal application, but as I use both Ubuntu and OS X a lot I want to make them behave and look the same. How can I change the Mac terminal to make as identical as possible ...
0
votes
2answers
51 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 ...
1
vote
1answer
58 views

Why can't I create a directory on a mounted USB drive after mkdir, but finder new directory works?

I'm trying to create a directory on a USB3 mounted hard disk drive and it is failing even though the permissions are open: bash-3.2$ ls -al total 0 drwxrwxrwx+ 2 user user 68 Jun 3 18:24 . ...
1
vote
0answers
27 views

Bash Ctrl-A Returns to Start of Line but Doesn't Display Properly

When I ssh into a Linux server from bash Terminal, I can use CTRL+A to return to the start of line properly, and CTRL+E to go to end of line and everything works fine. When I use bash locally on my ...
1
vote
1answer
49 views

Mac freezes when logging in as >console [logging in to terminal directly without launching the GUI]

When I try console login, my Mac freezes. Nothing happens visually: no switch to a black window, no spinning loading indicator in the ‘Password’ field; nothing. The only thing I can still do is press ...
1
vote
1answer
78 views

Homebrew putty installation does not make the putty command recognisable

I would like to instal putty with use of Homebrew. I'm performing the following command: brew install putty which gives the seemingly correct output: ==> Downloading https://homebrew.bintray....
2
votes
2answers
76 views

Log file that `sudo last` accesses?

The bash command last (needs sudo) prints out logs, which contain information on when different users log in/out of the shell. I have been looking for the file that stores this information, that last ...
1
vote
1answer
39 views

Recover deleted partition space

I am having the exact same issue when it comes to not being able to reclaim space as in the answered question below... Reclaim hard drive space from deleted partition and reclaim Apple bootloader I ...
-3
votes
1answer
45 views

X11/Xlib.h file not found

I am trying to install Savi-program for monitoring satellites found here via Terminal. I am developer so I have XCode installed. which gcc returns /usr/bin/gcc. Command make ARCH=macosx once in the ...
2
votes
0answers
29 views

What are the different OS X clipboards

Everybody uses the general OS X clipboard, which can programmatically accessed with pbcopy -general and pbpaste -general. However I noticed that the manpage of pbcopy and pbpaste also mention: -find ...
1
vote
2answers
338 views

Folder/File Name “Truncation” or “Wrapping”

I have been trying to find a solution for a very very long time on how to have the longer names of my folders and files to drop down to a 2nd line when viewing in the "Grid" Icon view in the My Finder ...
1
vote
1answer
30 views

loookup server IPs the website runs on with nslookup error - Got recursion not available from 192.168.1.1, trying next server

I would like to lookup servers cnn runs on for educational purposes. I issued nslookup www.cnn.com command in terminal and got an error: ;; Got recursion not available from 192.168.1.1, trying next ...
2
votes
1answer
64 views

Can't cd into alias

I have two aliases in my home directory: devbootcamp and bookshelf. I can cd into devbootcamp but not bookshelf but I'm not sure why. I don't remember how I made the alias to devbootcamp but I ...
1
vote
0answers
21 views

Ctrl+D toggles the OSX dock but I want it to be passed to the terminal

I'm new to Linux and have been playing around with manipulating files with cat ie. cat > randomNames Albert Einstein Marie Curie Isaac Newton now when I want to quit cat with control + D on my ...
19
votes
2answers
618 views

Forcing `open` command to open unsigned app?

I've got my Security preferences set to allow apps downloaded from "Mac App Store and identified developers." When I try to open an unsigned app: open xyz.app I see the following: Usually, I ...
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,...
1
vote
0answers
21 views

Can't delete file with strange characters in name [duplicate]

I have an old file named ˇ¡␀␀ˇ¡␀␀␀"9 ␀"9 which is not deleted when I empty the trash. I have tried renaming it but it does not accept any changes. Using the Terminal didn't work either so far: Mac-...
0
votes
1answer
19 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 ...
20
votes
2answers
9k views

How to I go from .flac to .mp3 using LAME & FLAC using the Terminal alone?

This is my first question, so please go easy on me. 'Tis a pleasure to be here. Hopefully somebody can help me out. For a long time I've been using a relative clunky technique which involves Audacity ...
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 ...
2
votes
2answers
40 views

How to enable/disable grayscale mode in Accessibility via Terminal/App?

I'm wondering what would be the process of enabling/disabling the grayscale mode in the Accessibility panel in System Preferences? I would like to run a simple script, either by clicking on an app in ...