Search Results

Search: Posts Made By: ranjancom2000
16,876
Posted By ranjancom2000
I am using cygwin in windows. Thanks it was...
I am using cygwin in windows. Thanks it was working now i used -CapacityGB $d at the end
16,876
Posted By ranjancom2000
Echo print on same line while loop using variable
Currently using below script but echo it print the output in two line.

Input file all-vm-final-2.txt


CEALA08893 SDDC_SCUN DS_SIO_Workload_SAPUI_UAT_01 4
CEALA09546 SDDC_SCUN...
9,695
Posted By ranjancom2000
Sorry where i need to use this code
Sorry where i need to use this code
9,695
Posted By ranjancom2000
Hi vgersh99 I think it was checking case...
Hi vgersh99

I think it was checking case sensitive and ignore if it dont match. How to ignore case sensitive
9,695
Posted By ranjancom2000
Append has prefix in while loop
I was using below script to grep one file. I need to append the output using prefix

Data of all-Vms-1.txt

server-1 frame-1 LUN001
server-2 frame-1 LUN002


Data of all-vm-unix.txt

...
4,919
Posted By ranjancom2000
thanks great it was working fine
thanks great it was working fine
4,919
Posted By ranjancom2000
Need to create a report using paste or with awk
Input file will be


Name: serve1
has disk :Yes
dev (8):
Name: serve2
has disk :No
dev (8):
Name: serve3
has disk :No
Name: serve4
has disk :Yes
dev (8):


Need output like that. I...
7,052
Posted By ranjancom2000
Thanks it was working fine
Thanks it was working fine
7,052
Posted By ranjancom2000
Need to remove first and last character using sed
Hi

I have file in below format. How i can remove the first and lost comma from this below file

,001E:001F,,,02EE,0FED:0FEF,

I need output has below

001E:001F,,,02EE,0FED:0FEF
4,699
Posted By ranjancom2000
it was working fine thanks
it was working fine thanks
4,699
Posted By ranjancom2000
But this one removing all the second column. I...
But this one removing all the second column. I need to remove only up to three lines. After third i need the two column
4,699
Posted By ranjancom2000
sed or awk to remove specific column to one range
I need to remove specific column to one range

source file


3 1 000123456
2 2 000123569
3 3 000123564
12 000123156
15 000125648
128 000125648
Output required

3 000123456
2 000123569...
4,490
Posted By ranjancom2000
Thanks working perfect
Thanks working perfect
4,490
Posted By ranjancom2000
awk split columns to row after N number of column
I want to split this with every 5 or 50 depend on how much data the file will have. And remove the comma on the end

Source file will have
...
5,521
Posted By ranjancom2000
Buy default i can able to send attachment. But if...
Buy default i can able to send attachment. But if i want to add body attachment was missing
5,521
Posted By ranjancom2000
Sorry from Cywin windows path will not work. But...
Sorry from Cywin windows path will not work. But for mailsend it use the windows path

Pasteboard - Uploaded Image (https://pasteboard.co/HMfay3R.png)

Pasteboard - Uploaded Image...
5,521
Posted By ranjancom2000
Pls find the ls -ltr image Pasteboard -...
Pls find the ls -ltr image

Pasteboard - Uploaded Image (https://pasteboard.co/HMcwbhv.png)
5,521
Posted By ranjancom2000
I am using cywin so it will be unix format plain...
I am using cywin so it will be unix format plain text file. I can able to send Body message in mail. If use body, tar attached was not coming at a time any one was working.

I can either do...
5,521
Posted By ranjancom2000
If i use msg-body attachment was not coming ...
If i use msg-body attachment was not coming


mailsend -f from@dummy.com -smtp 10.0.0.1 -t TO@dummy.com -sub "Test mail" -msg-body "D:\cygwin\home\body" -attach "D:\cygwin\home\attachment.csv...
5,521
Posted By ranjancom2000
I was using this code mailsend -f...
I was using this code


mailsend -f from@dummy.com -smtp 10.0.0.1 -t TO@dummy.com -sub "Test mail" -msg-body "D:\cygwin\home\body ,text/plain" -attach "D:\cygwin\home\attachment.csv ,text/plain"
5,521
Posted By ranjancom2000
Thanks it was working i can send tar has...
Thanks it was working i can send tar has attachment.

I have another issue but till now i can able to resolve

I was using same mailsend to send attachment and add body txt. But adding the text...
5,521
Posted By ranjancom2000
How to send mail tar.gz has attachment using cygwin?
Hi

I am using cygwin in windows i need to send mail has attachment which was in tar.gz format

i was using this command to send mail. I can able to send mail but attachment was not happening
...
1,956
Posted By ranjancom2000
thanks working fine
thanks working fine
1,956
Posted By ranjancom2000
The key will be server name. for each server i...
The key will be server name. for each server i need to total
1,956
Posted By ranjancom2000
awk and sum with original data
I am using the


cat /home/billing/1|awk '{ SUM += $8} END { print SUM }' >> /home/billing/test


I am getting the only total of the all i need to print with all details

Source File


...
Showing results 1 to 25 of 171

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