Terminal (or Terminal.app) is the program included in Mac OS X for running applications and issuing commands using the command line interface. These programs are controlled by typing lines of text, rather than using the mouse or keyboard commands in the usual graphical user interface (GUI).

learn more… | top users | synonyms

0
votes
1answer
37 views

Why is same privileged bash command giving different information from script than from command line?

I wrote a bash script to verify various configs on a system, but I am getting different results depending on whether it is run from the command line directly or from the script. Here is the command: ...
0
votes
0answers
61 views

Xvfb hangs while loading video extensions

I'm trying to get xvfb from XQuartz 2.7.5 running properly on 10.9. I'm starting the server with: Xvfb :30 -ac -screen 0 900x900x24 and it's hanging on Initializing built-in extension ...
2
votes
0answers
21 views

Raw binary midi stream in terminal?

I want to be able to cat the device file of a raw binary input stream from a midi controller. In Ubuntu, the process to do this was something like cat /dev/dmmidi1. However, I do not see such a file ...
0
votes
0answers
18 views

ls doesn't work on folder after time machine restoration

i find that if i attempt to ls on a folder after transferring the folder from windows 7 to osx via a FAT32 drive, i am unable to get a directory listing. I've tried the following: attempted to ...
0
votes
1answer
70 views

Preventing desktop jump when window is open on another desktop?

I have setup 2 Desktops in Mavericks (Mission Control). On "Desktop 2" there are some programs that need to run, but which I use rarely, for example a Terminal with some server tasks. Then on ...
0
votes
0answers
15 views

Strange word in Terminal Bash Prompt [duplicate]

When I launch terminal I'm greeted with: Last login: Thu May 1 15:36:29 on ttys000 fib:~ nyx$ What is fib and why is it there? Will be great if help can be provided to troubleshoot this...
0
votes
1answer
40 views

New mac - installed tmux but can't use mouse in for pane switching

I have the required setw / setg setting for mouse in my .tmux.conf but they aren't working. I've done tmux source-file .tmux.conf I can use tmux and split windows with my remapped keys and other ...
1
vote
4answers
73 views

Terminal: Adding logic to 'find' directories containing either [criteria A] or [criteria B]

I have inherited a vast media archive without a unifying organizational scheme. Its contents date back at least 10 years. I have been asked to find a needle in this hay stack, and I have some guesses ...
1
vote
1answer
36 views

Yara in terminal

I am quite new to mac and I came across something that I think is unusual (After researching the web). When I open the terminal application, I get a "Yara:" string before the command prompt... Is it ...
0
votes
0answers
39 views

What is the equivolent of “dmesg -c” on OSX?

How do I clear dmesg in OSX? In linux I simply run dmesg -c. dmesg, -C, --clear Clear the ring buffer.
2
votes
2answers
39 views

How to restore the computer's username in Terminal?

I would like to restore the previous name (default) in my terminal. How can I do that? I changed to $ sign only by applying this code: echo "export PS1='$ '" >> ~/.bash_profile . ...
2
votes
4answers
657 views

How to open a new Terminal tab in current working directory?

I want to create and run a bash function that: cd into a project's directory Open a new tab in Terminal in the same directory Open my dev tools and start dev services Item #2 doesn't work as ...
1
vote
1answer
55 views

Why does my terminal open with “Basic” settings

I have a laptop running OS X 10.9.2 and 10.7.5. On both I use Terminal extensively. I have Terminal set up open with Homebrew settings on startup on both 10.7 and 10.9. The issue occurs when I ...
0
votes
1answer
149 views

Whats the equivalent of the unix tree command on OSX

Whats the equivalent of the unix tree command on OSX (10.8.5)
0
votes
1answer
30 views

Monitor network connection process / delay

I'd like to identify what in the world delays my OSX 10.9.2 system from connecting to wifi upon waking from sleep. What is the right log to read or script to run or netstat or lsof command to run to ...
2
votes
0answers
59 views

how to turn off rotating cube animation upon user switch?

How to turn off rotating cube animation upon user switch? I apparently need to pad out this qwuestion, so i will add that it makes me dizzy thank you!
1
vote
0answers
60 views

Terminal Command to Check Available USB Ports

I recently took a trip and was utilizing a USB GPS Device push coordinates to a file. In the middle of the day the device decided to stop working. We were never able to get it back working again ...
1
vote
2answers
103 views

OS X Terminal not recognizing any commands

I recently tried to install CoffeeScript on my mac and now am unable to use even the most basic of commands like ls, cd and so on. Something tells me that it's because the $PATH variable has changed. ...
5
votes
1answer
452 views

How do I run this command in verbose output mode?

I want to update my OS X Mavericks USB key and would like to be able to see what my mac is doing after I enter the following command. sudo /Applications/Install\ OS\ X\ ...
1
vote
2answers
63 views

How to prevent octave from spawning in a new Terminal window?

I run octave in Terminal but whenever I use the Octave command to start octave (from an existing terminal session) or select Octave in Mission Control, it starts a new Terminal window. I find this ...
0
votes
0answers
56 views

Rsync'd Files Are Hidden Through Finder, Visible Through Terminal

I have an hard drive from an previous MacBook that I need transferred to a NAS device. I used sudo rsync -r --progress /Volumes/oldDrive /Volumes/NASdrive to copy the files to the NAS drive. I need ...
1
vote
1answer
58 views

Why are the hidden files/directories seen in Terminal color settings?

When I tried to set my Terminal color by importing a color scheme stored in ~/Dropbox/.personal/myColor.Terminal, it didn't display the hidden directories, including ~/Dropbox/.personal (and other ...
1
vote
0answers
21 views

To have inkscape's terminal scripts in terminal like in Linux

I am trying to write this makefile in OSX. I have installed Inkscape but it does not have the script that allows you run commands in terminal like this inkscape $(SOURCE).svg -w $(WIDTH) ...
0
votes
0answers
13 views

Ensure that the user is signed in after a reboot via Terminal.app

In the User settings I have Automatically Sign In as: . However, when I reboot the machine via SSH in the Terminal.app the machine reboots, but does not sign in the specified user and is stuck at the ...
2
votes
1answer
672 views

brew cask: howto uninstall an Application

I tried, while I am in /opt/homebrew-cask/Caskroom $ for i in *; do brew cask uninstall $i; done Error: appcleaner is not installed Error: avidemux is not installed Error: eclipse-ide is not ...
1
vote
1answer
648 views

How to create a VPN connection via terminal?

I have a macbook pro with mavericks running. I am looking for a way to connect to a VPN network in terminal. The reason why I want to do this is that I want to write a small program in Python which ...
0
votes
1answer
65 views

Copying ssh private key with finder, but can't see it with console

Background: I generated an additional ssh key-pair on my windows 7 workplace computer. I placed the corresponding public keys in my bitbucket.org and github.com account. I am using atlassian ...
1
vote
3answers
2k views

How do I undo “export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile”

I was trying to install homebrew, which wasn't working. It told me to do echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile. However this wasn't having any affect, and I thought maybe it ...
0
votes
1answer
19 views

Is there a way to turn off LibreOfficeUpdate via terminal?

Good morning everyone. I administrate few MacBook laptops (in remote locations). We control the versions of software that we allow users to use for compatibility issues. But end users nag as to ...
1
vote
1answer
912 views

need to script connection to telnet and send commands to remote device with no user input

Ok I need some help making a script that will connect to a server and send 2 commands Ideally I would have telnet 192.168.2.230 9993 and once it logs in (no user name or password required - the ...
0
votes
0answers
30 views

com.user.loginscript[ ]): Exited with code: 1

Whenever we restart our server it changes our DNS and apache settings. I haven't been able to figure out why, so I wrote a quick script to restore these to safe settings on login to fix Mac OS X ...
2
votes
1answer
81 views

Hard Drive Formatting Error in Terminal

I have tried formatting and partitioning this brand new hard drive and it has failed on multiple computers using multiple methods. It is a LaCie Porsche Design 4TB hard drive. Here is the commands I ...
1
vote
1answer
93 views

XQuartz is not starting from within tmux

I'm using the standard apple terminal with zsh as my default shell. In my ~/.zprofile (equivalent of .profile) I have the following line: [[ $TERM != "screen" ]] && exec tmux This ...
0
votes
1answer
43 views

