The correct string equality test would be:
instead of:
but some shells will accept == as a synonym for =. It looks like you dropped a space when converting [ expression ] to [[ expression ]] (the spaces before and after [[ are crucial in shells that support [[ expression ]]).
It appears that /bin/sh on your system is not an old Bourne shell and is not a link to bash. What OS are you using?
Hi....can you guys help me out in this script??
Below is a text file script....called Bukom.txt and it contains these:
BUKOM 20060101 2.5 2.6 2.7 2.8 2.9 2.3 2.1
BUKOM 20060102 2.4 2.5 2.6 2.7 2.7 2.6 2.4
BUKOM 20060103 2.1 ... (9 Replies)
Hi ,
I am new to linux and also also to shell scripting.
I have one shell script which unpacks .tgz file and install software on machine.
When this script runs I want to insert id,filename,description(which will be in readme file),log(which will be in log file) and name of unpacked folder... (1 Reply)
Hi,
Need to get help from you guys about this issue.
I need to insert data into MySql database from a text file which is located in other server.
The text file is something look like below:
Date | SubscriberNo | Call Duration
20/7/07 | 123456788 | 20
20/7/07 | 123412344 | 30
The... (4 Replies)
Hi....can you guys help me out in this script??
Below is a text file and it contains these:
GEF001 000093625 MKL002510 000001 000000 000000 000000 000000 000000 000001
GEF001 000093625 MKL003604 000001 000000 000000 000000 000000 000000 000001
GEF001 000093625 MKL005675 000001... (4 Replies)
hello all,
I am new to shell scripting and to unix... so the following is my assignment..
here i am trying to insert a values into sqlplus database using shell script.
the following is my shell script
InsertDelete.sh
#! /bin/sh
echo "*********The MENU********
1.Insert The Values... (2 Replies)
Hi,
I have gps receiver, by using gpsd data i can read gps log data to my database(my sql).
Steps:
1. telenet localhost 2947 > gps.txt (press enter)
2. r (press enter) //then i will get the data like below in gps.txt file
Trying 127.0.0.1...
Connected to localhost.... (1 Reply)
If you have a text file and if you want to Insert data to your Database Table, You can do it with these queries
LOAD DATA LOCAL INFILE '/path/yourTextFile.txt' INTO TABLE yourTableName
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '"'
ESCAPED BY '\\'
LINES TERMINATED BY '\n' (0 Replies)
I have a table in an Informix DB into which I want to insert multiple records at a time. Data for one of the column should be unique & other column data may be the same for all the records I insert
Typical Insert Statement I use to insert one row :
insert into employee(empid, country, state)... (5 Replies)
Hi guys, I would like to seek help on inserting data whenever the switch is on or off to my sensor mySQL database in phpMyAdmin from my control.php. I'm using Raspberry PI as my hardware and follow a few tutorials to create my own Web Control Interface, it works perfectly without insert method.... (1 Reply)
Discussion started by: aoiregion
1 Replies
LEARN ABOUT DEBIAN
ulogd
ULOGD(8) System Manager's Manual ULOGD(8)NAME
ulogd - netfilter/iptables ULOG daemon
SYNOPSIS
ulogd [options]
DESCRIPTION
ulogd connects to the netlink device of the Linux kernel and reads messages from the netfilter that get queued with the iptables ULOG tar-
get. For this to work you have to compile the ULOG target into your kernel or load the respective module.
The received messages can be logged into files or into a mySQL or PostgreSQL database.
OPTIONS -d, --daemon
fork ulogd into background (start as daemon)
-c <filename>, --configfile <filename>
use <filename> as configuration file instead of /etc/ulogd.conf
-h, --help
show usage information
-V, --version
show version information and copyright
FILES
/etc/ulogd.conf
/var/log/ulog/ulogd.log
SEE ALSO
There is more documentation about the daemon and the database plugins (including examples) in the directories
/usr/share/doc/ulogd
/usr/share/doc/ulogd-mysql and
/usr/share/doc/ulogd-pgsql
AUTHOR
This manual page was written by Joerg Wendland <joergland@debian.org>, for the Debian GNU/Linux system (but may be used by others).
Linux Netfilter November 05, 2002 ULOGD(8)