Login or Register to Ask a Question and Join Our Community

Search Results

Search: Posts Made By: matrixmadhan
16,825
Posted By matrixmadhan
ls filename*[0-9].tar.gz
ls filename*[0-9].tar.gz
1,205
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.
1,205
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...
827
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.
939
Posted By matrixmadhan
Something like this, missing_file=$file1 ...
Something like this,


missing_file=$file1
echo $missing_file
1,779
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!
636
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?
1,021
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...
1,197
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,779
Posted By matrixmadhan
The option -C enable compression on the fly for...
The option -C enable compression on the fly for scp command
1,035
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
1,870
Posted By matrixmadhan
Looking for something like this, read...
Looking for something like this,

read password < /dev/tty
1,709
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
1,096
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 }'
1,096
Posted By matrixmadhan
Sample ls -lrt | awk '$5 == 32 { print }'
Sample

ls -lrt | awk '$5 == 32 { print }'
1,096
Posted By matrixmadhan
Please post what have you tried?
Please post what have you tried?
2,016
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...
2,016
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...
2,016
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.
1,304
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 :)
1,304
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
6,176
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?
5,755
Posted By matrixmadhan
Errors are more important than output, catch them...
Errors are more important than output, catch them and use it appropriately.
8,981
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,633
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?
Showing results 1 to 25 of 500

 

Featured Tech Videos