i have a command line that looks like this:
my_command -a -b -c -d"foo bar" "./run this" param1 param2
I'm using getopt to pharse parameters -a -b -c -d.
after that i would like to execute "./run this" param1 param1 (which is places after --) but I'm loosing quotas around ./run this. How can i... (0 Replies)
At first, give my best wish for all MOD and admins here. I"m learning bash shell program just for a month, not too much, not too little, but i must admire that i'm very bad at math and algorithm. :(
I want to do this :
Read the content of a file line by line and at each line, ask me want to... (3 Replies)
Hi I am executing a KSH script by passing command line arguments
example: Red Green Dark Red Blue
when I am splitting the arguments by using " "(Space) as delimiter
But the colour Dark Red is a single parameter. But it is getting splitted in between
How to avoid this. Please help Also... (4 Replies)
So, I want to read line-by-line a text file with unknown number of files....
So:
a=1
b=1
while ; do
b=`sed -n '$ap' test`
a=`expr $a + 1`
$here do something with b etc
done
the problem is that sed does not seem to recognise the $a, even when trying
sed -n ' $a p'
So, I cannot read... (3 Replies)
hi,
This is actually realted to a Abinitio command in a unix script. my code is
#!/bin/ksh
GRAPH_NAME=$1
shift
air sandbox run $GRAPH_NAME $* > file.lst 2>&1
if ]; then echo "Pass"
fi
when i run this script with this command "script.ksh graph_name parameters"
the script... (1 Reply)
Hi folks,
I've list of LDAP records in this format:
cat cmmac.export.tmp2
dn: deviceId=0a92746a54tbmd34b05758900131136a506,ou=devices,ou=customer,ou=nl,o=upc
cmmac: 00:13:11:36:a5:06
dn: deviceId=0a92746a62pbms4662299650015961cfa23,ou=devices,ou=customer,ou=nl,o=upc
cmmac:... (4 Replies)
my requirement is,
consider a file output
cat output
blah sdjfhjkd jsdfhjksdh
sdfs 23423 sdfsdf sdf"sdfsdf"sdfsdf"""""dsf
hellow there
this doesnt look good
et cetc etc
etcetera
i want to replace a line of line number 4 ("this doesnt look good") with some other line
... (3 Replies)
Hi Folks,
I have installed Centos-6.4 in my VMware. I have enabled the proxy settings in the network and I am able to access the internet through GUI, but unable to browse via the command line. I did the below options as:
1) Added the proxy setting in /etc/environment file.export... (4 Replies)
I am looking for help in processing of those options: '-n' or '-p'
I understand what they do and how to use them.
But, I would like to use them with more than one file (and without any shell-loop; loading the 'perl' once.)
I did try it and -n works on 2 files.
Question is:
- is it possible to... (6 Replies)
Hi Guys Any help is appreciated very much!
I'm trying to use SFTP to an external server using the native SFTP Client in RHEL 6 and 7.
I've been given a username on the remote SFTP Server of myemail@myorg.com.
I can not seem to escape that @ sign no matter what I do.
I've tried these... (16 Replies)
Discussion started by: BG_JrAdmin
16 Replies
LEARN ABOUT SUNOS
unbound-checkconf
unbound-checkconf(8) unbound 1.4.17 unbound-checkconf(8)NAME
unbound-checkconf - Check unbound configuration file for errors.
SYNOPSIS
unbound-checkconf [-h] [-o option] [cfgfile]
DESCRIPTION
Unbound-checkconf checks the configuration file for the unbound(8) DNS resolver for syntax and other errors. The config file syntax is
described in unbound.conf(5).
The available options are:
-h Show the version and commandline option help.
-o option
If given, after checking the config file the value of this option is printed to stdout. For "" (disabled) options an empty line is
printed.
cfgfile
The config file to read with settings for unbound. It is checked. If omitted, the config file at the default location is checked.
EXIT CODE
The unbound-checkconf program exits with status code 1 on error, 0 for a correct config file.
FILES
/etc/unbound/unbound.conf
unbound configuration file.
SEE ALSO unbound.conf(5), unbound(8).
NLnet Labs May 24, 2012 unbound-checkconf(8)