Search Results

Search: Posts Made By: kumar85shiv
5,624
Posted By RudiC
A bit simplified: awk -vSTART="1/1/2014"...
A bit simplified:
awk -vSTART="1/1/2014" -vENDDT="1/1/2016" '
function MLDT(DT) {split (DT, TMP, "/")
return TMP[3] * 1E4 + TMP[2] * 100 + TMP[1]
...
5,426
Posted By Don Cragun
What output do you get from: #!/bin/bash ...
What output do you get from:
#!/bin/bash
while read line
do
ssh -n $line "du -sh /tmp/*"
done < tmpsrv.txt?
17,615
Posted By RudiC
You may want to run each ping in background to...
You may want to run each ping in background to save some waiting time.
1,758
Posted By RavinderSingh13
Hello, Following may help you. awk...
Hello,

Following may help you.


awk '$1 ~ /G/ {print $0}' file_name



Output will be as follows.


1G /tmp/a/b
2.2G /tmp/c


Thanks,
R. Singh
736
Posted By RavinderSingh13
Hello, Following 2 codes may help you in...
Hello,

Following 2 codes may help you in same.

1st:

awk -F";" '{for(i=1;i<=NF;i++) print $i}' OFS="\n" file_name | grep -v '^$'


2nd:

cat file_name | tr ';' '\n' | grep -v '^$'
...
1,608
Posted By Scrutinizer
Try: grep -vf f2 f1
Try:
grep -vf f2 f1
Showing results 1 to 6 of 6

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