Hi,
I am a beginner at shell scripting, though I have several years of Oracle programming experience. Can anyone recommend a site where I can find some exercises on shell programming. Is there anywhere I can telnet as I dont have UNIX OS on my PC?
Thanks
Rohit (1 Reply)
I have just 3 things that I really need to know the solution, please allow me to show it.
any help would be nice
script that backup a file. The file name to backup should be provided as input parameter, the backup file should have the same file name with the extension ".bak". If the user... (1 Reply)
Hi, all: I have a question about "cleaning up" a huge file with regular expression(s) and sed:
The init file goes like this:
block1,blah-blah-blah-blah,numseries1,numseries2,numseries3,numseries4
block2,blah-blah-blah-blah-blah,numseries,numseries2,numseries3,numseries4
...... (3 Replies)
I did an assignment for sh scripting back in november, and I found it quite fun learning. I would like to retain this knowledge as I'm pretty sure it was my only scripting assignment, from now on in my programming course we won't be doing any scripting apart from the typical makefile scripts. The... (6 Replies)
Hi
I used this command:
mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \
-cache 1024 -fps 25.0 -nosound -vc ffh264 \
-demuxer 3 -dumpstream -dumpfile output.avi It's ok but...
Video Playing is very fast! Why? Is it a synch problem?
What parameter I have to use for... (1 Reply)
Hi ,
I would like to do some exercises/scripts in order to develop my skills in shell scripts,
can someone pass me some links/suggestions where i can find this?
Thanks a lot :) (3 Replies)
Hello;
I have this rather tricky problem to solve --(to me, anyways) ..
I am processing the following one liner with tcpdump..
tcpdump -i T3501 -A ether host 00:1e:49:29:fc:c9 or ether host 00:1b:2b:86:ec:1b or ether host 00:21:1c:98:a4:08 and net 149.83.6.0/24 | grep --line-buffered -B... (5 Replies)
I want to insert "Text" in each file as a place where I mentioned below "Insert Text Here". These files are something like news of newspaper. Generally, newspaper headlines contain one or two lines.
I don't know how it can be identified whether Text is inserted after first line or second line.
... (10 Replies)
Hello, so I'm taking unix in one of my classes and I've been having fun, but I got stuck at this one question that I'm supposed to know how to answer but I can't wrap my head around it, I figured I'll post it here and see if someone can shed some light into what I'm doing wrong.
Here's the... (1 Reply)
Discussion started by: hiwolf25
1 Replies
LEARN ABOUT DEBIAN
ne_set_session_flag
NE_SET_SESSION_FLAG(3) neon API reference NE_SET_SESSION_FLAG(3)NAME
ne_set_session_flag, ne_get_session_flag - set and retrieve session flags
SYNOPSIS
#include <ne_request.h>
void ne_set_session_flag(ne_session *sess, ne_session_flag flag, int value);
int ne_get_session_flag(ne_session *sess, ne_session_flag flag);
DESCRIPTION
The ne_set_session_flag function enables or disables a session flag. Passing a non-zero value argument enables the flag, and zero disables
it.
The following flags are defined:
NE_SESSFLAG_PERSIST
disable this flag to prevent use of persistent connections
NE_SESSFLAG_ICYPROTO
enable this flag to enable support for non-HTTP ShoutCast-style "ICY" responses
NE_SESSFLAG_SSLv2
disable this flag to disable support for the SSLv2 protocol
NE_SESSFLAG_RFC4918
enable this flag to enable support for RFC4918-only WebDAV features; losing backwards-compatibility with RFC2518 servers
NE_SESSFLAG_CONNAUTH
enable this flag if an RFC-violating connection-based HTTP authentication scheme is in use
NE_SESSFLAG_TLS_SNI
disable this flag if a server is used which does not correctly support the TLS SNI extension
NE_SESSFLAG_EXPECT100
enable this flag to enable the request flag NE_REQFLAG_EXPECT100 for new requests
RETURN VALUE
The ne_get_session_flag function returns zero if a flag is disabled, less than zero if the flag is not supported, or greater than zero if
the flag is enabled.
SEE ALSO
ne_session_create, ne_set_request_flag.
AUTHOR
Joe Orton <neon@lists.manyfish.co.uk>
Author.
COPYRIGHT neon 0.29.6 3 May 2011 NE_SET_SESSION_FLAG(3)