Reputation
352
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 6 16
Impact
~76k people reached

  • 0 posts edited
  • 0 helpful flags
  • 12 votes cast
Jan
27
awarded  Popular Question
Oct
5
awarded  Critic
Oct
2
awarded  Notable Question
Sep
22
revised How to print the values of variables with incremented numbers using a loop in shell script?
added 25 characters in body
Sep
22
comment How to print the values of variables with incremented numbers using a loop in shell script?
Hello Guys, could you please provide your suggestions as answers? I don't want to do it strictly with while loop. Any other option which is faster and better would be appreciated. Of course i have heard about arrays :)
Sep
22
comment How to print the values of variables with incremented numbers using a loop in shell script?
Good point cuonglm. Actually i missed to put the increment statement in the above example. That is present in my main script. Thanks for your answer. I will try it and get back to you.
Sep
22
awarded  Custodian
Sep
22
reviewed Reject How to print the values of variables with incremented numbers using a loop in shell script?
Sep
22
asked How to print the values of variables with incremented numbers using a loop in shell script?
Aug
28
accepted How to grep the following lines from a file?
Aug
26
awarded  Notable Question
Aug
26
accepted How to extract specific file(s) from tar.gz
Aug
26
comment How to extract specific file(s) from tar.gz
I would like to add a point here, the -z option doesn't work in some versions of unix like HP-UX.
Aug
26
accepted Huge delay in script response when using SFTP with expect
Aug
25
asked How to grep the following lines from a file?
Aug
20
comment Huge delay in script response when using SFTP with expect
Thanks buddy, the ConnectTimeout=20 somehow didn't work for me, i waited and the connection never got timed out even after couple of minutes. However, i tried the second option -o NumberOfPasswordPrompts=2 which worked like a charm and solved my issue. Could you suggest why the Timeout didn't work? I mean something keeps holding the timeout option back from getting used during connection.
Aug
20
comment Huge delay in script response when using SFTP with expect
Thanks, What is 20 here? 20 seconds? If i give -o ConnectTimeout=20, will it disconnect the session even if some transfer is going on?
Aug
20
comment Huge delay in script response when using SFTP with expect
Want to update one point here, the SFTP operations are completed withing 30-35 seconds for a single server (same for all other servers whose details are updated in the credentials file) to copy the files to the local machine.
Aug
20
asked Huge delay in script response when using SFTP with expect
Aug
17
awarded  Yearling