LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-09-2003, 03:07 AM   #1
ethanchic
Member
 
Registered: May 2002
Location: CDO, Ph
Distribution: slackware 9.0, LFS-3.3, mandrake 9.2
Posts: 65

Rep: Reputation: 15
command - autocomplete


I am a newbie to *BSD and my question seems stupid to you but for the benefit of others also I would like to know how will I autocomplete the command by just pressing the tab button.
 
Old 04-09-2003, 01:15 PM   #2
cdw
LQ Newbie
 
Registered: Dec 2002
Distribution: slackware8.1
Posts: 5

Rep: Reputation: 0
Read the manpage for your shell.
 
Old 04-10-2003, 12:51 AM   #3
sathyan
LQ Newbie
 
Registered: Feb 2003
Location: India
Distribution: Red Hat 9
Posts: 24

Rep: Reputation: 15
In order for autocomplete to work well, just try using the bash shell in BSD. Change your login shell to bash, it has a lot of features like history, autocomplete etc.
 
Old 04-10-2003, 01:13 AM   #4
ethanchic
Member
 
Registered: May 2002
Location: CDO, Ph
Distribution: slackware 9.0, LFS-3.3, mandrake 9.2
Posts: 65

Original Poster
Rep: Reputation: 15
how will i change my login shell to bash?
 
Old 04-10-2003, 02:14 AM   #5
Blackknight
Member
 
Registered: Apr 2002
Location: Rouen, France
Distribution: Slackware, FreeBSD
Posts: 34

Rep: Reputation: 15
'set filec' should work for csh and should be (by default ?) in your .cshrc. You should read the different files in /usr/share/skel/ which are the skeletons for rc files that are usually copied by adduser.
Try bash and csh and choose the shell you prefer.

Last edited by Blackknight; 04-14-2003 at 02:14 AM.
 
Old 04-12-2003, 12:22 AM   #6
ethanchic
Member
 
Registered: May 2002
Location: CDO, Ph
Distribution: slackware 9.0, LFS-3.3, mandrake 9.2
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks guys for your help.
 
Old 04-17-2003, 09:07 PM   #7
trn
Member
 
Registered: Feb 2003
Distribution: freebsd/gentoo
Posts: 68

Rep: Reputation: 15
chsh -s /path/to/shell works to change the shell, and all the shells are in the ports.
 
Old 04-19-2003, 03:22 PM   #8
cdw
LQ Newbie
 
Registered: Dec 2002
Distribution: slackware8.1
Posts: 5

Rep: Reputation: 0
for csh
set filec
"ctrl [" to complete
 
Old 04-26-2003, 12:02 AM   #9
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
took me about three weeks to drop bash for csh
(which I believe is really tcsh)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Autocomplete my username... fatrandy13 Linux - General 3 10-14-2005 04:02 PM
autocomplete figadiablo Linux - General 6 03-13-2002 04:19 PM
autocomplete marksstroud Linux - Newbie 1 11-11-2001 01:02 PM
Autocomplete in Redhat hazza96 Linux - General 9 06-24-2001 11:13 PM
inline AutoComplete hmorrow General 2 06-20-2001 04:15 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration