Re: Command line questions

2000-04-21 Thread Danny
To test whether is running type ps -gax |grep smbd On Fri, 21 Apr 2000, Morse wrote: > While in X the command window remembers commands from one session to the > next...in DOS this is called doskey but what is it called in Linux? > Is there a way to output all stored commands to a text file

Re: Command line questions

2000-04-21 Thread Anthony E. Greene
At 01:04 2000-04-21 -0700, Morse wrote: >While in X the command window remembers commands from one session to the >next...in DOS this is called doskey but what is it called in Linux? readline >Is there a way to output all stored commands to a text file ? By default, they're stored in ~/.bash_h

Re: Command line questions

2000-04-21 Thread Charles Galpin
or you can do /etc/rc.d/init.d/smb status charles On Fri, 21 Apr 2000, Hidong Kim wrote: > > > > I know how to test a smb.cnf file = testparm > > but how do I check to see if samba is running ? > > You can do 'ps aux' to see if the smbd process is running. Or you can > do: ps aux | awk '$11

Re: Command line questions

2000-04-21 Thread Hidong Kim
Morse wrote: > > While in X the command window remembers commands from one session to the > next...in DOS this is called doskey but what is it called in Linux? > Is there a way to output all stored commands to a text file ? The .bash_history in your home directory might be what you're looking fo