Sponsored Content
Top Forums Shell Programming and Scripting Help about comment verification Post 302885694 by learnbash on Tuesday 28th of January 2014 03:45:32 AM
Old 01-28-2014
Help about comment verification

Hello,

I have a file, in which line 40 is commented. It is basically a cron job,

Code:
#05,35,50 * * * * /usr/local/scripts/my.sh

how i can i verify the line 40 is commented, if not then give me message not commented, otherwise provide us message it is commented.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

verification?

I'm really new at this and wondering how I would go about adding code to my script to verify that all records loaded successfully? (I am loading a file into a table) i'm using the Korn shell. I'm also having trouble verifying parts in the header as i do not really understand the header and... (3 Replies)
Discussion started by: sheranjem
3 Replies

2. Shell Programming and Scripting

SSH login verification

I need to write a script that check users authenting to a particular server ssh -l if sucessfull echo loggin sucess else echo login invalid Any Suggestions ? (4 Replies)
Discussion started by: sriram003
4 Replies

3. UNIX for Dummies Questions & Answers

Signiture verification failed

Hello, I am new to Solaris. I've installed Solaris 10.0 and trying to apply all patches. On Java Desktop, I've applied almost all patches but some of patches should be applied manually on the command line. The patches -should be applied manually on terminal- are downloaded by Sun Update... (1 Reply)
Discussion started by: XNOR
1 Replies

4. Programming

htable + verification

hello every body, I have to verifiy if the param_key is selectionned twice or more and to print only one occurence i'm using htable what's the good implementation to add to the code to verify this. code : { char *tmpStr = NULL; ght_iterator_t iterator_param; void... (0 Replies)
Discussion started by: kamel.seg
0 Replies

5. AIX

HACMP verification

Hi, every midnight hacmp verification is run automatically. clverify.log says there is no erro bu clutils.log says there is 1 error but when i look at the clverify.log no problem at all. Below is the output of the clverify.log what may be the cause of the error in the clutils.log file. Thanks,... (1 Reply)
Discussion started by: mmersoylu
1 Replies

6. Shell Programming and Scripting

Script Verification

Hi eveyone I am planning to use crontab to delete all files in my donwloads directory that are older than one hour I will be using crontab to run this script find /home/kee/downloads/* -daystart -mmin +59 -type f -name -exec rm -r {}\; could you please let me know if the above... (1 Reply)
Discussion started by: k33k00
1 Replies

7. Shell Programming and Scripting

Field verification script help

Hello again unix.com I need some help regarding a script. I have: function checkform ( form ) { if (form.pass.value.length < 6) { alert( "Error." ); form.pass.focus(); document.getElementById('pass').style.backgroundColor="#FFFFFF"; return... (2 Replies)
Discussion started by: galford
2 Replies

8. Solaris

Server login verification

Hi , How to ensure the server i logged in OS cluster ? Is there any command to verify that ? Regards, maddy (5 Replies)
Discussion started by: Maddy123
5 Replies

9. Programming

ECDSA verification

Using ECDSA, how do you verify integrity of Data (D), Given the value for the following: Random number (r) Signature (s) ECpublic Key (K) Thanks. (0 Replies)
Discussion started by: dragonpoint
0 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Can't get past google verification

Trying to register the Verification step is blocking me. I've allowed all the intrusive Google trackers and Java. Tried different browsers with no blocking. Nothing is working. Says: "Try again later Your computer maybe ... " What weird is in this forum section I can pass the recaptcha but in... (1 Reply)
Discussion started by: Unregistered
1 Replies
TrustedExtensionsPolicy(4)					   File Formats 					TrustedExtensionsPolicy(4)

NAME
TrustedExtensionsPolicy - configuration file for Trusted Extensions X Server Extension SYNOPSIS
/usr/X11/lib/X11/xserver/TrustedExtensionsPolicy /usr/openwin/server/etc/TrustedExtensionsPolicy DESCRIPTION
TrustedExtensionsPolicy is the configuration file for Trusted Extensions X Server Extension (SUN_TSOL). SUN_TSOL provides security policy enforcement. This enforcement is based on Mandatory Access Control (MAC) and Discretionary Access Control (DAC). Blank lines and comments in the TrustedExtensionsPolicy file are ignored. Comments start with a pound sign (#). The format of the file is as follows: keyword{space|tab}value where keyword can be one of the following: atom Label this atom ADMIN_LOW, so that XGetAtomName(3X11) succeeds. property Instantiate this property once. The default is to polyinstantiate a property. selection Polyinstantiate this selection. The default is to instantiate the selection once. extension Disable this extension. privilege Implicitly allow this window privilege on all clients. For possible keyword values, see the /usr/X11/lib/X11/xserver/TrustedExtensionsPolicy file for the Xorg X server. For Xsun, see the /usr/openwin/server/etc/TrustedExtensionsPolicy file. EXAMPLES
The following entry in the TrustedExtensionsPolicy file polyinstantiates the Dtpad program: selection Dtpad If the entry is missing, or commented out, the Dtpad program is instantiated once. Similarly, the following entry instantiates the WM_ICON_SIZE property once: property WM_ICON_SIZE If the entry is missing, or commented out, the WM_ICON_SIZE property is polyinstantiated. FILES
/usr/X11/lib/X11/xserver/TrustedExtensionsPolicy Configuration file for Trusted Extensions X Server Extension ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +----------------------+------------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +----------------------+------------------------------------+ |Availability |SUNWxwts | +----------------------+------------------------------------+ |Interface Stability |Committed | +----------------------+------------------------------------+ SEE ALSO
XGetAtomName(3X11), attributes(5) NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions. SunOS 5.11 20 Jul 2007 TrustedExtensionsPolicy(4)
All times are GMT -4. The time now is 06:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy