Search Results

Search: Posts Made By: zaff
3,272
Posted By zaff
great, Thanks for the super fast response! ...
great, Thanks for the super fast response!

zaff
3,272
Posted By zaff
sed command using variables in shell script
hi guys,
The following command doesn't seem to work in my shell script:


tag=$(sed -n '/${line}/ s/.*\[\(.*\)].*/\1/p' myfile.txt)


When i replace the ${line} with an actual value, it works...
14,698
Posted By zaff
basically all i need is the following: 1....
basically all i need is the following:

1. command similar to one u provided, but assigning the string in the brackets to a variable. i will then use this variable to generate an md5 (this i can...
14,698
Posted By zaff
...for further clarity: what i'm trying to do...
...for further clarity:
what i'm trying to do is replace the string between the brackets with its MD5 value. I'm basically anonymising the data. I can only search the file using the id, as i have no...
14,698
Posted By zaff
Replacing text between two square brackets
hi guys,
i'm writing a script that looks for a unquie id in a file and replaces a string between two square brackets on the same line as the unquie id:


.......
.......
0001 zz 43242 [replace...
11,972
Posted By zaff
Excellent! that's worked. Thanks for your...
Excellent! that's worked.

Thanks for your help and the quick response.:b:
11,972
Posted By zaff
thanks for the response. Now i'm getting: ...
thanks for the response.
Now i'm getting:

> echo -n 'hello' | digest -a md5
348bda8e6bc630f8c6ea046c99489b92


...which is still wrong/different to the database generated value and values...
11,972
Posted By zaff
Different MD5 value when using 'digest' command
Hi guys,
I need to anonymise some data; Some of it in an Oracle database and some in text files. I'm using the 'digest' command on Solaris 10 OS and an Oracle function to encode the data in the...
21,862
Posted By zaff
thanks for that Blowtorch!
thanks for that Blowtorch!
21,862
Posted By zaff
Loops within ftp shell session
Hi guys,
i need to script the sending of multiple files through one ftp session. I have done this so far:
----------------------------------------------------------------
#!/bin/sh
USER=myuser...
Forum: Solaris 01-17-2006
13,018
Posted By zaff
well, if there are multiple 'puts' from X number...
well, if there are multiple 'puts' from X number of clients going to the same server, then i need to make sure that while the files are being transfered, that space does not run out. These will be...
Forum: Solaris 01-17-2006
13,018
Posted By zaff
I basically need to findout how ALLO can be used...
I basically need to findout how ALLO can be used to allocate space before a file is sent to the server, so that the allocated space can not be used by any other client who is also sending files. this...
Forum: Solaris 01-17-2006
13,018
Posted By zaff
thnks RTM, but now i get: ftp> quote allo...
thnks RTM, but now i get:

ftp> quote allo 10000
202 ALLO command ignored.
Forum: Solaris 01-17-2006
13,018
Posted By zaff
After the connection, i type the following: ...
After the connection, i type the following:

ftp>ALLO 1000
?Invalid command

I get an "invalid command" error.

thnks,
Zaff
Forum: Solaris 01-17-2006
13,018
Posted By zaff
FTP: Why can i not use the ALLO command?
Hi guys,
I need to make use of the FTP ALLO command on a Solaris 10 OS. For some reason, FTP does not recognise the command as being valid. Does this command have to be enable> If so, how?

thnks,...
Forum: IP Networking 11-22-2005
15,516
Posted By zaff
sorry if i haven't been too clear in my original...
sorry if i haven't been too clear in my original question. The ifconfig cmmand has a 'alias' parameter. What does this enable me to do? It seems very similar to a creating a logical network...
Forum: IP Networking 11-22-2005
15,516
Posted By zaff
So how does this differ from creating an alias of...
So how does this differ from creating an alias of the network interface? i would like to know how creating a logical or an alias differ (pros and cons).

thnks,
Zaff
Forum: IP Networking 11-21-2005
15,516
Posted By zaff
i'm running Solaris 10. hope thid helps. The...
i'm running Solaris 10. hope thid helps. The options are part of the ifconfig command.

thnks,
Zaff
Forum: IP Networking 11-21-2005
15,516
Posted By zaff
ifconfig: difference between creating logical or alias network interface
Hi guys,
I have set up multiple virtual FTP servers on a server through one physical NIC. I believe there are to ways; setting logical or alias ip's. I would like to know what is the difference...
Showing results 1 to 19 of 19

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