From owner-freebsd-questions Wed May 10 13:37:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from corinth.bossig.com (corinth.bossig.com [208.26.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 7E15837B91F for ; Wed, 10 May 2000 13:37:09 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (unverified [208.26.241.71]) by corinth.bossig.com (Rockliffe SMTPRA 4.2.1) with ESMTP id ; Wed, 10 May 2000 13:41:56 -0700 Message-ID: <3919C887.1CF86136@3-cities.com> Date: Wed, 10 May 2000 13:37:27 -0700 From: Kent Stewart Organization: BOSSig (BOSS Internet Group) X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: tw@ettnet.se Cc: freebsd-questions@FreeBSD.ORG, Archimedes Subject: Re: I may be new....but. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas Widlundh wrote: > > >> > >> In linux, by default, I think you get the basic shell or "bash", > >> this shell allows you to simply hit the up arrow to go through a > >> bunch of your previous command line commands. > >> So I install FreeBSD, and lo and behold, I can find no such feature > >> in the basic (bourne?) shell. Is there one? How about for other > >> shells like csh and ssh? > > Hi, > Well, in sh (Bourne shell) there is a list of 'history'. You can type h and a > list of your last commands will appear, with numbers. > I haven't figured out if you can use some kind of 'shorty' to repeat a command, > though. Anybody knows this? > > And another thing! Anybody knows what file brings a shell to start with that > perticular shell? I want to change sh to bash, permanently. Not just for the > moment. man chsh. There are other choices but they are all linked. When you run chsh, if you don't provide the right path, you will have to login and change it as administrator. If you are changing root, you will have to single user boot and then use /bin/sh. You can get away with "su -m" but I screwed up my .cshrc and tried that last night and it locked up two terminal's before I rooted my solution. Kent > > Thomas -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message