Suppose you collect the created lines in a file called inverse.txt:
then you could use:
or, if you add execute permission, chmod +x inverse.txt, then:
Practice with a manually built file.
Please help.....
if i have a file list below :
1233743158.log
1233743410.log
1233744186.log
1233744462.log
"1233743158" is a unix time format
it's require to a script "convertime.sh" to convert unix time format to readable time format like 20090204183010 -- YYYYMMDDHHMMSS
... (10 Replies)
hi,
i have a service on unix platform, it will generate traces in a particular folder
i want to check using shell script if traces exist, then perform some action else continue to be in loop.
filename is service.tra
can you please help?
thanks (4 Replies)
I need to write a shell script that will do all this:
Go to server directory, for example (/xyz/outbound)
In the outbound folder, get the list of the (old) directories created or modified at least two days before the date when script is run.
The list will have the names of directories, some... (2 Replies)
Hi All,
I need to create a script to monitor a dir for new files with ext .err and also it should b a non empty files. and perform a action or command .
We have a new ETL application that runs on a linux server, every times a etl fails it creates a .err file or updates the existing .err... (4 Replies)
Hi
I have a file "test" with data as below
1,APRIL,NEW,"New market,delhi,pune,India",RECENT, 254664
2,MARCH,OLD,"New Area,Mumbai,UP,India",CURRENT, 152483
So I want a script which provides output as below
1,APRIL,RECENT,254664
2,MARCH,CURRENT,152483
I am aware we can use awk/sed... (9 Replies)
Hi,
I am new to awk/unix and am trying to put together an awk script to perform an action similar to vlookup between the two csv files.
Here are the contents of the two files:
File 1:
Date,ParentID,Number,Area,Volume,Dimensions
2014-01-01,ABC,247,83430.33,857.84,8110.76... (9 Replies)
My case is the following: -I have a Linux system where I have an smsd installed (SmsTools3)
-This system works through a GSM module in which I can send and receive text messages.
-Text messages arrive in a certain folder (/ var / spool / sms / incoming)
-I need a script that does... (3 Replies)
Discussion started by: dMihawkCL
3 Replies
LEARN ABOUT CENTOS
avahi-autoipd.action
avahi-autoipd.action(8) System Manager's Manual avahi-autoipd.action(8)NAME
avahi-autoipd.action - avahi-autoipd action script
SYNOPSIS
/home/lennart/tmp/avahi/etc/avahi/avahi-autoipd.action
DESCRIPTION
avahi-autoipd.action is the action script that is called whenever an IP address has been acquired by avahi-autoipd or when it detected an
IP address conflict. The script should add or remove the specified address from the specified network interface.
PARAMETERS
argv[1] An event string: one of BIND, CONFLICT, UNBIND or STOP. If BIND is passed an IP address has been successfully acquired and the
script shall add it to the network interface. If CONFLICT is passed avahi-autopid detected a IP address on the local network, the action
script should remove the configured IP address. If UNBIND is passed the IP address should be removed from the interface, too, because a
routable address has been configured to the interface by some other program. If STOP is passed the avahi-autoipd is being shutdown and the
action script should remove the IP address. In short: on BIND the address should be added to the interface, on CONFLICT, UNBIND or STOP it
should be removed.
argv[2] The network interface name.
argv[3] An IP address from the IPv4LL range.
AUTHORS
The Avahi Developers <avahi (at) lists (dot) freedesktop (dot) org>; Avahi is available from http://avahi.org/
SEE ALSO avahi-autoipd(8), dhclient-script(8), ip(8), ifconfig(8)COMMENTS
This man page was written using xml2man(1) by Oliver Kurth.
Manuals User avahi-autoipd.action(8)