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).
3
votes
0answers
40 views
How to find delay when launching new Terminal (iTerm)
When I press CMD+N in iTerm2 to bring up a new iTerm window, sometimes it takes 10 seconds before I get my prompt. If I immediately repeat the process, the whole thing takes 1 second. To me this ...
2
votes
0answers
42 views
OS X breaks if I apply HFS compression to the whole volume. What do I need to exclude?
OS X breaks if I apply HFS compression to the whole volume. (It won't boot.)
What do I need to exclude?
I've been able to compress large parts of it, but then I had to restore after I compressed ...
2
votes
0answers
81 views
mdfind query on kMDItemFSTypeCode can't find some type codes
I just upgraded to a new MacBook with Lion, and having discovered that some of my old apps can't come with, I'm scouring my files for certain types that will need to be converted to future-proof ...
2
votes
0answers
149 views
Multi node cluster setup with home network for parallelized computing using e.g. hadoop, MPI or Rmpi
currently I am reading more and more about multi-core processing (threading) and parallel computing. So I was curious about how to use my 4-core processor to calculate parallelized algorithms using ...
2
votes
0answers
451 views
SSH, passphrases, keychains, Could not open a connection to your authentication agent
I will be very surprised if anyone has the answer to this. I have googled for a long time but no luck.
As an iOS developer who will shortly be welcoming a new team member I want to set up a ...
1
vote
0answers
27 views
Terminal configuration lost after booting up
On OS X 10.8.3, my Terminal.app is configured with my .bashrc file. In my .bash_profile I have:
source .bashrc
It works great, except when I let some Terminal windows opened and shut down the Mac. ...
1
vote
0answers
51 views
FocusFollowsMouse, cut-paste from browser to Terminal in 10.8 (duplicate)
Added: this was discussed in
focus-follows-mouse-plus-auto-raise-on-mac-os-x on SO in 2010. In short, accept it,
or buy an addon:
how-can-i-make-focus-follow-the-mouse-cursor.
The sequence:
cut ...
1
vote
0answers
39 views
FTP: active vs. passive, command line vs. browser
Here's a weird one for everyone. I'll use AskDifferent because my test bed is on a Mac, but I don't know that the underlying issue is specifically Mac.
My Mac is behind a NAT wall. Let's call my ...
1
vote
0answers
84 views
Can I use the Terminal to find all OpenMeta tags on my system?
I know that there are apps that can do this, so I figure it must be possible: I'd like to compile a list of every OpenMeta tag that I've used on my Mac (OS X 10.8.3). But here's the rub: I'd ideally ...
1
vote
0answers
36 views
Can an alias be added to the dock via the command line?
I found this article but it handles the GUI solution.
I would like to automate the setup of a new machine, and do that I've created Dropbox shares of a number of my common configurations. (I could ...
1
vote
0answers
66 views
mac asking password after cd in terminal
Recently my mac has started asking me for a password after I use cd in Terminal.app (haven't tested other term apps).
strangely though, if I press ctrl-C when the passowrd is asked, the question goes ...
1
vote
0answers
317 views
My MBP (13 inch, MID 2010) will not start up
I have used the internet for the past 2 weeks in search of something that will help me troubleshoot/repair my MBP. It wont boot in Safe Mode using the SHIFT key. Following is everything I have tried ...
1
vote
0answers
42 views
Is there a console interface for the Client Monitor on OSX?
I'm writing a bash-script at work for controlling our Mac-computers (OS X Mountain Lion) remotely. Since we use FileWave in our Company we just have to remove an Application and restart the computer. ...
1
vote
0answers
424 views
How do I force a partition and format on a USB key in OS X Mountain Lion Disk Utility or from CLI diskutil?
I have a brand new Memorex TravelDrive 64GB USB disk which is being troublesome.
It's formatted FAT16 on MBR, which is not so nice, and I'd like to put it on HFS+.
I've tried to do this through ...
1
vote
0answers
159 views
Is it possible to download Apple's Command Line Tools for Xcode from the command line?
Background
My job gives me temporary MacBook Pros for travel purposes. I get them with a fresh OS install before I leave, and when I return, they blank the hard drive. The trips usually require some ...
1
vote
0answers
141 views
Resource efficient way to monitor file change and execute shell scripts on change
I know at least three ways to monitor a folder/file for changes and execute a shell script on change.
First, use "Folder Actions" of Automator
Second, the launchd.plist approach but it seems the ...
1
vote
0answers
245 views
Cannot write to SMB Share with Terminal OS X 10.8
I am trying to copy some files from my local drive to a SMB share I have set up on my home network using Terminal, but I keep getting this error:
fchmod failed: Permission denied
The share is set ...
1
vote
0answers
154 views
Midnight Commander installed via Ports to support scp
I have installed Midnight Commander via Ports, but I am unable to connect to a remote computer to copy files as:
cd #sh:user@server.net
I keep getting:
"Cannot CHDIR to #sh:user@server.net".
...
1
vote
0answers
241 views
How to include the failing username on saslauthd failure in a log file in Lion?
How can the verbosity of logging be increased for SASL authentication failures?
To be more precise, to include the failing user name in a log file on Mac OS X 10.7 (Lion) Server?
Linux hosts have ...
1
vote
0answers
85 views
My hostname is now out of sync
My hostname got out of sync with what it is set to in System Preferences - Sharing. From what I've read this is most likely related to a router having the ability to update my hostname.
Anyhow, I've ...
1
vote
0answers
155 views
Signals sent to command-line programs when exiting terminal.app
When using tmux, if I CMD-W, or otherwise quite out of terminal, my tmux session persists, as it should. However, it still lists itself as "attached", whereas on other platforms, (e.g. Ubuntu) when ...
1
vote
0answers
282 views
After updating oh-my-zsh prompt is weird on startup
I have been using the default installation of oh-my-zsh (robbyrussell theme) without issues. I just did a 'git pull' and now on startup I see a weird prompt. As soon as I press any key the prompt ...
1
vote
0answers
158 views
Proxy won't work without telnet
This isn't a problem as such, more an irritant that's begging for a clean solution.
At work we have a couple of Macs which I'm trying to get integrated nicely into Active Directory.
We enforce all ...
1
vote
0answers
264 views
Why does my Terminal window close automatically?
I need to use my Terminal window on a MacBook Air but it closes about 10 seconds after I open it. Is there a setting or is it possible another program is causing it to close? If I type quickly I can ...
1
vote
0answers
117 views
Sips not working with pict, qtif and sgi files
The terminal command sips -s format pict /path/to/image.ext --out /path/to/output.pic ouputs Error: Unsupported output format com.apple.pict even though if you do man sips and go down to format, there ...
0
votes
0answers
17 views
Inkscape will not open on its own, but can be opened from within an x11 window
When I installed inkscape, it asked me for the location of x11, and without thinking, I choose xcode, rather than xQuartz. So now, if I try to open it via its icon in the applications folder nothing ...
0
votes
0answers
17 views
Is it possible to check which application has accessed a file last?
I can check when a file was accessed last with ls -lu path/to/file | awk '{print $6,$7,$8}' but can I also see what application accessed it?
0
votes
0answers
44 views
I am having trouble getting apache to work via terminal on mac os x 10.8.3
I am a beginner with the terminal app. - I think , while following a tutorial for creating a user configuration file for apache, that I messed something up internally with apache. I cannot even access ...
0
votes
0answers
24 views
Making checks before rsyncing external drive on OSX
I have the following issue on OSX though I guess this could equally be filed under bash. I have several encrypted portable drives that I use to sync an offsite data store or as an on-the-go data store ...
0
votes
0answers
15 views
Laptop crashed while downloading files using FileZilla, now those files only show up in FileZilla browser and can't be overwritten. How to delete?
My laptop crashed while downloading files using FileZilla. Now those files only show up in the FileZilla browser and they can't be overwritten. I can't see them in Finder or in Terminal. How do ...
0
votes
0answers
52 views
“Home” and “End” HotKeys in Vim INSERT Mode with MacBook Pro
I am pretty new to Vim and to Mac, I have a MacBook Pro with Retina Display running OS X 10.8.3, which do NOT have naive Home, End, PageUp and PageDown keys.
I know the Fn + arrow keys can work in ...
0
votes
0answers
36 views
Sync apps preferences between multiple Macs
I tend to keep all my stuff in Dropbox. Now that I bought a second Mac, I thought that keeping also my applications preferences in Dropbox would have been a good idea.
I managed to sync some of the ...
0
votes
0answers
22 views
Speech Commands with Eclipse java for speakable
I'm running Mac OS X 10.7.5 on my MacBook Pro and love the Voice Commands / Speakable Items feature.
I also have a lot of custom commands that I use by writing applescripts and putting them in either ...
0
votes
0answers
23 views
How can I disable text underlining in Terminal?
Is there away to disable underlined text, similar to the bold fonts checkbox in Terminal? It shows up in my Rails logs, here is an example:
0
votes
0answers
31 views
Where did tab completion go?
Recently, in both Terminal and iTerm, my tab autocompletion has stopped working. About 80% of the time I just get the error sound when I hit TAB. About 20% of the time I get the expected behavior.
...
0
votes
0answers
70 views
Read /dev/null on mac os x
I'm trying to read what is sent to /dev/null on mac os x.
There are instructions published here: http://unix.stackexchange.com/questions/31958/monitor-what-is-being-sent-to-dev-null - but these ...
0
votes
0answers
33 views
Recreate unknown users on crashed mac
About a month back one of our Macs crashed and we had to restore it. The computer had an external drive connected to it and all the data is still there. Though some of the users are "missing". If we ...
0
votes
0answers
41 views
How to disable c-state in a macbook late 2008 unibody aluminium intel core 2 duo
Anyone know how to disable the c-states, I don't care to save power/temperature/fan or anything I just want to disable c-states, specifically the c-state=4 which is the real bad guy.
Thanks for ...
0
votes
0answers
53 views
Terminal tab keyboard shortcut (cmd+[0-9])
Is it possible to have keyboard shortcuts to terminal tabs with numbers. I know its possible to cycle through tabs. I am looking for something like in iTerm (cmd + [0-9]) directly taking to that tab.
...
0
votes
0answers
61 views
OSX Removing file under a “.vol”
I have a file I want to remove that's stored inside a ".vol"
501 9984 Corel Painter 1 16 /.vol/16777218/29979256/nTitles Product Licenses IV
I received this by running
sudo opensnoop -n Corel ...
0
votes
0answers
35 views
How to recover Raid configuration on Mac
I have a Direct Attached Stroge and create 2 Luns on it (27TB + 27 TB). we had stopped the system. When we started it again, we couldn’t find the RAID vol. There are two LUNs but there no RAID volume ...
0
votes
0answers
24 views
How to List Alternate Super-Blocks in Terminal
What is the the correct syntax / command within Mac Terminal to list the alternate Superblocks?
This is definitely one of the errors I get when applying fsck within Terminal.
newfs and mkesfs are ...
0
votes
0answers
20 views
Exporting a Windows Group in terminal makes redundantly named Windows Groups
OK, so I've made several Windows Groups and experimented making some open with an automatically executing command (and some that don't). My problem is that once I store such a 'group' as a clickable ...
0
votes
0answers
44 views
libicu-dev: Package not found by apt-get
I try to install libicu-dev using apt-get
sudo apt-get install libicu-dev
And i get the error
E: Couldn't find package libicu-dev
I tried apt-get update but that didn't change a thing.
Fink ...
0
votes
0answers
25 views
Rename terminal tabs, persist while in SSH
I'm aware Cmd-I includes options to rename a tab. However while I'm ssh'ed into another machine (more precisely: my computer -> ssh -> ssh -> ssh) every time I run a persistent command, in this case ...
0
votes
0answers
66 views
How to add a script that types in the password for my vps through applescript
I made a script recently and have turned it into an app, it basicly logs me into my vps via ssh but I don't know how to tell it how to type in my password for me, heres the code
tell application ...
0
votes
0answers
107 views
Execute command on launch of custom Terminal Window in OSX10.5+
I'm trying to find a way to automatically launch a command when Terminal is run, but:
Have the Terminal window close after command has returned control to it / after (using &) after command has ...
0
votes
0answers
207 views
Can't install Homebrew on MacBook Pro, password field won't input
I need to install Homebrew. I am unable to input the password when prompted in the Terminal - nothing happens when I type, only when I hit enter. I follow the instructions specified in the book I'm ...
0
votes
0answers
31 views
pbpaste and aira2
I'm creating alias to do few things and run into a problem:
Alias executes couple commands and on success starts download of resulting url, which is being copied into clipboard. Everything works fine, ...
0
votes
0answers
100 views
terminal ask for ssh passphrase every time
I'm relatively new in the Mac world, and right now I'm having a problem with Terminal. Every time I open Terminal (new tab or new window) I have to insert the SSH pass phrase.
Why? How can I ...
