10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
<avp name="CC-Request-Type" value="1"> </avp>
<avp name="CC-Request-Number" value="0"> </avp>
<avp name="Subscription-Id">
<avp name="Subscription-Id-Type" value="0"></avp>
<avp name="Subscription-Id-Data" value="4081234567"></avp>
</avp>
<avp... (5 Replies)
Discussion started by: gstar
5 Replies
2. Emergency UNIX and Linux Support
I would like to extract only the email ids from the gecos of each user id. I have to get the email ids of all the users on the server like this.
Can someone please assist me with the command/script? (15 Replies)
Discussion started by: ggayathri
15 Replies
3. Shell Programming and Scripting
Hi,
I need a script to update a line in a file with a file name everytime it runs.
For example
below are two files each files contains two rows(say 4&5) which needs to be updated with a file name
abc.param
xyz.param
Now below are two filenames which have date and time appended to... (1 Reply)
Discussion started by: sv0081493
1 Replies
4. Emergency UNIX and Linux Support
The AIX servers that I am working on have been identified as having orphaned user ids & improper gecos for some user ids. Can someone help me with a script to delete the user ids if the orphaned ids are provided in a text file. The home directory set up for the user ids happen to be the... (1 Reply)
Discussion started by: ggayathri
1 Replies
5. Shell Programming and Scripting
Hi all,
Say I have a shell script called update_password.sh - in this script I want to perform a task to update a specified entry of another file (e.g. users.passpords)
update_password.sh
#!/bin/bash -e
PW_FILE_DIR="${A_DIR}/.../..."
PW_FILE="users.passwords"
I want to update the... (2 Replies)
Discussion started by: isaacniu
2 Replies
6. Shell Programming and Scripting
Hi experts,
I have a set of xml files in folder which has the below field.
<mm:sessionID>157.235.206.12900397BE4:A</mm:sessionID>,
I need to update this field regularly with new session id, which I have it from a login file.
Can anyone tell me how to add a new value in <mm:sessionID>... (3 Replies)
Discussion started by: amvarma77
3 Replies
7. Shell Programming and Scripting
Hello everybody,
I have a requirement in my script..
When i'am executing a script, it'll ask a passwd of some service account.. I need to pass it to the script through a zipped file when it asks for it.
The script can be executed by more people many number times. So for securty purpose, it... (1 Reply)
Discussion started by: raghu.iv85
1 Replies
8. Shell Programming and Scripting
Hi. Can anybody help me with a script to extract usernames, shell and home_directory from the /etc/passwd file.
I am stuck (2 Replies)
Discussion started by: Pauline mugisha
2 Replies
9. Shell Programming and Scripting
Hi,
I am having a file which contains as below
Names(aaaa
,bbbb
,cccc
,dddd)
now i want the file to be updated with new value 'eeee' as below
Names(aaaa
,bbbb
,cccc
,dddd
,eeee)
Is there a way to script this ?
Thanks, (5 Replies)
Discussion started by: drams
5 Replies
10. Shell Programming and Scripting
I created a new user for my SUN machine for eg iachasta
1.) added the entry in the /etc/passwd file with corresponding group Id.
2.) The resp group Id was added in /etc/group file.
3.) I made entry in /etc/shadow file also .
i am able to login with user iachasta as
su - iachasta ... (5 Replies)
Discussion started by: er_aparna
5 Replies