Hi folks,
The file webcache.xml contains a lot sections which begins and ends with the string </CACHEABILITYRULE>.
The section In need to deel with is:
</CACHEABILITYRULE>
<CACHEABILITYRULE NAME="cache swf" CACHE="YES" COMMENT="This rule caches all .swf files. This... (2 Replies)
Hi, it's my first post to this forum. I just started bash and I'm stuck at one issue. I want to include content of a file in another file after a certain line. I'm using sed for inserting one line but how to insert all content of a file ?
For example i have a file list.txt with a few lines and... (4 Replies)
dear all,
i want to insert string in file to mysql i just want how to do that cause i am poor in sql languages ...
so this file like this
DATA.txt
doni|student|westjava|123412|lombok|
iwan|student|westjava|1234412|utankayu|
rio|student|westjava|12342|cempedak|
so i want insert DATA.txt to... (2 Replies)
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Hi friends, here is my problem.
I have three files like this..
cat file1.txt
=======
unix is best
unix is best
linux is best
unix is best
linux is best
linux is best
unix is best
unix is best
cat file2.txt
========
Windows performs better
Mac OS performs better
Windows... (4 Replies)
Hi all,
I'm new to scripting.. facing some problems while inserting content of a file into another file...
I want to insert content of a file (file2) into file1, before first occurrence of "line starts with pattern" in file1
file1
======
working on linux
its unix world
working on... (14 Replies)
suppose i have original file:
original.txt:
hello
how are you
you are wonderful
what time is it
I went to the store last night. and some apple juice
then i have another file:
anotherfile.txt:
with my friends mary, john and harry.
We had a great time.
We bought food
Suppose... (1 Reply)
Hi ,
I'm looking for some code that can copy and paste form file1 to file2 with 2 criterial meet.
file1:
test "sp-j1"
test "sp-j2"
test "sp-j3"
test "sp-j4"
file2:
sub Pre_Shorts1 (Status_Code, Message$)
global Status
!if Message$ <> "" then print... (3 Replies)
Discussion started by: kttan
3 Replies
LEARN ABOUT DEBIAN
setether
SETETHER(8) System Manager's Manual SETETHER(8)NAME
setether - Set the ethernet address for use with DECnet
SYNOPSIS
setether <if> [<if>...]|all [options]
DESCRIPTION
Set ethernet MAC address on ethernet adaptors
This script should be run at system startup. It will change the ethernet hardware (MAC) address of any or all ethernet interfaces to match
the DECnet node address. DECnet requires that the MAC address of all ethernet adaptors running the protocol be set approriately. If you do
not run setether then you must change the ethernet address in some other way for DECnet to work.
By default no ethernet interfaces will have their MAC addresses changed by setether, if you specify all then all interfaces name eth* will
be changed, otherwise a list of interface names can be specified. setether will enable (UP) all interfaces it changes the MAC addresses
of.
(2.4 only) The first interface specified on the command-line will also be made the default interface for DECnet operations (ie attempts to
contact nodes not in the neighbour table will be done over this interface).
This script must be run with the interface inactive, it is normally run from /etc/init.d/decnet before TCP/IP starts up.
EXAMPLES
set the MAC address of eth0.
# /sbin/setether eth0
set the MAC address of all ethernet interfaces
# /sbin/setether all
HELPFUL HINTS
If you have multiple ethernet cards on your system and they are connected to the the same network you should specify which one you want to
use for DECnet communication on the setether command line, otherwise they will both be given the same MAC address and this is probably not
what you want.
Running DECnet on multiple ethernet interfaces only works under Linux 2.4. If you are running Linux 2.2 then the interface name on the
setether command line must match the one in /etc/decnet.conf(5).
SEE ALSO decnet.conf(5), dntype(1), dndir(1), dndel(1), dnetd(8), dnping(1)DECnet utilities March 01 2001 SETETHER(8)