Search Results

Search: Posts Made By: matrixmadhan
475
Posted By matrixmadhan
I have added sample script for a single file,...
I have added sample script for a single file, please change it to multiple files like

ls file*

Please give it a try and let us know if there are any problems.
475
Posted By matrixmadhan
Please post what have you tried, where are you...
Please post what have you tried, where are you struck.

Here is a sample.

ls 12345-zxys.213423.zyz.txt | while read file
do
newfilename=`echo $file | sed 's/^.*-//'`
mv $file $newfilename...
493
Posted By matrixmadhan
I hope the process logs the info somewhere in...
I hope the process logs the info somewhere in designated log directory. If that is the case, parse the log file, fetch start and end time and compute the diff.
590
Posted By matrixmadhan
Something like this, missing_file=$file1 ...
Something like this,


missing_file=$file1
echo $missing_file
1,005
Posted By matrixmadhan
@RudiC @rbatte1 It was only a general...
@RudiC @rbatte1
It was only a general recommendation to use -C and that doesn't make sense to use it for files that are already compressed. Good catch!
427
Posted By matrixmadhan
Can you please provide more context on this use...
Can you please provide more context on this use case?
Just to ensure that you are able to login to 100s of servers are you logging in everyday? Any other reason?
609
Posted By matrixmadhan
Cp freezing from Seagate HDD to Win7
Hello all,

Earlier I had a mac book and created a HFS+ file system on Seagate 1 TB external HDD, copied around 200 GB content. Now, I have a Windows 7 machine and wanted to copy the HDD contents...
777
Posted By matrixmadhan
Welcome to the forum! Can you please show...
Welcome to the forum!

Can you please show what is that you have tried so far? Thanks

---------- Post updated at 02:37 PM ---------- Previous update was at 02:32 PM ----------

Here is a rough...
1,005
Posted By matrixmadhan
The option -C enable compression on the fly for...
The option -C enable compression on the fly for scp command
731
Posted By matrixmadhan
I think you should show us what have you tried so...
I think you should show us what have you tried so far and what is the problem with the approach
803
Posted By matrixmadhan
Looking for something like this, read...
Looking for something like this,

read password < /dev/tty
1,201
Posted By matrixmadhan
Not sure I got your question, can you please...
Not sure I got your question, can you please rephrase or give an example? Thanks
705
Posted By matrixmadhan
Please give it a try for yourself sample ...
Please give it a try for yourself

sample

ls -lrt | awk '$5 == 32 || $5 == 10 { print }'

ls -lrt | awk '$5 == 32 && $5 == 10 { print }'
705
Posted By matrixmadhan
Sample ls -lrt | awk '$5 == 32 { print }'
Sample

ls -lrt | awk '$5 == 32 { print }'
705
Posted By matrixmadhan
Please post what have you tried?
Please post what have you tried?
1,540
Posted By matrixmadhan
If that's an authorized access then you might...
If that's an authorized access then you might potentially have web services with properly defined contracts for the APIs, which will give easier for accessing the link. Otherwise you will have to...
1,540
Posted By matrixmadhan
Let me try to understand. First the link,...
Let me try to understand.

First the link, looks like its a gov link, please make sure that this is not confidential and in view of the terms and conditions / contract, if this is confidential and...
1,540
Posted By matrixmadhan
Yes, its still difficult for me to understand....
Yes, its still difficult for me to understand. Lets try this, please post a sample input and output that you are looking for, then we can take it from there.
978
Posted By matrixmadhan
ctsgnb@ That's right. I guess its sufficient to...
ctsgnb@ That's right. I guess its sufficient to give pointers or versions, its upto the OP to tweak it and get it done. Its not requirement, product delivery contract :)
978
Posted By matrixmadhan
awk '{ if ( $1 > $2 ) { arr[$2$1] += $3 } else {...
awk '{ if ( $1 > $2 ) { arr[$2$1] += $3 } else { arr[$1$2] += $3 } }END{ for (i in arr) { print i, arr[i] } }' file
3,082
Posted By matrixmadhan
Why do you think DDL on a table to be done via...
Why do you think DDL on a table to be done via script? Is this going to be repeated activity?
4,874
Posted By matrixmadhan
Errors are more important than output, catch them...
Errors are more important than output, catch them and use it appropriately.
6,530
Posted By matrixmadhan
kill is to a process and to a thread spawned...
kill is to a process and to a thread spawned within the context of a process, should be controlled by that process if the signals/control are being triggered externally with respect to the process....
Forum: AIX 01-12-2014
1,308
Posted By matrixmadhan
As you know, the first thing that you have to do...
As you know, the first thing that you have to do before running code/script is to take a backup of that, its a fragile world. Wasn't that done?
Forum: Programming 09-19-2013
1,330
Posted By matrixmadhan
I did read that and that is the reason I have...
I did read that and that is the reason I have used that to normalize to a single time zone value whatever be the time zone value in the host from which its being run.

Still couldn't figure out a...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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