7 More Discussions You Might Find Interesting
1. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
2. Shell Programming and Scripting
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
3. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
4. Shell Programming and Scripting
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)
Discussion started by: shis100
7 Replies
5. Programming
hello everybode.Got some sort of "problems" with this stuff;
well this is a program
int main()
{
int Pipe;
int origStdin, origStdout;
int childPID;
origStdin = dup(0);
origStdout = dup(1);
pipe(Pipe);
if( (childPID = fork()) < 0 )
{
perror(... (2 Replies)
Discussion started by: IdleProc
2 Replies
6. UNIX for Dummies Questions & Answers
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)
Discussion started by: Lokesha
4 Replies
7. Debian
Hi All,
I am running my application on a dual cpu debian linux 3.0 (2.4.19 kernel).
For my application:
<sar -U ALL>
CPU %user %nice %system %idle
...
10:58:04 0 153.10 0.00 38.76 0.00
10:58:04 1 3.88 0.00 4.26 ... (0 Replies)
Discussion started by: jaduks
0 Replies
LEARN ABOUT DEBIAN
make-klone-project
MAKE-KLONE-PROJECT(1) General Commands Manual MAKE-KLONE-PROJECT(1)
NAME
make-klone-project - manage a KLone based custom Debian package
SYNOPSIS
make-klone-project [options] COMMAND
DESCRIPTION
make-klone-project is a tool to create and manage custom webserver packages that use KLone, a framework that integrates a web site with
possibly dynamic content and a web server into a single binary.
The aim is to let the author to focus on editing the site specific files under webapp/ and allow creating a Debian package containing the
web server and an init.d script to manage it with dpkg-buildpackage.
USAGE
make-klone-project takes one non-option argument.
create Create a new project directory, package-0.1 and seeds it with KLone's source and a debian/ directory.
clean Remove all non-user created files and directories ie. everything but debian/copyright, debian/changelog, debian/wsp.* and webapp/.
See also the -l option below.
refresh
Cleans the project directory as with make-klone-project clean and reseeds the KLone source and the debian/ directory.
EXAMPLES
make-klone-project create -p myapp -m "Kari Pahula <kaol@debian.org>"
cd myapp-0.1
(edit any files that require editing, mostly in webapp/)
make-klone-project refresh
dpkg-buildpackage -rfakeroot
sudo dpkg -i ../myapp_0.1_i386.deb
OPTIONS
-b NAME
Name the created web server binary as NAME. If not specified the package name is used.
-l Look for the project root directory in clean and refresh commands by changing the working directory to the parent directory until
they find a file named debian/wsp.opt.maintainer in the current directory. Returns with error if none is found. Without this op-
tion, only the current directory is checked for this file.
The upside of using this option is that make-klone-project will be agnostic about the working directory, as long as it is somewhere
inside the project tree, just like dpkg-buildpackage. The downside is that you run a greater risk of having the clean command cause
unwanted data loss, if you happen to have an unfortunately named file in a wrong place.
-m NAME
Sets the maintainer name as NAME.
-p NAME
Set the package name as NAME. Only effective with the create command. If not specified, uses customkloneapp.
FILES
debian/wsp.description
A custom description for the package. Should be formatted like the corresponding field in the debian/control file.
debian/wsp.opt.*
The options set in prior calls to make-klone-project.
webapp/
The user specified site tree, to be imported as the site by KLone.
NOTES
Your web server will be run as a root, so you will need to use either allow_root or uid and gid options in your etc/kloned.conf.
SEE ALSO
dpkg-buildpackage(1), klone(1), kloned.conf(5), kloned(8).
AUTHOR
make-klone-project was written by Kari Pahula <kaol@debian.org>.
16 Sep 2007 MAKE-KLONE-PROJECT(1)