Apple Switches tcsh for bash
gklinger writes "AppleInsider is reporting that Apple has switched from tcsh to bash in the the latest developer build (7B44) of Mac OS X 10.3 (Panther). There is speculation that the switch was made to appeal to Linux users. Experienced users get pretty religious about their shells so what remains to be seen is how diehard tcsh users will react." I don't know about appealing to Linux users in particular, but I just don't know many people who prefers tcsh these days, on any platform. It seems like everyone is using bash or zsh.
You can get all the software updates from the command line, at least the ones that come through Software Update. The command is "softwareupdate", and needs to be run as root.
from shell (or just find the double clickable icon):
/Applications/Utilities/NetInfo\ Manager.app
open
now navigate to users->$userWhosShellYouWantToChange
find the key named....(this is a tough one) "shell" and then just put the shell you want...bash....whatever...
I think what he was saying is:
/some/big/long/complicated/dir/name[enter]
ls
[up arrow]
[backspace]x5
[down arrow]
[up arrow]
The "/name" is still missing. This history has been edited. There is no way to get it back. I like it for when I accidently type my password on the command line, I can go back up and delete it, and it will be gone. I don't like it, when I remove a complicated command and then discover I need it again.
four nine eighteen twenty-7 thirty-nine forty-7 fiftyeight sixty-nine seventy-9 eighty-8 one-hundred-and-nine one-twenty
This will not happen. sendmail is written by Kirk McKusick's partner, Eric Allman, and Apple are still trying very very VERY hard to recruit Kirk to help with speed and more robust POSIX compliance. Pitching Kirk's life partner's work would not be a convincing way of showing Kirk much they want him on board.
So you have a situation like this?:
/usr/local/gugalwumpus-3.2 /home/you/froombor.tar.gz ___________
/usr/local/gugalwumpus-3.2 /home/you/froombor.tar.gz !$
/newdir"
mkdir
cp
I'd do this:
cp
The !$ means "the last part of the last command".
Other cool "bang" commands are:
!! - repeat the last command
!-n - repeat the nth previous command
!* - all of the arguments to the last command
So, if you've ever typed "vm stuff
You *could* up arrow, control-A, control-D, control-F v
or you could type "mv !*"
Lots of nifty shortcuts. Of course, I use tcsh, so what do I know?
Come again?
Funny troll, but emacs is part of the default install.
Caveat: it's possible that emacs is part of the developer's tools rather than a base OSX installation. I don't think that matters though: if you're looking for a "real Unix", then you're going to want a C compiler and all the rest anyway, so you're going to check off the button for "install BSD subsystem" at system install time and you're going to install the developer's tools immediately after you first log in to the system. So whether Emacs was available 0 minutes or 2 minutes after the first login, I still would call that part of a complete operating system, and saying that it's not available is just trolling.
DO NOT LEAVE IT IS NOT REAL
gabe@jupiter:~$ chsh /bin/tcsh /bin/tcsh
/users/myusername shell /bin/tcsh
chsh: unknown user:
Well, even if you do just 'chsh' and edit the Shell line, it still doesn't make any changes to netinfo...
Perhaps you'll want to do this instead:
niutil -createprop .
Gabriel Ricard
Came with the system. I'm in process of setting up a brand new laptop with OS X 10.2.6, and emacs is there. I haven't even installed Developer Tools as of yet, which is where it was before. So sometime, probably in some update from 10.2.3 to 10.2.6 emacs was added to the basic OS.
I have my bash environment set up to do case-insensitive tab-completion
to do this in OS X:
pico ~/.inputrc
add the following line:
set completion-ignore-case on
ctrl-o (CTRL!!!! not command!!!!)
now restart bash....
This is a BSD/Sys V difference and a pain that everyone who made the transition from Sunos 4.x to Solaris had to deal with.
Or skip the "here's how to use a text editor" steps entirely:
The file redirection operators are your friend, no matter what shell dialect you prefer. :)
DO NOT LEAVE IT IS NOT REAL
You can just update your account to use whatever shell you want anyway. I see both bash and tcsh on my MacOS X 10.2 install, so there should be no trouble for someone who cares enough to change shells.
It is a moot point.
Brennan Stehling - http://brennan.offwhite.net/blog/