07-09-2010
Thank you so much. your suggestion worked
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
shell script for sorting,searchingand insertion/deletion of elements in a list (1 Reply)
Discussion started by: jayaram_miryabb
1 Replies
2. HP-UX
Hello all,
Is there any thumb rule or aproximation of the equivalence in second of one tick?
Thank you in advance. (1 Reply)
Discussion started by: mig28mx
1 Replies
3. Shell Programming and Scripting
HOSTNAME=`uname -n`
/usr/sbin/clinfo
CLUSTERACTIVE=$?
# First check whether the Cluster itself is active
if
then
echo Cluster is NOT ACTIVE - EXITING
exit 1
fi
# Now check whether we are on the active Cluster Node for this Resource Group... (2 Replies)
Discussion started by: babu.knb
2 Replies
4. Shell Programming and Scripting
hi,,
i have perl scipt with line :
system('./try.sh $t $d $m');
in shell scipt try.sh i have the line:
echo $1
its not printing value of $t that i hav passed..y is it so..i am running it from apache web server (2 Replies)
Discussion started by: raksha.s
2 Replies
5. Shell Programming and Scripting
Hey there,
I`m a beginner so don`t be brutall with me if it`s a stupid or easy question.
I need to make a script that
1) reads from a text file with this pattern:
2) and i need it to insert the #defines in the .c files
Problem is, that i`m working in a batch file,from within... (3 Replies)
Discussion started by: mad_igor
3 Replies
6. Shell Programming and Scripting
dialog --title "Inputbox - To take input from you" --backtitle "Linux Shell\
Script Tutorial" --inputbox "Enter your name please" 8 60 2>/tmp/input.$$
sel=$?
na=`cat /tmp/input.$$`
case $sel in
0) echo "Hello $na" ;;
1) echo "Cancel is Press" ;;
255) echo " key pressed" ;;
... (7 Replies)
Discussion started by: cola
7 Replies
7. Shell Programming and Scripting
Hi,
In my perl script I want to check whether *.csv files exist and take the count .
Below is the code:
$path = “/home/usr/jan/myfiles”
my $File_Count = `ls *.csv | wc -l `; # Checks in the current directory #Works fine if files exists.
my $File_Count = `ls $path/*.csv | wc -l `; # I need... (2 Replies)
Discussion started by: jisha
2 Replies
8. Shell Programming and Scripting
Hello,
Ubuntu server 11.10
can anybody help what is problem with my shell script?
#!/bin/bash
#script to find out currently logged on user is root or not.
if ]
then
echo "You are super"
else
echo "You are awesome!"
fi
When I run script, I get following output
./uid: line 3:
I... (4 Replies)
Discussion started by: kaustubh
4 Replies
9. Shell Programming and Scripting
In one of my previous threads, someone suggested not to use backticks. When I googled, I came to know that back ticks are deprecated instead $() should be used. But I face issue while using $().
Note: I used echo of the sql just to debug.
The following is the code
#!/bin/ksh
#set -x... (5 Replies)
Discussion started by: bobbygsk
5 Replies
LEARN ABOUT CENTOS
getcert-stop-tracking
certmonger(1) General Commands Manual certmonger(1)
NAME
getcert
SYNOPSIS
getcert stop-tracking [options]
DESCRIPTION
Tells certmonger to stop monitoring or attempting to obtain or refresh a certificate.
TRACKING OPTIONS
-i NAME
The certificate was tracked using the request with the specified nickname. If this option is not specified, some combination of -d
and -n or -f can be used to specify which certificate should henceforth be forgotten.
KEY AND CERTIFICATE STORAGE OPTIONS
-d DIR The certificate is the one stored in the specified NSS database.
-n NAME
The certificate is the one which has this nickname. Only valid with -d.
-t TOKEN
If the NSS database has more than one token available, the certificate is stored in this token. This argument only rarely needs to
be specified. Only valid with -d.
-f FILE
The certificate is or was to be stored in this file.
-k FILE
The private key is or was to be stored in this file. Only valid with -f.
OTHER OPTIONS
-v Be verbose about errors. Normally, the details of an error received from the daemon will be suppressed if the client can make a
diagnostic suggestion.
BUGS
Please file tickets for any that you find at https://fedorahosted.org/certmonger/
SEE ALSO
certmonger(8) getcert(1) getcert-list(1) getcert-list-cas(1) getcert-request(1) getcert-resubmit(1) getcert-start-tracking(1) certmonger-
certmaster-submit(8) certmonger-ipa-submit(8) certmonger_selinux(8)
certmonger Manual 3 November 2009 certmonger(1)