8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i am reading line by line from a file as below
while IFS= read -r var
done < "hello.txt"
I added the keytool command in the do while loop as below.
while IFS= read -r var
keytool -genkey -alias $fname -keyalg RSA -keystore $fname.jks -keysize 2048
done... (3 Replies)
Discussion started by: mohtashims
I'm in search of a keytool command which pulls the expiration dates of certificates in keystore. I have around 200 certs in my keystore, so would like to know if we have any script/command which can pull expiration dates of certificates at one run. (3 Replies)
Discussion started by: fop4658
I am doing a C++ self-study and I got stuck with this problem.
I want to have a code that asks the suer to enter two numbers and then it lists the numbers between these two numbers. It has also to print a message if these two numbers are equal.
Here is what I wrote:
#include <iostream>... (11 Replies)
Discussion started by: faizlo
4. Shell Programming and Scripting
I have a script that uses this syntax:
for i in `ls *.pll`
echo Compiling Lib $i .....
frmcmp.sh userid=$LOGON module_type=LIBRARY module=$i compile_all=yes batch=yes
mv *.pll ../libs
mv *.plx ../libs
mv *.err ../libs
If there are no files that match though I... (9 Replies)
Discussion started by: mjdbhouse
5. Shell Programming and Scripting
I have 3 files in a directory. The files are named as below
The file filename.txt contains the following 1 line
When I run the following while loop I get the following output
while read r
done < filename.txt
MSDOS PCDOS (1 Reply)
Discussion started by: gmatsoon
6. Shell Programming and Scripting
For example res=`some command`
What does this syntax mean?
I mean exactly "Xvar" "Xval" (2 Replies)
Discussion started by: mirusnet
7. UNIX for Dummies Questions & Answers
what happens if the script doesn't get Y,y,N, or n? Will it just loop back up and ask the question again? I tried to get mine to give me another response to tell me my input was invalid, but ran into problems with it. (8 Replies)
Discussion started by: wmosley2
8. UNIX for Dummies Questions & Answers
what is the function of swap in linux why i have to create apsolutely a particion for the swap when i install (i installed lnx4win mandrake and made an automat. disk particion and the install program one of my disk partitions that was 3gb devidet in 4 one native 700mb swap 600mb and the others i... (1 Reply)
Discussion started by: user666