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
nfs(4)							     Kernel Interfaces Manual							    nfs(4)

NAME
nfs - file containing parameter values for NFS-related daemons SYNOPSIS
DESCRIPTION
The file resides in directory and provides startup parameters for the and daemons. The file format is ASCII; comment lines begin with the crosshatch character. Parameters consist of a keyword followed by an equal sign followed by the parameter value. This is the form of parameters in the file: The following parameters are currently supported in the file: The NFS client only uses NFS versions in the range specified by these variables. Valid values or versions are and By default these variables are unspecified (commented out) and the client's default minimum is Version 2. The default maximum is Version 3. You can override this range on a per-mount basis by using the option to The NFS server only uses NFS versions in the range specified by these variables. Valid values or versions are and As with the client, the default is to leave these variables commented out. The default minimum version is and the default maximum version is By default, this variable is commented out and the NFS server provides delegations to clients. The user can turn on delegations for all exported filesystems by setting this variable to This variable only applies to NFS Version 4. Delegation should only be turned on provided that there is no local access to the exported file system. By default, uses the DNS domain of the system. This setting overrides the default. This domain is used for identifying user and group attribute strings in the NFS Version 4 protocol. Clients and servers must match with this domain for operations to proceed normally. This variable only applies to NFS Version 4. See below for further details. Sets the maximum number of concurrent, connection-oriented connections. The default is unlimited and is obtained by not setting (that is, not commenting out) Equivalent to the option in Set connection queue length for the NFS over a connection-oriented transport. The default value is 32, meaning 32 entries in the queue. Equivalent to the option in Start over the specified protocol only. Equivalent to the option in is equivalent to on the command line. Mutually exclusive of Either or must be commented out. For the UDP protocol, only version 2 and version 3 service is established. NFS Version 4 is not supported for the UDP protocol. Start NFS daemon for the transport specified by the given device only. Equivalent to the option in Mutually exclusive of Either or must be commented out. Maximum number of concurrent NFS requests. Equivalent to last numeric argument on the command line. The default is 16. Set connection queue length for over a connection-oriented transport. The default and minimum value is Maximum number of concurrent requests. The default is Retransmit timeout, in seconds, before retries. The default is Grace period, in seconds, that all clients (both NLM and NFSv4) have to reclaim locks after a server reboot. This parameter also controls the lease interval. The default is Setting NFSMAPID_DOMAIN As described above, the setting for overrides the domain used by for building and comparing outbound and inbound attribute strings, respec- tively. This setting overrides any other mechanism for setting the NFSv4 domain. In the absence of a setting, the daemon determines the NFSv4 domain as follows: If a properly configured (see resolv.conf(4)) exists, queries specified nameserver(s) for the domain. If a properly configured (see resolv.conf(4)) exists, but the queried nameserver does not have a proper record of the domain name, attempts to obtain the domain name through the BIND interface (see resolver(3)). If no exists, falls back on using the configured domain name (see domainname(1)), which is returned with the leading domain suffix removed. For example, for is returned. If does not exist, no domain name has been configured (or no exists), falls back on obtaining the domain name from the host name, if the host name contains a fully qualified domain name (FQDN). If a domainname is still not obtained following all of the preceding steps, will have no domain configured. This results in the following behavior: Outbound "owner" and "owner_group" attribute strings are encoded as literal ids. For example, the UID 12345 is encoded as ignores the "domain" portion of the inbound attribute string and performs name service lookups only for the user or group. If the user/group exists in the local system name service databases, then the proper uid/gid will be mapped even when no domain has been configured. This behavior implies that the same administrative user/group domain exists between NFSv4 client and server (that is, the same uid/gid for users/groups on both client and server). In the case of overlapping id spaces, the inbound attribute string could potentially be mapped to the wrong id. However, this is not functionally different from mapping the inbound string to yet provides greater flexibility. AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
lockd(1M), mount_nfs(1M), nfsd(1M), nfsmapid(1M). nfs(4)
All times are GMT -4. The time now is 03:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy