Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hello, can any one help me on this?
I have a /etc/exports file, it may contain a line (I can not remember exactly). Let me use an a sample file myfile.txt which contains a line
* mypattern uncertain key words
I want this line (with any possible combination of the uncertain key words to be... (2 Replies)
Hi Guys,
while executing the following command : print "-ABC" is giving following error :
ksh: print: bad option(s)
I cannot use echo for some other reasons, so any other option ? (2 Replies)
Hi,
This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Hi,
My input has much more lines, but few of them are below
pin(IDF) {
direction : input;
drc_pinsigtype : signal;
pin(SELDIV6) {
direction : input;
drc_pinsigtype : ... (3 Replies)
Hi all,
First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for.
I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Look at the following data file(cou.data) which has four fields separated by tab.
Four fields are country name, land area, population, continent where it belongs.
As for country name or continent name which has two words, two words are separated by space.
(Data are not accurately... (1 Reply)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
lighty-enable-mod
LIGHTYENABLEMOD(1) General Commands Manual LIGHTYENABLEMOD(1)NAME
lighty-enable-mod, lighty-disable-mod - enable or disable configuration in lighttpd server
SYNOPSIS
lighty-enable-mod [module]
lighty-disable-mod [module]
DESCRIPTION
This manual page documents briefly the lighty-enable-mod and lighty-disable-mod commands.
lighty-enable-mod and lighty-disable-mod are programs that enable (and respectively disable) the specified configuration file within
lighttpd configuration.
Both programs can be run interactively or from command line. If either program is called without any arguments, an input prompt is dis-
played to the user, where he might choose among available lighttpd modules. Immediate action is taken, if a module name was given on the
command line.
EXIT STATUS
Both programs indicate failure in their exit status. lighty-enable-mod or lighty-disable-mod respectively may leave execution with one of
the following exit codes:
0 denotes success
1 denotes a fatal error (e.g., a module could not be enabled, or a dependency was not found)
2 denotes a minor flaw (e.g., a module was not enabled because it was already loaded before)
Note
You can (un-) load several modules at time. The exit status will only reflect the most serious issue (where a minor flaw beats no error,
but a fatal error beats a minor flaw). This means, if a minor flaw was encountered as well as a fatal error, the program will leave with
exit status 1 and stop immediately.
DEPENDENCIES
Debian allows lighttpd modules to formulate dependencies to other modules they depend on. Configuration files are scanned for dependencies
upon load or unload of modules, not at runtime of the web server. Such a magic line has the following format:
# -*- depends: module[, module] -*-
and may appear anywhere in the file. If such a line is found, the extracted name is interpreted as dependency to another lighttpd module.
lighty-enable-mod will seek available configurations to satisfy this dependency and will recursively enable all dependencies found on its
way. lighty-disable-mod will disable reverse dependencies recursively.
SEE ALSO lighttpd(1)AUTHOR
Program and man pages were originally written by Krzysztof Krzyaniak <eloy@debian.org> and later modified by Arno Toll <debian@toell.net>
2006-01-11 LIGHTYENABLEMOD(1)