Now I have created userId as sk14 in linux box. Then .bash_profile file created under /home/sk14 directory . if i see that file then i can see the below entry.
I would like to change that file when will i create any new user ?.
Hi,
I'm looking for a tool or a command to generate entries in the AIX error log (errpt).
I know the command errlogger but I need to simulate HARDWARE or TEMP entries for test purpose.
Anyone knows something that can help me ?
Thanks (1 Reply)
Hi,
I wanted to do the following, but the command does not seem to work. Any ideas or suggestions please help.
#1. If the particular ENV variable IMPACT_HOME is not there in a file
grep -q IMPACT_HOME infile || sed -i 'i IMPACT_HOME=/my/new/path' infile
#2. If the ENV variable... (4 Replies)
Hi,
I've a data file having entries like this-
$ cat BDWL.out
19571
349484
18963
349568
20180
351389
20372
350253
Now I want to add each entry and produce the final sum =1479780 as output.
How can I do that using unix shell scripting?? using loop or sed/awk ??
Thanks,
Naresh (5 Replies)
Hi All,
I am booting by Linux box with the run level 3 and it gets booted successfully.
I want to execute a script once the system is up and running in the run level 3. I was trying to add a entry to /etc/inittab to execute my script once the system is up.
I have added the below... (5 Replies)
Hi,
Unexpectedly i entered wrong entries in .bash_profile for my user which has administrative permissions. So, i am getting errors for every command. I dont have backup file also, so any body can help me how to recover it.
Regards,
Mastan (7 Replies)
---------- Post updated at 01:58 PM ---------- Previous update was at 01:48 PM ----------
For some reason my question is not getting printed. Here are the details:
Greetings.
I would like to add/subtact an integer to/from two columns of integers. I feel like this should be easy using awk... (3 Replies)
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
add member(1m) add member(1m)NAME
add member - Adds a member to a group in a name service entry; if the specified entry does not exist, creates the entry
SYNOPSIS
rpccp add member group-entry-name -m member [-s syntax]
OPTIONS
Declares the name of a member to be added to the specified group entry (required).
You can add only one member at a time. Indicates the name syntax of the entry name (optional). The only value for this option is the dce
name syntax, which is the default name syntax. Until an alternative name syntax becomes available, specifying the -s option is unnecessary.
ARGUMENTS
Specifies the name of the target group. For an entry in the local cell, you can omit the cell name and specify only the cell-relative
name.
DESCRIPTION
The add member command adds a member to a group in a name service entry. The name of the entry containing the group and the name of the
new group member are required. The entry of a group may have been created previously (by either the add entry or add member command). If
the specified entry does not exist, the add member command tries to create the entry.
Privilege Required
You need both read permission and write permission to the CDS object entry (the target group entry). If the entry does not exist, you also
need insert permission to the parent directory.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLES
The following commands run RPCCP and add the member /.:/LandS/anthro/Cal_host_3 to the group /.:/LandS/anthro/Calendar_group: $ rpccp
rpccp> add member > -m /.:/LandS/anthro/Cal_host_3 > /.:/LandS/anthro/Calendar_group
RELATED INFORMATION
Commands: remove group(1m), remove member(1m), show group(1m)
add member(1m)