Search Results

Search: Posts Made By: anita81
3,539
Posted By anita81
I guess that will solve the issue. Thank...
I guess that will solve the issue.

Thank you

---------- Post updated at 05:05 PM ---------- Previous update was at 09:16 AM ----------

I found another issue which I didn't realize...
3,539
Posted By anita81
Deleting from second table with keycolumn as a parameter
I can find out the common records but I need to pass these records as parameters when deleting from second table.And I can expect more than several 1000 records at a time. So using unix script how...
3,539
Posted By anita81
Delete Script
I 'm trying to write a unix script with delete statement on DB2 tables based on the date.The issue I have is that I need to delete the records on 2 tables but only one table have date field and based...
5,067
Posted By anita81
Thank you
Thank you, you helped me to understand and improve the way script should be written
1,495
Posted By anita81
Error Log
How can the error log be captured.

I have a SSH script which is getting df -h output to a file but when the server is not responding or cannot connect I want to capture those server details but...
17,283
Posted By anita81
getting comma after every character
I have tried your syntax and I'm getting comma after every character. Below is the result


,F,i,l,e,s,y,s,t,e,m,S,i,z,e,U,s,e,d,A,v,a,i,l,U,s,e,%,M,o,u,n,t,e,d,o,n,...
1,499
Posted By anita81
Thanks I missed the semi colon. I have...
Thanks I missed the semi colon.

I have tried the code


awk '{if (NF==1) x=$1; else print x,$0}' LOG_FILE1


I'm getting the row copied as a column only to the next row but not all the...
1,499
Posted By anita81
syntax error
Thanks for you response. I have tried this but getting syntax error

awk '{if (NF==1) x=$1 else print x,$0}' LOG_FILE1

awk: {if (NF==1) x=$1 else print x,$0}
awk: ^ syntax...
2,208
Posted By anita81
UNIX command output format
how can I get the df -h command output into excel format or csv file.

df -k | tr -s " " | sed 's/ /, /g' | sed '1 s/, / /g' | column -t



df -h | column -t


I have...
1,499
Posted By anita81
Add row as a column
I have a unix file which has the below format. one row with one column and few rows with 6 columns. I want to add the first row as column to the below rows.

Current file
br95
sbd 234 567 abc...
17,283
Posted By anita81
UNIX command output in csv format
I'm just wondering is there any way to capture the output of a unix command in a csv format.

df -h gives the result of filesystem,free space,Used space, use %,mounted on.
Is there a way to...
5,067
Posted By anita81
Df -k output format
I’m trying to create a shell script to get the server stats of 100 servers and load the details into a table.

Initially I’m creating a parameter file which has the list of all the servers, then I...
Showing results 1 to 12 of 12

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