Re: export PATH (newbie question)

2003-10-19 Thread David Eduardo Gomez Noguera

> I suppose that if there aren't at least six ways to do something, it  
> isn't worth doing ;)
> 
> Now, out of plain old curiosity, where DOES bash get the default path  
> from (as set by the administrator or RH), as it does not show up in ANY  
> of the 3 files above???
> 

PATH does not get default anywhere. It is initially set on some
initialization script (i dont remember which) to what may be called the
default, but thats not a default imho.
It is then incrementaly reset avery now and then.
i.e. I think there is a directory under /etc that has a lot of scripts.
Notice how /etc/profile gets executed only on login, and the lines that
add *sbin get executed if uid=0 (root= only.

But it is perfectly ok to add/remove entries if you like (hint, you
coudl do it with a line or two of awk) anywhere else that gets executed
at some point.
i.e. most user level customizations should go in ~/.bash_profile or
~/.bashrc, while system wide should go in /etc...

run this line to give yourself an idea.

find /etc/init.d/ -exec grep PATH {} \; -print

likewise, any of the scripts there could includ any other script
(located somewhere else) that could well add/remove entries from the
path.
Hope that helps.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Memory Resources - Howto Refresh

2003-10-16 Thread David Eduardo Gomez Noguera
On Thu, 2003-10-16 at 07:22, Eduardo A. dela Rosa wrote:
> Hi,
> 
> After days of work, without rebooting my box, it suddenly slowed
> down.  My filesystem is just 
> 41% of the total size that my hard disk can hold. I executed "free" to
> check on the available
> memory resources. I found the following information:
> 
> [EMAIL PROTECTED] xxx]$ free
>  total   used   free sharedbuffers cached
> Mem:505220 428728  76492  0  16860 195208
> -/+ buffers/cache:   216660 288560
> Swap:  1052248 194312 857936
> Well, I don't really want to reboot my box.  Is there a way that I
> could refresh (or probably
> release the unused) resources of my box?  After all, some of my
> previously used
> applications (eclipse, jboss, and mysql) have been shutdown for quite
> a long while now.
> 

You can turn off and on the swap if you want, but I dont think there is
any tool to release main memory.
It is loaded because some process might need what is in ther (i.e. if
you restart eclipse, its library functions are very likely to be already
there, if not swapped)



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: file permissions.

2003-10-10 Thread David Eduardo Gomez Noguera
On Thu, 2003-10-09 at 22:32, Michael S. Dunsavage wrote:
> So saying it's an upload dir, how bout write but no delete?  
> 
> On Thursday 09 October 2003 02:07 pm, you wrote:
> 

most ftp servers (I dont know all) are just jailed accounts. Just remove
the perms of said program if they work that way.
else, there can be some specific way for that server.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Can I burn a CD containing Power Point files with X-CD Roast

2003-10-09 Thread David Eduardo Gomez Noguera
On Wed, 2003-10-08 at 20:57, damovand wrote:
> On Wednesday 08 October 2003 01:05 pm, Jonathan Bartlett wrote:
> Thank you for your replies,
> 
> I tried it again and it worked.  I don't know what happened the first time and 
> what fixed it but I'm glad I was able to put my lecture on the CD.  I'm going 
> to try several times more before I can say I know what I'm doing.
> 
> Thansk again everyone.  I love the fact that I'm using my Linux for tasks that 
> I used to do on XP.  I cannot wait to get better at it.
> 
I couldnt reply before because I couldnt say what your problem was, but
it seems that you were trying to put 2 files with the same name on the
same location on the cd somehow, as in:

mkisofs: Error: '/root/ppt_chp3.ppt' and '/root/ppt_chp3.ppt' have the
same Rock Ridge name 'process.ppt'
mksiofs: Unable to sort directory root

but glad it worked all right now.
> > > =
> > > Warning: creating filesystem that does not conform to ISO-9660.
> > > Using PPT_CHP3000.PPT;1 for  root/ppt_chp3.ppt (ppt_chp3.ppt)
> > > Using PROCESS000.PPT;1 for  root/process.ppt (process.ppt)
> > > mkisofs: Error: '/root/ppt_chp3.ppt' and '/root/ppt_chp3.ppt' have the
> > > same Rock Ridge name 'ppt_chp3.ppt'.
> > > mkisofs: Error: '/root/process.ppt' and '/root/process.ppt' have the same
> > > Rock
> > > Ridge name 'process.ppt'.
> > > mkisofs: Unable to sort directory root
> > >
> > > -> mkisofs reported an error while calculating the session size!
> > >
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:[EMAIL PROTECTED]
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:[EMAIL PROTECTED]
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Name the damen that runs on the desktop that has the drop down menu

2003-09-09 Thread David Eduardo Gomez Noguera
On Tue, 2003-09-09 at 19:12, Clark wrote:
> Does any one know the name of the damen ( or program )that runs to give you
> the
> Drop down menu on the desktop ( gnome ) when you right click on the
> background ?
> ( you get terminal, new window and other things ) Version RH 9 would okay, 
> 
> What config file turns it back on ? 
> 

It has been the work of the window managers for many generations, and
the nice thing was that you'd get three(yes, three! or even more)
depending on the combination of mouse and keyboard you used), and that
was nice, as you would get simpler menues that way

Now, I think the application you are talking, as its rh9, is Nautilus.
Dont know about configuration file, but check youre running nautilus,
and if the menue (yes, only got one) still doesnt appear, run
gconf-editor on a terminal and look at your nautilus settings.
> Thanks 
> Clark
> 
> 
> 
> 
> 
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: /etc/hosts trouble

2003-08-31 Thread David Eduardo Gomez Noguera

On Sat, 2003-08-30 at 07:36, [EMAIL PROTECTED] wrote:
> Hey everyone,
> 
> Somethin weird happened on my box and the /etc/hosts file turned out to be
> empty. I tried editing it but I keep getting : Input/Output error from
> bash. any clues?
> 
file /etc/hosts
what is the output of the above command?
> Dont think the file is there, so why cant i write to it?
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: A c programing question.

2003-08-23 Thread David Eduardo Gomez Noguera
On Sat, 2003-08-23 at 03:34, reza saeidinia wrote:
> I have a project and in my project I have some folders. in any of my
> folders there are some c and h files.
> 
> the files in the folders dont know headers in the base project folder
> and other folders.and all of files exist in project.
> 
> how I can solve this problem?
> 

first, please stop the windows jargon, I barely understood you. What do
you mean "a project"?
You have a hierarchy of directories, and on some of them, you have C
source files.
again: What do you mean "they dont know headers in the base..."
You didnt tell what is your problem either. So, what is it?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


questions on /etc/fstab syntax

2003-08-15 Thread David Eduardo Gomez Noguera
Hello.
I am having problems with the inhability of fstab (or of me) to handle
this.

1. Cant mount interpret shell variables on fstab? I tried to  tell it
that samba credentials file for a mount are in their home directory, and
that the mount point should be there too to no effect.

2. Cant it handle directory names with spaces in it? Again, I have an
exported directory, but cant use /etc/fstab with it (I tryed with double
and single quotes and escaping the space on the file to no efect)

Thank you for any pointer/explanation.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Non-root using port 80

2003-08-14 Thread David Eduardo Gomez Noguera
On Mon, 2003-08-11 at 05:36, [EMAIL PROTECTED] wrote:
> 
> 
> Hi Guys,
> 
> I would like to set apache to be started with a user non- user root. As
> port 1 to 1024 is for user root, how could i start the server with a
> non-user root?
> 

I think you could put apache to listen to other port, and set an
iptables rule to port-forward new connections from port 80 into that
other one.
Its only a suggestion, as I am not quite acknowledged.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Lost my desktop

2003-08-10 Thread David Eduardo Gomez Noguera
On Sun, 2003-08-10 at 07:16, Thomas E. Dukes wrote:
> Hello,
> 
> This is weird.  I did a re-boot (was setting up NFS) and when it came
> back up and I logged in, I don't have any desktop icons nor can I
> right-click on the desktop to re-create them.  I have tried logging out
> and back in and re-booting numerous times but still no desktop.  The
> gnome panel is running.

open an xterm and run nautilus from there. I can ony guess that nautilus
is no running.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Mounting fat32 partitions

2003-08-07 Thread David Eduardo Gomez Noguera
On Thu, 2003-08-07 at 05:40, Johan Andersson wrote:
> Hi!
> 
> Use the options umask= and gid= when mounting the filesystem.
> Ex. fstab entry:
> /dev/hdd1/mnt/filestorevfatauto,umask=007,gid=100
> 
I remember I did that once and didnt work. If it doesnt work as is, then
change the umask to 0007 and 0100. 
Im not sure if every distro would have that difference.

just my 2 cents.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: C question

2003-08-02 Thread David Eduardo Gomez Noguera
On Sat, 2003-08-02 at 02:19, Buz Davis wrote:
> Sorry if this is as dumb as I feel, but I haven't been successful at
> digging out
> an answer.
> 
> I would like a routine to read the keyboard and report the single key
> pressed,
> and give me control back without waiting for ENTER to be pressed.
> Under MSDOS (where all of my c experience has been) there was a c
> routine
> called getch() that would do just this.  I can't seem to find one under
> Linux.
> 
> I have tried calls to setvbuf specifying _IONBF, hoping that it would
> alter the
> workings of fgetc(stdin), but it didn't seem to help.  I tried copying
> the unbuffered
> getchar routine (which uses read(0,&c,1)) from K&R, but it waits for me
> to press
> ENTER, too.  The only success I've had involved guessing at how to use
> Curses.
> Unfortunately, although the man pages for individual curses routines
> (like it's getch)
> say 'see also curses(3x)'  there apparently is no such page on my
> system, so
> I really don't know if I am misusing things or not.
> (Second question: is there an overview of Curses available somewhere ?).
> 
> Could somebody point me in the right direction ?
> 

you might want to read the infopage of (g)libc on Terminal Modes.
But maybe it would be easier to take a look at ncurses (which i never
had), I have heard there are a routines to dealt with those sort of
problems.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: installing programs under x windows?

2003-08-01 Thread David Eduardo Gomez Noguera
On Thu, 2003-07-31 at 22:31, Jason Dixon wrote:
> On Thu, 2003-07-31 at 23:20, David Eduardo Gomez Noguera wrote:
> > On Thu, 2003-07-31 at 21:03, the brilliant beast wrote:
> > > hello I installed real player rpm package. this is a   x windows ap.
> > > how ever when I look in my list of aplications I do not see it.
> > > where does all the programs I install go??
> > > this is frustrating me  cause I can't find it on here.
> > > can you help me out?
> > > thanks
> > > hank
> > > 
> > 
> > It is, in my humble opinion, not a good idea for an app to add itself to
> > menues. you could do an 
> > rpm  -qi
> > on teh rpm you just installed to see where the binaries are. Then
> 
> Please be careful with the advice you hand out.  This is the 2nd
> questionable RPM suggestion I've seen you post.  The correct command to
> view installed files, as mentioned by Bret, is "rpm -ql ",
> where  is the name of said package.
> 

oops, my mistake, yeah, sorry.


> If you're unsure of the name of the package, you can use the "rpm -qf
> " command to get the package that owns a particular file.  This is
> in contrast to your earlier suggestion of "rpm -e --whatprovides `locate
> apachectl`".  First, the --whatprovides option is used with the query
> (-q) flag, not the delete (-e) flag.  In this case, the user should have
I was just doing guess work, and I marked my suggestion as dubious.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: installing programs under x windows?

2003-07-31 Thread David Eduardo Gomez Noguera
On Thu, 2003-07-31 at 21:03, the brilliant beast wrote:
> hello I installed real player rpm package. this is a   x windows ap.
> how ever when I look in my list of aplications I do not see it.
> where does all the programs I install go??
> this is frustrating me  cause I can't find it on here.
> can you help me out?
> thanks
> hank
> 

It is, in my humble opinion, not a good idea for an app to add itself to
menues. you could do an 
rpm  -qi
on teh rpm you just installed to see where the binaries are. Then
manually ad a launcher to whatever desktop/window manager you are
currently using, or run it from a terminal. 
You can also set up mozilla to use it.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: linux xwindows web browsers?

2003-07-31 Thread David Eduardo Gomez Noguera
the brilliant beast wrote:

hello I am in search of some good web browsers that are either java based 
and use the java swing tool kit or browsers that use the gtk 2.0 tool kit.
any recommendations?
thanks
hank

 

get mozilla compiled with gtk2.
looks pretty nice if you use a theme (for mozilla) that is not all pixmaps.
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Can't find sqrt()

2003-07-29 Thread David Eduardo Gomez Noguera
That is because mathematics libraries are not standardly (:P yuk! )
linked to programs.

add this to your gcc line:

-lm

that tells gcc to tell ld to link your program with some library file
named libm.so or libm.a (depending if it is shared or statically
linked...

On Tue, 2003-07-29 at 22:01, Buz Davis wrote:
> Hi,
> 
> I have encountered a problem that is undoubtedly a reflection
> of my ignorance of Linux.  In attempting to compile the following
> simple C program:
> 
> #include 
> #include 
> #include 
> #include 
> 
> int main (int argc, char ** argv)
> {
> double x=102.3;
> 
> printf("square root of %f is %f\n",x,sqrt(x));
> return(1);
> 
> }
> 
> with the following statement:
> 
> 
> gcc -Wall -D_GNU_SOURCE testsqrt.c -o testsqrt.o
> 
> 
> I get these messages:
> 
> /tmp/ccLhrAjI.o(.text+0x2b): In function `main':
> : undefined reference to `sqrt'
> collect2: ld returned 1 exit status
> 
> According to the man page math.h is the correct header.
> Do I need to explicitly include a statement to the linker
> for the math library ?  If so, which is the appropriate
> lib ?  I have looked at libm.a (with ar -t) and don't find
> a sqrt.o in it (though there are several modules with sqrt
> within the name).
> 
> I am running a workstation install of RH9 - essentially
> right out of the box.  After I first encountered this message
> I did run up2date for the 3 RPMs dealing with glibc, but that
> didn't change things.  Otherwise everything is as it came off
> the install CDs.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> Buz Davis
> 
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Apache removal

2003-07-29 Thread David Eduardo Gomez Noguera
On Mon, 2003-07-28 at 21:18, Ben Sewell wrote:
> I have Apache 1.2.20 which was installed during Red hat 7.2 installation. 
> How do I uninstall Apache before I install my prefered version of Apache?
> 
> I remeber rpm -e but no idea what the package is called.
> 

this might be wrong, but try

rpm -e --whatprovides `locate apachectl`

but to go to the sure, try httpd for the rpm name.
> _
> Add photos to your messages with MSN 8. Get 2 months FREE*.  
> http://join.msn.com/?page=features/featuredemail
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: stddef.h

2003-07-23 Thread David Eduardo Gomez Noguera
What program is that? We can do nothing without knowing what youre
trying to do. Simply sending you a copy of one of ours may cause mayhem
as its a source file adn could be different than ours.
It sounds as you are trying to compile/build a program. Is that right?
what program is it?

On Wed, 2003-07-23 at 07:04, reza saeidinia wrote:
> Is stddef.h a system file of linux? if it is true please send this 
> file for me.
> > I want to run a program and the error "no rule to make 
> /usr/includs/sys/stddef.h" is accured . please help me.
> 
> 
> 
> 
> __
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Alternatives to KDE/Gnome?

2003-07-21 Thread David Eduardo Gomez Noguera
On Mon, 2003-07-21 at 18:30, Michael Scottaline wrote:
> On 21 Jul 2003 18:08:40 -0400
> David Hart <[EMAIL PROTECTED]> insightfully noted:
> 
> >KDE seems to run better than Gnome w/RH9 (for me - YMMV). Nevertheless
> >both environments seem to have gone way over the top.
> >
> >There MUST be alternatives that are less ponderous. I'm much more
> >interested in efficiency and speed than pretty displays, animations or
> >other visual effects that add nothing to usability.
> >
> >Suggestions?
> 
> Sure:  give ratpoison a try.  It's the best minimalist wm I've tried thus far.
>  Ion is also quite good, as is uwm.
> Just my US$0.02,
> Mike

really?
what about evilwm

heck! If I  remember right, the binary is about 17 Kb!

(But thats just a bit ridiculus. I think it could be used on some kiosks
though)


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: apache not starting up

2003-07-15 Thread David Eduardo Gomez Noguera
On Mon, 2003-07-14 at 21:18, Daniel Tan wrote:
> hi,
> i am trying to start up my apache using service httpd start.i get ok.but
> when i point to the page, no page displayed.
> i am listening on another port instead of the normal port 80.
> doing a restart of the service does not help too n i always get a failed
> status for stopping the process

try 
netstat --listen -p

to see if apache is really up, and what port it is listening to.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: No directory /home/username!

2003-07-08 Thread David Eduardo Gomez Noguera
On Tue, 2003-07-08 at 20:53, Deepak Nair wrote:
> i get this message while logging in as a non-root user :
>  
> No directory /home/username!
> Logging in with home="/"
> bash-2.05 $
> 
Does the directory exists?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: newbie in RH

2003-07-04 Thread David Eduardo Gomez Noguera
On Fri, 2003-07-04 at 04:30, snort bsd wrote:
> hi all:
> 
> newbie in linux and loads of questions.
> 
> i installed RH 8.0 and noticed that i can use gui to
> start or restart some services. Looked at
> /etc/rc.d/init.d and saw a lot of executable files. my
> question are:
> 
> under solaris /etc/rcX.d, files start with "S" will be
> loaded automatically whne the system starts. so if i
> don't want some daemons start, i just change those "S"
> to "s". what about RH? could do something similar
> instead of relying on GUI?
I think yes, but since all them are links, it might be easier only to
remove them. (and their K counterparts if any)


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Sound

2003-06-14 Thread David Eduardo Gomez Noguera
If you have made your soundcard work with, say, xmms, then lookout for
what sound daemons your running, if any (i.e. esd, or that of kde or
another, or any at all) and look for what sound daeoms your apps are
trying to use, if any. An how they are configured.
What could be happening is that they keep stepping on each others toes.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Redhat 9, Mozilla (or Konquerer) and Hushmail

2003-06-09 Thread David Eduardo Gomez Noguera
On Mon, 2003-06-09 at 07:04, Michael Kalus wrote:

you need some variables set in your  ~/.bash_profile and/or ~/.bashrc
for java to work
i.e. add the path to the java binary to the variable $PATH
some $JAVAHOME should be there too, if i remember.
check the readmes's from the file you got from sun.

Hope that's the problem.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How Switch To CSH Shell in RH?

2003-06-01 Thread David Eduardo Gomez Noguera
On Sat, 2003-05-31 at 08:19, Joseph A Nagy Jr wrote:
> David Eduardo Gomez Noguera wrote:
> > On Fri, 2003-05-30 at 23:23, Joseph A Nagy Jr wrote:
> > 
> >>David Eduardo Gomez Noguera wrote:
> >>
> >>>your shell is stored in /etc/passwd as the las field.
> >>>
> >>>However, you can change that value by running the command
> >>>chsh
> >>>it will ask you for your passwd and then for the full path to the shell
> >>>executable
> >>>
> >>
> >>
> >>
> >>That's odd, I can just type in "csh" or whatever shell I want and bam, 
> >>it switches. To get back, I just type exit.
> >>
> > 
> > That way you are just running a shell. But with chsh you change your
> > default shell, for the next session and forevermore, which is what I
> > think he was asking for, as he said that just typing the commands didnt
> > do what he expected.
> > 
> > 
> > 
> 
> Actually, he was asking about switching to csh/tcsh, I didn't see any 
> questions about permanancy, but I could be wrong.
> 

I could have understood it wrong, but here is what he did say.

-Cut Here
ls -a /bin shows both of them in there, but I though
typing either tcsh or csh would switch the shell.  
-Cut Here



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How Switch To CSH Shell in RH?

2003-05-31 Thread David Eduardo Gomez Noguera
On Fri, 2003-05-30 at 23:23, Joseph A Nagy Jr wrote:
> David Eduardo Gomez Noguera wrote:
> > your shell is stored in /etc/passwd as the las field.
> > 
> > However, you can change that value by running the command
> > chsh
> > it will ask you for your passwd and then for the full path to the shell
> > executable
> > 
> 
> 
> That's odd, I can just type in "csh" or whatever shell I want and bam, 
> it switches. To get back, I just type exit.
> 
That way you are just running a shell. But with chsh you change your
default shell, for the next session and forevermore, which is what I
think he was asking for, as he said that just typing the commands didnt
do what he expected.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: How Switch To CSH Shell in RH?

2003-05-31 Thread David Eduardo Gomez Noguera
your shell is stored in /etc/passwd as the las field.

However, you can change that value by running the command
chsh
it will ask you for your passwd and then for the full path to the shell
executable

On Fri, 2003-05-30 at 22:41, CM Miller wrote:
> For the life of me, I can't remember how to switch to
> csh/tcsh shell.  
> 
> ls -a /bin shows both of them in there, but I though
> typing either tcsh or csh would switch the shell.  
> 
> The reason I ask is because I am working for a client
> who only uses csh/tcsh, and I've only used bash in
> Linux since day 1, so I need to get familiar with it. 
> 
> 
> thanks
> 
> -Chris 
> 
> 
> 
> =
> GTFG
> 
> GAIM ID:  cmmiller1973
> 
> __
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list