Re: cp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Madan Thapa wrote:
> On Sun, Mar 15, 2009 at 11:44 PM, mark <m.roth2006@xxxxxxx> wrote:
> 
>> Raj Har wrote:
>>> hello everybody,
>>>                         i am new in Linux so please help me.
>>> i made users like user1,user2,user3,user4.not from useradd command.
>>> and i wanna copy all skel file in these users home directory.
>>> i am using this command.
>>> cp -rf /etc/skel/.bash* /home/user*
>>> but its not working.
>>>
>>> and i wanna know exact mean of  "-r" option.
<snip>
useradd(8)                                                          useradd(8)

NAME
       useradd - create a new user account

SYNOPSIS
       useradd [-D binddn] [-P path] [-c comment] [-d homedir]
               [-e expire] [-f inactive] [-G group,...] [-g gid]
               [-m [-k skeldir]] [-o] [-p password] [-u uid]
               [-r] [-s shell] [--service service] [--help]
               [--usage] [-v] account

       useradd --show-defaults

       useradd --save-defaults [-d homedir] [-e expire] [-f inactive]
               [-g gid] [-G group,...] [-k skeldir] [-s shell]

DESCRIPTION
       useradd  creates  a  new  user  account  using  the default values from
       /etc/default/useradd and the specified on the command line.   Depending
       on the command line options the new account will be added to the system
       files or LDAP database, the home directory will be created and the ini-
       tial default files and directories will be copied.
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

	mark


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux