Hello, i'm just a new newbie and i'm happy to meet you, i think that is a good thing to present myself but i don't found a section for do that, and i will do it here.
Hello everyone, my name is Marco and i'm from Italy 19 years old and i'm n00b, i'm a MAC user (yeah don't kill me for that xD) and i hope to learn more about the Unix world, i have just a problem i'm unfriendly with unix shell, she hates me and very many times i insult them, and i need someone that help me to make friendly the unix shell, i hope to find friends and someone that will like to give me his help.
That is my stupid problem:
i have to encrypt one text file to base64 for 1024 times, and every time i crypt it, i have to add a word, like for example LOL= for every string, here a example:
and i have to do that for 1024 times, now i had try to create a small script for unix shell:
i have tried also to do that
but i will check the text file and i see that all text was deleted.
don't worry, i have first put a text to crypt on the text before launch the command but i don't have got no results, can you tell me a correct command to launch for encrypt that text?
or better good, can you add on the script a command that will automatize the crypt for encrypting 1024 times without that i need to launch the command 1024 times? i hope that you have understand with my bad english.
Have a nice day, and best regards
Marco
Last edited by Scrutinizer; 05-27-2014 at 02:13 PM..
Reason: code tags
hi, thank you for replay. sorry i were go to dinner, and until 40 minutes i will go to sleep because tomorrow i have to get up at the 7am :S however... on encrypt.txt i have write only: encodeme , it's just a text that i have to crypt...
WOW thanks you very much! it's perfect, but the problem is that i have to add the same word on every string i will generate...
mmh, really i don't think that i can know more elegant codes... for me... it's the same, i will be happy also with an ugly code. :asd:
nono, i need it attached to the same text... for example:
i go to sleep, i will return tomorrow, thank you very much to everyone and more thanks for the future answers, i will contribute to the community maybe asking more questions.
hey i have see that there isn't an off topic section, it's so sadly this thing
Last edited by supermarco2020; 05-27-2014 at 04:59 PM..
Hi All,
I need a favour.
I have a file called "redhat_servers.txt" containing some server names line by line.
When I try to ssh to each server, and I have already done with ssh key-gen stuff. Now, for first time if I do ssh .. I need to type yes I have more than 400 servers...it will take... (4 Replies)
Hi all,
I'm looking for secure file encryption tools that use MAC address as encryption key. FYI, I'm using Red Hat Enterprise Linux OS.
For example: when A wants to send file to B
A will encrypt the file with B's computer MAC/IP address as an encryption key
This file can only be decrypted... (2 Replies)
Hi,
Please help me,its urgent.
I have a tool that i want to run from a shell script. When we run the tool it will ask the user choice to add or delete. When user enter the choice it will then ask how many units he want to delete or add and will add or delete accordingly.
Now I want to... (1 Reply)
I am trying to write a shell script which will use a text file as an argument to produce pgp encryted file.
Shell script name: encryptext.sh
This is the code of encryptext.sh
#!/usb/bin/ksh
file=$1
cd /home/project/source
gpg --verbose --armour --encrypt --recipient "IMS_L2" --output... (2 Replies)
Hi,
I have this problem of merging 2 shell scripts and run it one after the other. For eg: script A runs to give OutputA. This OutputA should become the input of script B which will run to give OuputB. Now this has to happen automatically i.e, script A and script B should run consecutively one... (1 Reply)
hi guys,
I need a shell script to send mail automatically to my personal mail id like xxxx@hotmail.com but while experimenting with "mail" command I faced following problems.
cat text1.txt | mail -s 'test mail' xxxx@hotmail.com
command successfully executed
but while
checking for... (4 Replies)
I want to automatically download a CSV file daily which can be found here:
http://www.londonstockexchange.com/en-gb/pricesnews/prices/coveredwarrants/search.htm
and the link is named "Click to download covered warrants (100Kb)" onthe right hand side.
What commands can I use to invoke clicking... (1 Reply)
My dilemma,
I need to send, deemed confidential, information via e-mail (SMTP). This information is sitting as a file on AIX. Typically I can send this data as a e-mail attachment via what we term a "mail filter" using telnet. I now would like to somehow encrypt the data and send it to a e-mail... (1 Reply)