Search Results

Search: Posts Made By: reignangel2003
3,823
Posted By reignangel2003
Replace null values in csv with zero
Hi,

i have another issue:

i have three files:

FILE 1

ServiceEventHandler,
Processed,Percentage
5285337,100%


FILE 2

Wallet,
Processed,Percentage
5285337,100%
1,136
Posted By reignangel2003
Hi All, Thank you for all the help. But i...
Hi All,

Thank you for all the help. But i have another question.

i have this similar issue:

INPUT FILE 1

ServiceEventHandler,
Processed,Percentage
5285337,100%


INPUT FILE 2
...
1,136
Posted By reignangel2003
hi Skrynesaver, Thanks for the reply, but...
hi Skrynesaver,

Thanks for the reply, but need to do this in bash.
1,136
Posted By reignangel2003
How to get the sum?
hi Gurus,

I have an extract as seen below:

INPUT

2015-08-24 15:00:00.0 |TCSERVER01 |ServiceEventHandler |2283
2015-08-24 15:01:00.0 |TCSERVER01 |ServiceEventHandler |576
2015-08-24...
2,056
Posted By reignangel2003
That's right. it will not work when there are...
That's right. it will not work when there are values missing. will it be possible to put "0" instead so that the approach will work.
2,056
Posted By reignangel2003
actually it works. But then upon testing, there...
actually it works. But then upon testing, there output did not align with that of the expected output. take this sample input

SAMPLE

2015-07-15 09:01:00.0 |TCSERVER01 |10965
2015-07-15...
3,827
Posted By reignangel2003
Align columns
Hi,

I have a question on how to align columns in shellscipt.

SAMPLE

2015-07-15 09:01:00.0 |TCSERVER01 |10965
2015-07-15 09:02:00.0 |TCSERVER01 |4752
2015-07-15 09:03:00.0 |TCSERVER01 |4805...
2,056
Posted By reignangel2003
Transform vertical into horizontal list
Hi,

I am creating a script that will pull data from database. The only thing missing now is that i have to transform the lines into horizontal list.

EXAMPLE
2015-07-15 09:00:00.0 ...
1,497
Posted By reignangel2003
There are certain hostnames and confidential...
There are certain hostnames and confidential details that was put on the code part on most of the post.
1,497
Posted By reignangel2003
Please help to edit the following post as it is confidential
Please help to edit the following links since it contains confidential information:

1. https://www.unix.com/shell-programming-and-scripting/229669-how-get-exact-word-awk.html
Please remove...
6,108
Posted By reignangel2003
thanks :b: ---------- Post updated at 11:47...
thanks :b:

---------- Post updated at 11:47 AM ---------- Previous update was at 11:44 AM ----------

one more thing i wanted to have the kill command execute it as


kill -9 21903 21822...
6,108
Posted By reignangel2003
How to print from bottom to top?
Hi,

i have a file which contains PID and wanted to execute kill command. but the thing is, when killing PID's needs to kill PID from bottom to top.

Please help

INPUT

21414 sh -c...
900
Posted By reignangel2003
but the problem is the status value is not...
but the problem is the status value is not reflecting on the Menu side where i want it to be
900
Posted By reignangel2003
How to add a status once a step is complete on the header part of a menu?
Hi Guru's,

i am creating a script that will update menu of either complete or failed.


#!/bin/bash
choice=0

while [ $choice -ne 4 ]
do

echo ""; echo ""; echo ""; echo ""; echo ""; echo...
2,876
Posted By reignangel2003
How to replace a string to asterisk?
Hi,

I would like to ask for you idea on how to convert a string to "*". say password and username.

I have a shell script that will promt the user to enter username and password. This will be...
3,486
Posted By reignangel2003
can you please show me how to do it?:)
can you please show me how to do it?:)
3,486
Posted By reignangel2003
is there no other alternative?
is there no other alternative?
3,486
Posted By reignangel2003
How to execute a shell script that resides in another server?
hi,

i have a shellscipt that is in another server, my question is how do i run the script from a different server.

EXAMPLE:

SCRIPT_NAME: sample.sh
SERVER: A

what i wanted to achieve is...
15,730
Posted By reignangel2003
how will i be able to pass parameter to this sql...
how will i be able to pass parameter to this sql file. what i want is to removed the prompt command and replace it with a unix variable say client_id

main.sql


set verify off
set serverout on...
15,730
Posted By reignangel2003
How to pass a shellscript variable to a sql file?
Hi,

i wan't to pass a shellscript variable to a sql file.

a.sql

select $field from dual;


the way i am calling this is through sqlplus


field_name="sysdate"
sqlplus -s...
1,305
Posted By reignangel2003
How to restart the same step when return value is not equal to zero?
Hi Again Guru's

One of the requirements for the shell script is that when the return value of a given function is not equal to zero, it should have the option for the user to re-execute the...
2,847
Posted By reignangel2003
Thanks a lot. :b:
Thanks a lot. :b:
2,847
Posted By reignangel2003
How do i restart a process if it fails?
Hi Guru's,

I just want to have an idea on how to restart a particular step when it fails?

SCENARIO
we have plenty of steps such as the following below:

Step 1
copy file from source to...
21,682
Posted By reignangel2003
How to get the column number in awk?
Hi Guys,

I have a question on how i can get the column number in a file and used it in awk.

i have a file which it has these records inside it.

...
3,247
Posted By reignangel2003
Hi disedorgue, It is not working under...
Hi disedorgue,

It is not working under SunOS, but it is working for Cygwin.

In SunOs

sed: command garbled: /client508/{p;n;p;n;p}/


CYGWIN

client508
master tcp ether...
Showing results 1 to 25 of 58

 
All times are GMT -4. The time now is 01:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy