Sounds like you need to learn shell script... I'm guessing that what you need
could be accomplished with a few lines (<20?) of code. Check out:
man bash
man adduser
man groupadd
That should get you started... (If you need some examples, try 'locate
*.sh'--there are tons of them. Check
it's something quite specific. Try freshmeat or sourceforge. But you'll
probabbly have to do it yourself. It will come out quite easily in Perl
or bash methinks.
Wooky
Patrick Atlas wrote:
Hello,
We are managing hundred of users on a network based on Netscape Exchange
Server (mail, news and w
Hello,
We are managing hundred of users on a network based on Netscape Exchange
Server (mail, news and web).
In a few weeks, we would like to change to a linux server (Mandrake of
course!)
As we don't want to create by hand each existing user, is there a script
or a software that will automatical
> Try:
> $ if [ -f ${x} ]; then echo ${x} ; else echo "NO" ; fi
> mysignature
>
> Forgot to ask: do you _have_ a file called "mysignature"...?
I did, and this does work :)
Thanks... Dan.
Daniel Woods wrote:
>
> On Fri, 4 Aug 2000, Pierre Fortin wrote:
> > Daniel Woods wrote:
> > > > > This will work...
> > > > > cd {directory}
> > > > > ls -t | head -1
> > > > > or
> > > > > ls -t $HOME | head -1
> > > > >
> > > > > Using ksh (on Unix), this next line works to only ac
Daniel Woods wrote:
>
> On Fri, 4 Aug 2000, Pierre Fortin wrote:
> > Daniel Woods wrote:
> > > > > This will work...
> > > > > cd {directory}
> > > > > ls -t | head -1
> > > > > or
> > > > > ls -t $HOME | head -1
> > > > >
> > > > > Using ksh (on Unix), this next line works to only ac
On Fri, 4 Aug 2000, Pierre Fortin wrote:
> Daniel Woods wrote:
> > > > This will work...
> > > > cd {directory}
> > > > ls -t | head -1
> > > > or
> > > > ls -t $HOME | head -1
> > > >
> > > > Using ksh (on Unix), this next line works to only accept files
> > > > x=`ls -t | head -1
Daniel Woods wrote:
>
> > > This will work...
> > > cd {directory}
> > > ls -t | head -1
> > > or
> > > ls -t $HOME | head -1
> > >
> > > Using ksh (on Unix), this next line works to only accept files
> > > x=`ls -t | head -1`; if [[ -f $x ]]; then echo $x ;fi
> > > except that I
> > This will work...
> > cd {directory}
> > ls -t | head -1
> > or
> > ls -t $HOME | head -1
> >
> > Using ksh (on Unix), this next line works to only accept files
> > x=`ls -t | head -1`; if [[ -f $x ]]; then echo $x ;fi
> > except that I could not get this to work with bash as
On Fri, 04 Aug 2000, Daniel Woods pushed some small plastic letters in this order:
> > > I am new to shell scripting,
> > > I would like to create a script in bash shell.
> > > that would do the following
> > >
> > > 1) find out the latest file ( text file)in a directory
> > > ( there are bunch
> > I am new to shell scripting,
> > I would like to create a script in bash shell.
> > that would do the following
> >
> > 1) find out the latest file ( text file)in a directory
> > ( there are bunch of files in a dir)
This will work...
cd {directory}
ls -t | head -1
or
ls -t $HOME
On Fri, 04 Aug 2000, J A Shamsi pushed some small plastic letters in this order:
> HI
> I am new to shell scripting,
> I would like to create a script in bash shell.
> that would do the following
>
> 1) find out the latest file ( text file)in a directory
> ( there are bunch of files in a dir)
HI
I am new to shell scripting,
I would like to create a script in bash shell.
that would do the following
1) find out the latest file ( text file)in a directory
( there are bunch of files in a dir)
2)open that file (text file) and parse the
values seperated by comma and store them in variables
13 matches
Mail list logo