01-29-2014
Show the input you have and the output you want please.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am new to scripting.
my requirement is ,
I want to know whether the file(i.e., log file) is updating or not.
It should search for every 15 min. If it is not updating means it needs to send out a automatic mail.
can you please help me in this. (2 Replies)
Discussion started by: raj333
2 Replies
2. Shell Programming and Scripting
Hi,
The scenerio is that I want to replace a text in one particular line of a file. But when I am using the sed it's replacing all the occurences of that text.
Like the file is:
>cat test
DNGGF10 :None :Test
DNGGF11 :ABC :Test1
DNGGF12 :None :Test2
DNGGF13 :None :... (4 Replies)
Discussion started by: bisla.yogender
4 Replies
3. Shell Programming and Scripting
Hello,
I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^
Here is what I'm trying to achieve :
file1:
test filea 3495;
test fileb 4578;
test filec 7689;
test filey 9978;
test filez 12300;
file2:
test filea... (11 Replies)
Discussion started by: mecano
11 Replies
4. UNIX for Advanced & Expert Users
Hi
in my solaris 9 system wmptx file is not updating so it is not recording any login or logout or any other entry.
can any one tell me how to solve this problem (0 Replies)
Discussion started by: aaysa123
0 Replies
5. UNIX for Dummies Questions & Answers
Hi Experts,
I have a requirement where i need to update the below items in file,
1. END TIME
2. PREV_STATUS
For the first time the PREV_status and end time of all job the job will be sysdate & NULL reply as below,
Session_name,Load Type,Frequency,Seesion End time,Prev_Status... (2 Replies)
Discussion started by: prabhutkl
2 Replies
6. Solaris
Hi,
Some how message file is not updating on solaris 8, but syslogd is running. Any help. It is urgent. (1 Reply)
Discussion started by: mokkan
1 Replies
7. Shell Programming and Scripting
Hi All,
Thaks for the help in my last thread. I have one more question. I have two files with ldap entries in it. One file contains all the user LDAP parameter entries (26 MB) and other file contains only the user id's that have to be inactivated. Unix script has to read from the file that has... (8 Replies)
Discussion started by: Samingla
8 Replies
8. Shell Programming and Scripting
I have a file of records all made up of single charactors that need to be updated using their row/column
(the dashes represent spaces as the html formatting of this text box when it posts removes the "nonessential" white space between the charactors)
file example
A 1 c
B 2 b
C 3 a... (2 Replies)
Discussion started by: dboward
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a below requirement and need your help in this regard.
I have two timestamps in a file i.e.
TimeBefore=2014-07-10.18.06.55
TimeAfter_1=2014-07-09.05.45.12
TimeAfter_2=2014-07-09.05.40.12
When I first run the script file, it sets the 'TimeBefore' to todays date.
When I run... (5 Replies)
Discussion started by: vrupatel
5 Replies
10. UNIX for Beginners Questions & Answers
hi,
i have an csv(which is a month's log file containing userid and log in date ) file which has to be appended to another file say master.log.I need to compare the next month's log data to master.log file .In case, there is new log date for userid it has to get updated in master.log file or i... (2 Replies)
Discussion started by: preema
2 Replies
LEARN ABOUT DEBIAN
kaptain
KAPTAIN(1) General Commands Manual KAPTAIN(1)
NAME
kaptain - Universal graphical front-end for command-line programs.
SYNOPSIS
kaptain [options] file
DESCRIPTION
kaptain reads the given file and builds a user-friendly dialog according to the grammar rules found in it.
See info kaptain for a detailed overview.
OPTIONS
kaptain accepts the following options:
-h, --help
Show summary of options.
-V Run in verbose mode.
--version
Show version of program.
--test Run in test mode. This means that commands are not executed when a button is pressed, only printed to the standard output.
-V, --verbose
Report more information on processing the input file. Internal representation of the grammar and the dialog tree is also printed.
Use this flag if Kaptain does not work as expected.
-c <host:port>, --client <host:port>
Establish communication channel as a client connecting to a server on <host> listening on <port>.
-s <port>, --server <port>
Listen to the specified <port> and accept the first connection. This will be used as a communication channel.
-p <command>, --pipe <command>
Start the given command and communicate with it on its standard input and output. Don't forget to quote <command> if it contains
spaces or other metacharacters used by the shell.
--stdio
Use standard input and output for communication. In this case you must specify an input file, thus grammar script cannot be read
from the standard input when it is used as a communication channel.
--no-input
Instructs Kaptain not to process messages received on the input channel.
--no-output
If this flag is set, Kaptain will not send any messages on its output channel.
AUTHOR
Zsolt Terek <terek@users.sourceforge.net>.
September 11, 2004 KAPTAIN(1)