Index

Subject : Re: LUG: newbie ish question (.bashrc on eos?)

From : Joshua Small <jmsmall@ncsu.[redacted]>

Date : Sat, 04 Feb 2012 14:29:32 -0500

Parent


Alex, if you could find and link that dotfiles repair tool, that would help.
I was trying to change my default shell the other day, and was having no luck.  Like others had said, chsh, and other comamnds like chfn would exactly work, and kept asking to use a yp alternative like ypchsh, but then that program wouldn't work exclaiming the machine needed a domain name to do that.
I think the machine had something of that nature in /etc/sysconfig/networks

On Thu, Feb 2, 2012 at 11:59 AM, Alex Ray < alexjray.ncsu@gmail.[redacted] > wrote:

That helpful message brought to you today by your friendly LUG vice president.

I'll also add I'm pretty sure you also have a (dot)login file that is sourced by both tcsh and bash.

Also there is a dotfiles repair tool, so if you bork up your dotfiles so bad you can't login, you can reset them.

On Feb 2, 2012 11:48 AM, "Carson Holgate" < clholgat@ncsu.[redacted] > wrote:
Guys?!?!?!

DOES EOS DEFAULT TO TCSH?!?!?!?


On Thu, Feb 2, 2012 at 10:48 AM, William B. Refvem < wbrefvem@gmail.[redacted] > wrote:
EOS definitely defaults to tcsh. You'll need to do your customizations in .mycshrc.


On Thu, Feb 2, 2012 at 10:39 AM, Gary Gatling < gsgatlin@ncsu.[redacted] > wrote:
Hello,

I believe the files for bash shell that Realm Linux (A.K.A. the eos systems) will care about are:

~/.mybashrc
~/.mybash_login

If you log in and get a tcsh shell and then run bash at the prompt, these files will be sourced and you will have a familiar bash prompt. Not sure that this can be done automatically yet. At least when I tried it didn't work.

Many ITECS lockers are "addable" but some others ("add matlab") are not yet working. :(

We are working to try to get this fixed and also make it possible so that students would get bash as the default shell instead of tcsh. Or at least be able to choose bash as an option. Hopefully we can make some progress on this front in the spring semester. (I spoke with one of the sysadmins about this very topic last week at lunch)  Perhaps there could be a web page a student could choose a shell in as the command line tool (E.G. Red Hat's chsh command)  does not work with our environment for technical reasons.

Cheers,

Gary Gatling      | ITECS Systems
ITECS, BOX 7901   | Operations and Systems Analyst
NCSU, Raleigh, NC | Email: gsgatlin@ncsu.[redacted]
27695-7901        | Phone: (XXX) 513-4572 (5C Page Hall)



On Wed, Feb 1, 2012 at 10:29 PM, Alex Ray < alexjray.ncsu@gmail.[redacted] > wrote:
double check your shell.  NCSU accounts default to tcsh.  Use that RC file, or change your default shell.

Cheers

On Wed, Feb 1, 2012 at 10:22 PM, Stephen Smith < smsmit18@ncsu.[redacted] > wrote:
Hey all,
I'm trying to set up some .bashrc aliases on my eos directory.  Is this possible?  I can obviously create the file in my home directory and put bunches of lovely stuffs in there, but I can't get the aliases to 'activate'.  Any help would be appreciated.  I can alias one line at a time, but I think they go away when I log out.
-Stephen



--







Replies :