This works exactly as I needed ...
Now all I need is to be able to continue to check others without exiting the script every time, so after checking the first one I need a question?
hi all,
I'm trying to resolve a scenario where we prompt the user to enter 1 or more disk names.
From there we would run a command on each disk which would give its location.
This would allow us to create a list of disks at location A, a list of disks at location B,....etc...
Any help... (1 Reply)
Hi Guys,
I want to create user with a script:
user name, user id, primary group, group set, home directory, initial program, password, user information, another user can SU to user. And all the rest is the default.
Does anyone already have the script for this? Can you please share it... (8 Replies)
Hi,
I need to get the user input and execute a particular script based on the input provided.
For E.g. When I execute the script say Test.sh it should prompt "For which country I need to execute the script? (US/India)"
Based on the input as US or India from the user the execution of... (8 Replies)
I'm working on making a menu system on an HP-UX box with Bash on it. The old menu system presents the users with a standard text menu with numbers to make selections. I'm re-working the system and I would like to provide something more akin to iterative search in Emacs.
I have a list of 28... (2 Replies)
Hello
I am trying to create a user input shell scipt. The objective is user should enter the circuit number and the input is saved in a log file. If the user does not enter anything then the question should prompt it until the circuit no. is entered.
Can any one please correct the code below.... (3 Replies)
Hi Jim,
I have following script,i which i need to take dynamic value .
script,
nawk -v v1=grep"INT_EUR" $propertifilename | cut -d"=" -F2` -F'~' '{if (NF-1 !=v1)
{print "Error in " $0 " at line number "NR" tilde count " N-1}}' $filename
In the above script i want to use INT_EUR as a variable... (2 Replies)
i have a script which takes input from user, if user gives either Y/y then it should continue, else it should quit by displaying user cancelled.
#!/bin/sh
echo " Enter your choice to continue y/Y OR n/N to quit "
read A
if
then
echo " user requested to continue "
##some commands... (7 Replies)
Hi All,
I am really new to Linux.I am trying to write a script for creating a new directory by getting input of folder name from the user.Please help me in this regard.
#! /bin/bash
echo "Enter name of dir":$filename
mkdir -p $filename
When executing this I am getting following error
... (13 Replies)
Hi everyone, I'm new here and just a beginner in linux scripting.
Just want to ask for help on this one.
I am trying to create a script that will accept user input (year-month and user/s).
I wanted to have the script to continue running, until the user inputs a DATE and name/s of user/s. ... (2 Replies)
Discussion started by: Helskadi
2 Replies
LEARN ABOUT DEBIAN
mkimapdcert
MKIMAPDCERT(8) Double Precision, Inc. MKIMAPDCERT(8)NAME
mkimapdcert - create a test SSL certificate for IMAP over SSL
SYNOPSIS
/usr/sbin/mkimapdcert
DESCRIPTION
IMAP over SSL requires a valid, signed, X.509 certificate. The default location for the certificate file is /usr/lib/courier/imapd.pem.
mkimapdcert generates a self-signed X.509 certificate, mainly for testing. For production use the X.509 certificate must be signed by a
recognized certificate authority, in order for mail clients to accept the certificate.
/usr/lib/courier/imapd.pem must be owned by the daemon user and have no group or world permissions. The mkimapdcert command will enforce
this. To prevent an unfortunate accident, mkimapdcert will not work if /usr/lib/courier/imapd.pem already exists.
mkimapdcert requires OpenSSL to be installed.
FILES
/usr/lib/courier/imapd.pem
X.509 certificate.
/etc/courier/imapd.cnf
Parameters used by OpenSSL to create the X.509 certificate.
SEE ALSO courier(8)[1]
AUTHOR
Sam Varshavchik
Author
NOTES
1. courier(8)
[set $man.base.url.for.relative.links]/courier.html
Courier Mail Server 04/04/2011 MKIMAPDCERT(8)