1
vote
0answers
22 views

Aggressize standard stream buffering in latest Command Line Tools (6.1)

I just upgraded my "Command Line Tools" via App Store.app's update process to Version 6.1. It seemed to install just fine, but a lot of commonly used command line tools now have much more aggressive ...
0
votes
1answer
50 views

Commands not found in Terminal except echo

In my terminal basic commands are not found like: mds-macbook-pro:~ ZILLURRAHMAN$ ls -bash: ls: command not found mds-macbook-pro:~ ZILLURRAHMAN$ env -bash: env: command not found mds-macbook-pro:~ ...
3
votes
1answer
101 views

Terminal flashes on empty backspace with Yosemite

Since using the Yosemite, I've had the annoying problem of my current Terminal window flashing when backspacing on an empty line. I know on previous versions of OS X this flashing was not default, and ...
4
votes
1answer
741 views

View passwords of all Wi-Fi networks my Mac has connected to in the past

I have connected my Mac to lots of public Wi-Fi networks. I want to know their passwords. What should be the terminal command to list all the Wi-Fi networks whom I connected with in the past with ...
0
votes
0answers
40 views

Bash shell doesn't inherit $PATH set in /etc/launchd.conf

I am new mac OS X user and recently I am setting up my laptop as a work environment. That concerns environment variables setting in shell. After some search work I found several ways to set ...
1
vote
1answer
34 views

Home folder name changed but terminal prompt is still showing last name

I changed the name of my home folder in 2 ways. First I change it using the instructions from the official Apple website: sudo mv /Users/old_name /Users/new_name and then I also changed it going to ...
4
votes
0answers
32 views

Launchd starts event 40 seconds later?

I've created a .plist file, which should act as system daemon (global with root user). This .plist file listens to the settings directory for changes like changing network settings. When this happens ...
0
votes
1answer
22 views

Why my brew does not work?

I installed brew before, but it does not work now. When I run brew, it give me the error -bash: brew: command not found So I tried to reinstall using the code ruby -e "$(curl -fsSL ...
1
vote
1answer
58 views

Recompiling bash to avoid shellshock seems to have messed up bash

I probably shouldn't have even messed with it, but I followed the instructions to recompile bash here: How do I recompile Bash to avoid Shellshock (the remote exploit CVE-2014-6271 and CVE-2014-7169)? ...
3
votes
2answers
31 views

Merging multiple AIFF files from the command line

Is there a way to put multiple commands in different voices into the same audio file. I know you can do this: say -v "Cellos" "la di da" -o ex.aiff But I have multiple commands in different voices ...
1
vote
1answer
520 views

brew bundle reporting “Error: unknown command: bundle”

I'm completely puzzled by this one. I have refactored my install scripts to use the new brew bundle feature. However, I'm getting "Error: unknown command: bundle" $ which brew /usr/local/bin/brew $ ...
0
votes
1answer
50 views

What is the meaning of the command lsof +L1

lsof +L1 My understanding is that the command above shows files that have been deleted but are still open. These files have a “link count” of 0, meaning that there is no directory entry (no link, ...
1
vote
0answers
12 views

No access privileges after new setup via Terminal commands OSX 10.5.8

I have an old G5 Mac running OSX 10.5.8 (leopard)and I had forgotten my admin password. I used some excellent terminal commands I found at Ask Different to Reset the initial setup. I used a different ...
0
votes
2answers
37 views

List of all dates+times when I used my MacBook?

I need a list of the periods of times I used my MacBook throughout the last 30 days. It would be sufficient to have a list of all lid-open and lid-close datetimes (because I close the lid whenever I ...
1
vote
1answer
110 views

How can I fix this CODESIGNING error?

After having successfully compiled bash and sh for OS X Mavericks our OS X Server's System Log is flooded every 2 or 3 seconds with: ... kernel[0]: CODESIGNING: rejected new signature for ...
2
votes
0answers
46 views

New users can't see Apple applications from Utilities folder in Launchpad

I felt like giving my mess of Launchpad icons a fresh start. So I did defaults write com.apple.dock ResetLaunchPad -bool true && killall Dock On checking Launchpad, it had appeared to have ...
2
votes
0answers
26 views

MacVim: difference in syntax highlighting in terminal and GUI

I installed MacVim with homebrew, and specified the option to override system vim. It can be confirmed by looking at the version of vim in terminal. However, I don't understand why the terminal ...
0
votes
1answer
41 views

Launching Terminal Freezes the System for 5 Minutes in Mavericks

Only recently, when I launch Terminal in Mavericks, the system becomes unresponsive temporarily: the spinning wheel appears; I can still move the mouse pointer but nothing responds; if Activity ...
1
vote
0answers
41 views

Terminal window is now blank

A Terminal newbie here. I had downloaded and installed Git, but when I typed "Git --version" I would get illegal instruction. I tried to uninstall Git and now my Terminal window in blank. How do I ...
0
votes
1answer
27 views

Confusion with sudo and multiple local accounts

I am having difficulties figuring out why certain things are much more complicated on a mac terminal than a standard linux shell.. Say I have two local accounts, one administrator called "adm" and a ...
0
votes
1answer
46 views

Terminal command `screen` will not split windows vertically

Macs come with screen natively installed, but I seem to have a problem with mine. After running screen and creating another window (ctrl+a, c), the split command (ctrl+a, |) won't do anything. ...
2
votes
1answer
29 views

How do I forcibly shut down a specific application at a pre-determined time?

I don't know if there's an available app or perhaps a terminal command, but I'd like to forcibly shut down a specific application at a specific time, without the option to cancel. I'd like it so I ...
1
vote
1answer
69 views

Cannot SSH from OS X Mavericks to Solaris server

Well, this is embarrassing. It was a case sensitive issue. Prior to posting the -v output on this site, and probably due to looking at this problem for too long, I forgot the fundamental rule of case ...
1
vote
1answer
22 views

How can I ask for input and then pass the variable in terminal?

I'm currently trying to do something quite odd. I want to automate updates on multiple computers in my office and first I need to open a program and said program has two fields; one for username and ...
1
vote
1answer
32 views

Installing software on a MacBook

I'm switching from PC to a MacBook and wondered the best convention for installing new software. For example, I've downloaded the Atom IDE, unzipped the 4 files and put into the ...
4
votes
2answers
82 views

How to check the exit status of an application after using 'open' in shell

I've looked all over for this and I'm not entirely sure how to do this. I want to use a bash script to open an application using 'open' and then check the exit status of the application after it has ...
0
votes
1answer
77 views

See all Apple Hidden Files

I came from Windows 2 years ago and I knew there were hidden files in all OS's. As Windows has the simple option to show them to you, I supposed that if I contacted Apple support they would tell me ...
2
votes
1answer
275 views

Why doesn't (can't?) terminal support the x11 protocol?

It would be great to be able to x tunnel over ssh; why does one have to use XQuartz (etc) instead?
0
votes
0answers
129 views

Change source in Audio MIDI Setup via command line?

Is there a way to change the AirPlay source in Audio MIDI Setup via the command line (currently I'm doing this with GUI scripting)? My idea is to change the source with the defaults command in the ...
3
votes
1answer
169 views

What is the difference between 'Capacity' and '%iused' when running the 'df' command in the terminal

When I run the df command I'm getting different values for capacity and %iused. What is the difference between them?
0
votes
0answers
35 views

OSX 10.9.4 Other sound device selected; sound still from internal speakers

This issue here is my exact problem (his was unsolved): OS X ML 10.8.2 sound from certain applications going to non-selected sound card? I have "Sound Flower 2ch" device selected, most all of the ...
1
vote
2answers
78 views

Finder treating symbolic links differently than terminal MacBook Pro Retina OS X 10.9.4

I created symbolic link jboss7 for hard link jboss-as-7.1.1.Final-downloaded and it worked fine in Finder. Then I made backup before modifying JBoss... ln -s jboss-as-7.1.1.Final-downloaded jboss7 ...
2
votes
1answer
241 views

Preview Not Opening File - Permissions Issue (via Python)

I have a Mac VM running Mavericks (10.9.3), and for various reasons I am trying to write a script in Python to automatically transfer a PDF file to the VM and open it in Preview. For anyone who ...
1
vote
1answer
65 views

Difference between variable and pipe to shell in applescript

In answering this question I wrote this script: global presenterNotes tell application "Keynote" activate open (choose file) tell front document set presenterNotes to presenter ...
1
vote
1answer
97 views

Striving to become power user on OS X (coming from Windows)

I'm a long time Windows developer guy & did lots of lower-level stuff (hesitate to say power user). I'm very proficient on the command line and using PowerShell... but now that I've moved over to ...
2
votes
2answers
39 views

Terminal window title rapidly changes when first opening

When I open a fresh terminal window, the title at the top has this format: [house icon][username]-[command]-[terminal size] The command portion of the title initially says login, then it very quickly ...
2
votes
0answers
35 views

How to make files safe so users can download and OS will not quarantine them?

I work with Axure software that generates dynamic and navigable prototypes in HTML. Once they are done I need to send a ZIP file of those HTML files to clients via e-mail or any download internal ...
0
votes
1answer
45 views

Start the process WindowServer per Terminal

I have to start the WindowServer Via the Terminal: /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/WindowServer I can not use killall -HUP ...
0
votes
1answer
56 views

Terminal won't ask for passphrase and not stored in keychain

I recently rent a VPS and generated a public/private key pair and transferred it to my server (added it there to the authorized_keys file) ... So far on my first login via terminal on OSX I got asked ...
0
votes
1answer
13 views

Launch iTunes and iPhoto when external USB drive is connected

Is there a code that I can just copy an paste into Terminal or Automator? If not what is the best Application to download?
1
vote
1answer
57 views

Unknown error message in Terminal

When I open the Terminal I keep getting this message, which I suppose is some error: /Users/sinisasasic/.zshrc:export:48: not valid in this context: ...
2
votes
1answer
33 views

click select IPv6 address in terminal

When clicked on IPv4 address in terminal window, it gets selected as a whole, not a single octet. The same action does not work for IPv6 adress, it does not get selected. I assume there is some ...
2
votes
1answer
17 views

Piping into printf

In Terminal, I'm trying to replace MY_SUBJECT and BODY_OF_EMAIL from the command below: printf "From: Sender Name <sender@domain.com>\nTo: recipient@domain.com\nSubject: ...
1
vote
1answer
46 views

How to disable middle click paste Mavericks Terminal?

I have looked all over the Net and can't find a way to disable middle-click paste in the Terminal application in Mavericks? I want it scroll but not paste. Anybody know how to fix this? I'd sure ...
0
votes
1answer
135 views

How to change computer name so terminal displays it in mac os x maverick?

I have a Mac Server 3.1.2, w/ system 10.9.4 that is not being used as DNS Server. Windows Server 2012 is DNS & DHCP server. On the Mac, Terminal cannot ping hostname of mac, however, it does ...
0
votes
0answers
27 views

Bootstrap context issues when logging in via ssh with private key

I use ssh to connect to my laptop remotely. Recently, I decided to improve security by using a private key to authenticate instead of a password. I am able to connect and login with my user account, ...
0
votes
1answer
187 views

How do I know if my mac's Terminal has been hacked?

I was using Terminal just now and realized that I was seeing something different on the screen than I have in the past. I can't remember what it used to be, but I know for a FACT that I have never ...
1
vote
0answers
30 views

Restoring original files from the trash by aliases

Someday in the future, (definitely not today) I might find myself in the following situation and be in need of assistance: Lets say I was trying to clean up my desktop and tried to move many files ...
0
votes
1answer
46 views

Completely restore root and home folder after many problems with Macports and Homebrew

I had a long day battling with installing a LAMP environment with Macports. I installed several things, had many problems, tried uninstalling them (not sure if I did), and on and on. Then, I tried ...
1
vote
3answers
49 views

echo works incorrectly with GeekTool

I am trying to use echo in GeekTool to print text without a newline like this: echo -n "test" When I run that command in Terminal it prints this: test In geek tool it prints this: -n test What is ...