my yacc output file y.tab.c is not compiling using cc y.tab.c -ly command
.possibily option flag -ly is not correct.i m using red hat linux 9.please give solutions. (4 Replies)
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
hi everybody, can somebody tell me what -R option on g++ on solaris means :
g++ -DAIX -fpic -static -o printps printps.o -L/epost2/blitz/xercesc1_1 /lib -L/oracle/OraHome/lib32/ L/epost2/blitz/lib -lxerces-c1_1 -lhmltods -lhmlt ops -lgeneric -lnotify -lutil -lclntsh `cat... (0 Replies)
In my ksh script, if the conditions of a if statement are true, then do nothing; otherwise, execute some commands.
How do I write the "do nothing" statement in the following example?
Example:
if (( "$x"="1" && "$y"="a" && "$z"="happy" ))
then
do nothing
else
command
command
fi... (3 Replies)
Hi All,
I am using Unix ksh script.
I need to insert values to a table using the o/p from a slelect statement.
Can anybody Help!
My script looks like tihs.
---`sqlplus -s username/password@SID << EOF
set heading off
set feedback off
set pages 0
insert into ${TB_NAME}_D... (2 Replies)
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Hi Guys,
I'm sorry but I can't find answer for this, what is the meaning of -s option in "if" statement on unix scipting. Please see sample below:
opath=/home/output
for i in N1 N2 N3 N4
do
echo $i
if
then
grep $i $opath/N5_CRAI > $opath/N5_$i.crai
chmod 777 $opath/N5_$i.crai
... (7 Replies)
Hi folks,
I have a scenario to convert the update statements into insert statements using shell script (awk, sed...) or in database using regex.
I have a bunch of update statements with all columns in a file which I need to convert into insert statements.
UPDATE TABLE_A SET COL1=1 WHERE... (0 Replies)
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
LEARN ABOUT LINUX
a2enconf
A2ENCONF(8) System Manager's Manual A2ENCONF(8)NAME
a2enconf, a2disconf - enable or disable an apache2 configuration file
SYNOPSIS
a2enconf [ [-q|--quiet] configuration]
a2disconf [ [-q|--quiet] configuration]
DESCRIPTION
This manual page documents briefly the a2enconf and a2disconf commands.
a2enconf is a script that enables the specified configuration file within the apache2 configuration. It does this by creating symlinks
within /etc/apache2/conf-enabled. Likewise, a2disconf disables a specific configuration part by removing those symlinks. It is not an
error to enable a configuration which is already enabled, or to disable one which is already disabled.
Note that many configuration file may have a dependency to specific modules. Unlike module dependencies, these are not resolved automati-
cally. Configuration fragments stored in the conf-available directory are considered non-essential or being installed and manged by reverse
dependencies (e.g. web scripts).
OPTIONS -q, --quiet
Don't show informative messages.
-m, --maintmode
Enables the maintainer mode, that is the program invocation is effectuated automatically by a maintainer script. This switch should
not be used by end users.
-p, --purge
When disabling a module, purge all traces of the module in the internal state data base.
EXIT STATUS
a2enconf and a2disconf exit with status 0 if all configurations are processed successfully, 1 if errors occur, 2 if an invalid option was
used.
EXAMPLES
a2enconf security
a2disconf charset
Enables Apache security directives stored in the security configuration files, and disables the charset configuration.
FILES
/etc/apache2/conf-available
Directory with files giving information on available configuration files.
/etc/apache2/conf-enabled
Directory with links to the files in conf-available for enabled configuration files.
SEE ALSO apache2ctl(8), a2enmod(8), a2dismod(8).
AUTHOR
This manual page was written by Arno Toell <debian@toell.net> for the Debian GNU/Linux distribution, as it is a Debian-specific script with
the package.
14 February 2012 A2ENCONF(8)