?
Solved

OS X Mavericks 10.9.1 command line difficulties

Posted on 2014-02-04
3
Medium Priority
?
1,354 Views
Last Modified: 2014-02-05
After installing Mavericks recently and opening Terminal, I get:

[Command not found: /bin/bashcd]

[Could not create a new process and open a pseudo-tty.]

when I launch. I occasionally copy/paste command line snippets from Terminal. What do I do to reset / get back to

markmbp:~ markmbp$

?
Mark
0
Comment
Question by:MarkJulie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 30

Accepted Solution

by:
serialband earned 2000 total points
ID: 39834802
[Command not found: /bin/bashcd]

Are you sure it has bashcd?  If it does, it suggests that you accidentally changed your shell to a non-existant shell.

To permanently change your default Terminal shell:

 Choose Preferences from the Terminal menu.

 Select the option "Execute this command (specify complete path):"

 Change the selected text entry from /bin/tcsh to reflect a different Terminal shell, such as:

 /bin/bash
 /bin/csh
 /bin/zsh
 /bin/zsh-4.0.4 (Mac OS X 10.2.8 or earlier)
 /bin/zsh-4.1.1 (Mac OS X 10.3 or later)
 /bin/ksh (Mac OS X 10.4 or later)

 Close the Terminal Preferences window.

 Quit and open Terminal again. The first and subsequent new Terminal windows open with the shell that you designated in Preferences.

Taken from:  https://support.apple.com/kb/TA27005?viewlocale=en_US

If that doesn't work, you might need to boot to single user mode to change it.
0
 
LVL 53

Expert Comment

by:strung
ID: 39835456
I think Serialband is right. I don't believe there is a bashcd shell. Use his instructions to change the shell back to bash.

You can see what shells are in fact installed by pulling down the GO menu in finder to Go To Folder and typing in /bin
0
 

Author Closing Comment

by:MarkJulie
ID: 39837426
Simple solution. Worked great the first time.
0

Featured Post

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question