Article View: aus.computers.linux
Article #55980Re: !HELP Needed with start-up files!
From: James Mcpherson
Date: Thu, 17 Apr 1997 00:00
Date: Thu, 17 Apr 1997 00:00
30 lines
1793 bytes
1793 bytes
mike (transam@netspace.net.au) spake thusly: : In article <3350c0d1.0@hades.ndirect.co.uk>, kingding-a-ling@ndirect.co.uk (Nao Yoshino) wrote: : > : >Can anybody give me some heading as to how I use start-up : >files on my linux machine? I'm running the Brone Again Shell (bash), : >but I don't know how to implement start-up files like .bashrc etc... : : Don't know too much about BASH, but you should create a (I think) .profile : file. I'm not sure if it will execute every time you log on or every time you : run an instance of BASH - one of the two. : Personally I recommend using tcsh as your shell. You then have a .login file : which executes when you login, and a .cshrc file which executes every instance : of tcsh which is run. This is where you can put your alias, history, prompt : settings etc etc. I disagree -- if you make use of shell scripts, then bash combines the best of tcsh and the traditional /bin/sh. Anyway, copy /etc/bashrc /etc/profile and any file of similar name from your /etc/skel directory and edit to your heart's content. You might need to add a line in /etc/bashrc to call $HOME/.profile. hth, jcm -- Historian/InterLibraryLoans/ITLO/Branch Sysmangler mljmcphe@dingo.cc.uq.edu.au j.mcpherson@central1.library.uq.edu.au hbjcm@karanthia.humbug.org.au
Technical Details
Message-ID:
<5j419r$qa5$1@nargun.cc.uq.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3350c0d1.0@hades.ndirect.co.uk> <5j3ru9$cf0$1@otis.netspace.net.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,677f48cf21978549 X-Google-Attributes: gid102983,public From: mljmcphe@mailbox.uq.edu.au (James Mcpherson) Subject: Re: !HELP Needed with start-up files! Date: 1997/04/17 Message-ID: <5j419r$qa5$1@nargun.cc.uq.edu.au> X-Deja-AN: 235336981 References: <3350c0d1.0@hades.ndirect.co.uk> <5j3ru9$cf0$1@otis.netspace.net.au> Organization: University of Queensland Newsgroups: aus.computers.linux