Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: dips_ag
1,207
Posted By dips_ag
Implicit FTPS error on Citrix Sharefile
Hi,

I have to upload a file to a remote Citrix Sharefile server using implicit FTPS. But the problem I'm facing is that when the FTPS UNIX script is called through a GUI tool; it keeps on running...
5,406
Posted By dips_ag
Get the exact match of the string!
Hi All,

I am breaking my head in trying to get a command that will exactly match my given string. I have searched net and found few of the options -


grep -F $string file
grep -x $string...
4,302
Posted By dips_ag
Thank you so much Don for explaining in detail!...
Thank you so much Don for explaining in detail! Despite that I've one more doubt (please bear with me!)



But Y is an alphabet so wouldn't [:alnum:] matches that? and a dot . is already...
9,980
Posted By dips_ag
Wget download file content in unicode
Hi All,

I am trying to download a XML from a URL through wget and successful in that but the problem is that I have to check for some special characters inside that XML. But when I download...
4,302
Posted By dips_ag
Hi Don, I think there is some problem with...
Hi Don,

I think there is some problem with this syntax.

test.ksh
if [ "${TEXT#*[![:alnum:] .,;:'"/\()_+=~@&*-]}" = "$TEXT" ];then echo 'no non-printables found';else echo 'non-printable...
4,302
Posted By dips_ag
Hi, I'll be not able to convert it to hex...
Hi,

I'll be not able to convert it to hex file.

But in a simplest manner, can I check for only alphanumeric characters plus few punctuations which I know will get passed?

if [...
4,302
Posted By dips_ag
Hi Don, Thanks for telling me that <space>...
Hi Don,

Thanks for telling me that <space> is being treated like non-printable character. But I want this seach to look for all NON UTF-8 characters actually, I don't have any inkling on how to...
4,302
Posted By dips_ag
ksh check for non printable characters in a string
Hi All,

I am trying to find non-printable characters in a string. The sting could have alphanumeric, puntuations and characters like (*&%$#.') but not non-printable (or that is what I think they...
1,317
Posted By dips_ag
Rudic & Walter, thanks for your time! I was...
Rudic & Walter, thanks for your time!

I was afraid that my explanation might seem like blabbering!! :(

But what Walter suggested, I think I can take up from there and work with that.
...
1,317
Posted By dips_ag
Grep lines before a pattern having some other pattern
Hi All,

I am trying to fetch lines before a pattern, I got to know about -B flag in grep but we have to pass the number to get those lines before some pattern say (X), now what if I want to get...
975
Posted By dips_ag
oh yeah sorry!! two dots in file name1....... ...
oh yeah sorry!! two dots in file name1.......

-dips
975
Posted By dips_ag
Identify file name pattern in different file names
Hi,

need help in recognizing the pattern of file name. For e.g.


file name 1: <static file prefix>.<store cd>_<YYYYMMDD>.<ext>
file name 2: <static file prefix>_<YYYYMMDD>.<ext>

I want...
1,538
Posted By dips_ag
Print lines between a regExp & a blank line
Hi,

I have a file, say files_list, as below (o/p of ls -R cmd)


$ cat files_list
/remote/dir/path/to/file:
sub-dir1
sub-dir2
sub-dir3
...

/remote/dir/path/to/file/sub-dir1:...
3,654
Posted By dips_ag
Hi vbe, Sorry I couldn't reply earlier. But...
Hi vbe,

Sorry I couldn't reply earlier. But I really want to thank you as your solution worked and now the 14 parallel sessions accessing the same FTP connection alternatively is working fine....
3,654
Posted By dips_ag
"quit" as in after each time I call sftp -b...
"quit" as in after each time I call sftp -b <batchfile> user@ftp_address command? OR the end line in the unix script?

-dips
3,654
Posted By dips_ag
netstat command
Hi,

In my project we use sftp with batch mode (password less) script in parallel for 14 sessions which connects to 2 different servers alternatively i.e. 7 connects to one server say server1 and...
14,746
Posted By dips_ag
Hi ahamed, I tried the way you suggested ...
Hi ahamed,

I tried the way you suggested
sftp -b BATCH_FILE_NAME -oLogLevel=DEBUG -oServerAliveInterval=60 -oServerAliveCountMax=5 -oTCPKeepAlive=yes USER@IP_ADDRESS

NOTE: I will have to...
14,746
Posted By dips_ag
Well....actually it just throws the usage for the...
Well....actually it just throws the usage for the sftp command

usage: sftp [-1Cv] [-B buffer_size] [-b batchfile] [-F ssh_config]
[-o ssh_option] [-P sftp_server_path] [-R...
14,746
Posted By dips_ag
passwordless sftp with debug options
Hi,

In our project we already have a passwordless sftp with -b (batchfile) option working but there have been some new application rolled out at the client site and they want us to raise the...
1,718
Posted By dips_ag
Hi Vgersh, Simply Superb !!:) Thanks again....
Hi Vgersh,

Simply Superb !!:) Thanks again.

-dips
1,718
Posted By dips_ag
Hi Vgersh, I think I have an...
Hi Vgersh,



I think I have an additional requirement involving extraction of YYYYMMDD parttern, however what you assumed about this being a mnemonic for data/time data is now true. Can you...
1,718
Posted By dips_ag
Hi Vgersh, Thanks for the solution :)!! ...
Hi Vgersh,

Thanks for the solution :)!!

Can you please explain this sed command ?

-dips
1,718
Posted By dips_ag
Hi vgersh, I tried your code echo...
Hi vgersh,

I tried your code


echo 45_*_YYYYMMDD_SRC.txt.tar.gz | sed 's#[0-9]\{4,\}#*#'

but it returned the same string

45_*_YYYYMMDD_SRC.txt.tar.gz


-dips
1,718
Posted By dips_ag
Hi vgersh, Thanks!! for your quick solution...
Hi vgersh,

Thanks!! for your quick solution it worked with this kind of pattern.........(had to replace nawk by awk....it seems nawk is not supported on my linux)

But it slipped my mind :o to...
1,718
Posted By dips_ag
search & replace pattern
Hi,

My problem is that I have to search a changing pattern and replace it with the wild card char "*"


i/p: 99_*_YYYYMMDD_SRC.txt.tar.gz
o/p: 99_*_*_SRC.txt.tar.gz


The problem is...
Showing results 1 to 25 of 124

 

Featured Tech Videos

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