Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: matrixmadhan
12,981
Posted By matrixmadhan
ls filename*[0-9].tar.gz
ls filename*[0-9].tar.gz
924
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.
924
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...
613
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.
653
Posted By matrixmadhan
Something like this, missing_file=$file1 ...
Something like this,


missing_file=$file1
echo $missing_file
1,309
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!
463
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?
777
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...
865
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,309
Posted By matrixmadhan
The option -C enable compression on the fly for...
The option -C enable compression on the fly for scp command
818
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
963
Posted By matrixmadhan
Looking for something like this, read...
Looking for something like this,

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

ls -lrt | awk '$5 == 32 { print }'
855
Posted By matrixmadhan
Please post what have you tried?
Please post what have you tried?
1,663
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,663
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,663
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,020
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,020
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,890
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,133
Posted By matrixmadhan
Errors are more important than output, catch them...
Errors are more important than output, catch them and use it appropriately.
7,439
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,419
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

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