user-name@dest-host for MACbookpro

I have a directory at a unix machine which I want to copy to my macbook. I login to unix machine using a VPN connection and then try to copy the directory using the following standard command scp ...
6
votes
3answers
281 views

Is there a way to make the terminal's font less blurry?

I have been using a MacBook Pro for about a year or so, and I can definitely say that I am really satisfied from it. But there is one little thing that annoys me about it: the fonts in many text ...
0
votes
1answer
126 views

Is it OK to run -sudo purge, frequently? [duplicate]

I'm on Mavericks 10.9.2, 24GB's RAM, and my usage constantly teters on 23.95 GB in use very frequently. From what I can tell, the largest running process is 'kernel_task', and even then it's less ...
2
votes
3answers
144 views

Bash: Return the most recently edited file in a specified directory

For a bash script I am currently developing I want to access the name of the most recently edited file (including folders but not subdirectories) in a specified directory. How do I do this?
4
votes
2answers
154 views

Correcting Pronunciation Errors in 'Say' Command in Terminal

I'm having difficulty correcting the pronunciation in the 'say' command, using 10.9. I tried to add new pronunciations through: System Preferences > Dictation and Speech > Open Accessibility ...
4
votes
1answer
50 views

Graphical man pages viewer in Terminal.app

There is a feature in terminal to view man-page of selected string in external window with ⌃⌘? shortcut. But it has a priority to display preinstalled man pages. So for example I've installed gnu ...
3
votes
2answers
378 views

Is it possible to hide files from Terminal's ls?

I am saving some files because I need to reinstall OS X, and noticed oddly high numbers of files in some folders. Is it possible for malware to hide files from ls?
0
votes
1answer
47 views

networksetup -disconnectpppoeservice not working

I love doing stuff on terminal, a lot. Thats how I found this command to connect to my PPP service: $ networksetup -connectpppoeservice HUAWEIMobile- And its works successfully to connect my PPP ...
1
vote
0answers
20 views

Clever way to create image of entire terminal log?

I would like a way to execute one command, to take a "screenshot" of the entire terminal log (including lines of text that are not visible without scrolling) Possibly an application that has this ...
1
vote
1answer
65 views

Aufs mount alternative

What union mounts are available on OSX? I've been using Aufs on Ubuntu for the past few years without fail and I'm looking for something similar... Basically, given n directories, merge the contents ...
1
vote
1answer
102 views

Running shell commands with Automator: how to create a droplet launching an “exec” command?

I need to create a automator application that launches the following exec command, whenever a image file is dropped onto it (the exec print the image files with some printing params). exec('lpr -o ...
1
vote
1answer
67 views

Using MacPorts bash, tab completion no longer lists hidden / dot files

I used MacPorts to install bash (bash @4.3.8_0). I switched Terminal to use /opt/local/bin/bash as the command to startup. However, now when I type vim ~/.<tab><tab>, it no longer lists ...
2
votes
1answer
85 views

Weird OS X Terminal Bug: Cursor won't go back to end of line after backtracking

I have an interesting problem: when I type something in the terminal as follows: ~ me$ hello<cursor> and backtrack: ~ me$ he<cursor>llo and then try to return to the end to continue ...
2
votes
2answers
960 views

Alfred: How to get Alfred to run a terminal command?

I often need to run multiple copies of an app, like VLC. For this I use the terminal and run a command similar to: open -n /Applications/VLC.app How can I create a shortcut with Alfred to run this ...
3
votes
2answers
311 views

How to run a cron job each time the previous execution has finished?

I would like to run a Python script each time it finishes and I think I can do this with cron but I am not sure how to do it. The idea is each time the Python scripts ends, it will have to run again ...
4
votes
1answer
113 views

Set a custom dock icon for an application instance via Terminal

I'm frequently opening multiple instances of applications, especially Emacs, since I may be working on different projects on the same time, and I find this the best way to manage this (yes, I know ...
0
votes
1answer
148 views

Automator Workflow - Convert FLAC to MP3

I would like to have an Automator Workflow that converts FLAC to Mp3. Right now I am using this shell script which works fine and preserves ID3 Tags: #!/bin/bash for f in "$@"; do [[ "$f" != ...