10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys sorry about post the code in portuguese but now i fix almost parts of code. now i can encryped and decryped the files but have a small problem. When not writte nathing generate automatically a random cypher but after the value of this cypher not appear igual than variable $saved_key. And... (2 Replies)
Discussion started by: Xremix30
2 Replies
2. Shell Programming and Scripting
im trying to make sure the openssl password does not show up in the output of ps.
so i'm trying to do something like this:
MAST=yup
echo "U2FsdGVkX19wH9LrQhuRZes45BM9rfiRpdhTCi+gLls=" | openssl <<HERE 2>&1 >/dev/null
aes-128-cbc -a -d -salt -k "${MAST}"
HERE
But this isn't working.. I... (10 Replies)
Discussion started by: SkySmart
10 Replies
3. Solaris
Hello,
I hope this means something to someone. I have an odd problem that just started happening recently. I am not the system admin, so I don't have full info on any changes to the system lately. Except that I did upgrade OpenSSL to version 1.0.1.c from 1.0.0j.
Anyway, I am trying to... (4 Replies)
Discussion started by: jonycp
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Is there a way to write to a txt file each day but retain the header on the file? I'm cat'ing 5 files into one .txt file each day but I want the new data to be written after the first 2 lines which are:
Progname Size Date Owner
----------------------------
Basically I want my new... (4 Replies)
Discussion started by: Grueben
4 Replies
5. Shell Programming and Scripting
Hey all this is probably something simple but not sure why I am getting this error. Any help is appreciated.
Expected output:
$ ./ex_01.ksh word1 word2 word3 word4
arguments: word1 word2 word3 word4
Number of arguments: 4
what I am getting:
./ex_01.ksh word1 word2 word3 word4
cat:... (3 Replies)
Discussion started by: linuxn00b
3 Replies
6. Solaris
I am trying to compile nrpe 2.12 against openssl 1.0 on Solaris 10 however I am getting core dumps for some reason. Anyone know a way to fix this?
Here is the output of make:
bash-3.00# make all
cd ./src/; make ; cd ..
gcc -g -fPIC -Wall -O2 -I/usr/local/ssl/include... (0 Replies)
Discussion started by: _JPL_
0 Replies
7. Shell Programming and Scripting
I am trying to use the following code:
cat *.txt > OutPutFile.txt
Using files with a expression in one single line that always end with " ; " something like this:
Block1.txt
Block2.txt
Block3.txt
The expected result should be something like this:
OutPutFile.txt:
My code works OK in this... (4 Replies)
Discussion started by: Xterra
4 Replies
8. Shell Programming and Scripting
Hello again;
I have a file in this format
./this is/first/1
./this is/second/2
./this is/third/3
and i am using this file in a for loop with cat command like this
for i in `cat directory.txt`
do
..........
done
Bu there is a problem because my directory is "this is" but... (7 Replies)
Discussion started by: redbeard_06
7 Replies
9. UNIX for Advanced & Expert Users
i've seen a few posts regarding this issue, and i've tried the resolutions,
but i keep running into the same problem.
i'm trying to compile OpenSSL with the use of rsaref-2.0 (i'm running
through this tutorial... (1 Reply)
Discussion started by: xyyz
1 Replies
10. UNIX for Advanced & Expert Users
On Solaris 5.8 in ksh,
I have a sample.txt with contents
A 105 305
B 205 405
C 100 198
.......................
when I do a cat sample.txt the O/P is exactly as above but when I do a echo `cat sample.txt` the O/P changes to
A 105 305 B 205 405 C 100 198...........
Everything is... (3 Replies)
Discussion started by: macrulez
3 Replies