Blog Posts on scripting




Percent:
 
Distinct:
 


UNIX commands by myPSnotepad on Mar 22, 2012#########List details of user in unix, with more details compared with listusersadquery user -CpP <username>#########search and replace string in vi mode (editor)Type in the whole thing, where String1 is the string to be replaced, and string2 i...



UNIX commands by myPSnotepad on Mar 22, 2012######### List details of user in unix, with more details compared with listusersadquery user -CpP <username> ######### search and replace string in vi mode (editor) Type in the whole thing, where String1 is the string to be replaced, and stri...



How To Delete Process Instance Backend by myPSnotepad on Mar 21, 2012Let's say you wanted to delete a specific process instance and you want to do it backend. The script below would be helpful specially if you opted to create a script to do things automatically. This works for Oracle Database with PT 8.49: DELETE F...



How To Delete Process Instance Backend by myPSnotepad on Mar 21, 2012Let's say you wanted to delete a specific process instance and you want to do it backend. The script below would be helpful specially if you opted to create a script to do things automatically. This works for Oracle Database with PT 8.49:DELETE FROM...



FIRST!!! by myPSnotepad on Mar 19, 2012Hello!As my first entry on this blog, let me introduce my self:My name is Kim, 4 years experience with PeopleSoft Administration with a bit of experience with Oracle database and UNIX/NT scripting.I created this blog so I can have an online copy of a...



FIRST!!! by myPSnotepad on Mar 19, 2012Hello! As my first entry on this blog, let me introduce my self: My name is Kim, 4 years experience with PeopleSoft Administration with a bit of experience with Oracle database and UNIX/NT scripting. I created this blog so I can have an online cop...



ssh breaks the while loop by Nelson's Blog on Jan 8, 2012I created a script that will execute command on the remote server using a ssh. Basically, you will command ssh user@server "command". However, ssh keeps on breaking the loop and it only takes action on the first line of the output. I discovered that...



Changing password in linux using one line command by Nelson's Blog on Aug 24, 2011There might be a chance that you need to add number of users and you need to specify a password on each every one of them. Since I'm lazy, I'll be using a script to change or assign their password by using echo and passwd.echo -e "blogger\nblogger" |...



Script for change password by on Aug 11, 2010I need to create a script for my webmail's change password to work. I decided to use expect to meet my needs. Below is the script I did:#!/usr/bin/expect# put log_user 0 before the line if you want to outputspawn passwd [lindex $argv 0]set password [...



How to kill linux defunct process by {raxso}.[net] on Jul 30, 2009Defunct processes are corrupted processes that can no longer communicate between the parent and child one. Sometimes, they become “zombies” and remain in your system until you reboot your machine. You can kill these defunct processes without rebo...