Every time we build an executable the date and time are put into the file, I need to run checksum on just the working lines.(IE, no header files)
Is this even possible, if so how would I go about it?
I am using a HP-UX server any help you can give me will be greatly appreciated.
Thanks (6 Replies)
Hello, I'm trying to retreive certain bits of info from a file.
the file contains a list like this
info1:info2:info3:info4
info1:info2:info3:info4
info1:info2:info3:info4
info1:info2:info3:info4
how do i pick out only info2 or only info3 without the others?
Thanks (11 Replies)
Hello,
I have a XML file as below and i would like to extract all the lines between <JOB & </JOB> for every such occurance. The number of lines between them is not fixed.
Anyways to do this awk?
============
<JOB APR="1" AUG="1" DEC="1" FEB="1" JAN="1" JUL="1" JUN="1" MAR="1" MAY="1"... (3 Replies)
hlow all,
i have file with wc -l file.txt is 3412112 line number
so I want to break these files into several parts with assumsi line
1-1000000 will be create part1.txt and
1000001-2000000 will create part2.txt and
2000001-3000000 will create part3.txt and
3000001-3412112 will create... (5 Replies)
I understand the individual pieces of the following (with one exception ..), but how does it all work as one?
find ${HOME}/reports/ -name surveyresult*.txt -exec ls -1 {} \; | /usr/xpg4/bin/grep -E \
"${HOME}/reports/surveyresult{14,14}.txt" | sort > ${ResultsFileList}
Find all files like... (1 Reply)
Hello All,
I have a file like this
Define schema flat_file_schema
(
a varchar(20)
,b varchar(30)
,c varchar(40)
);
(Insert into table (
a
,b
,c
) values
(
1
,2
,3
); (4 Replies)
Hello All,
I have a file like this
APPLY
( 'INSERT INTO brdcst_media_cntnt (
cntnt_id
,brdcst_media_cntnt_cd
,cntnt_prvdr_cd
,data_src_type_cd
,cntnt_titl_nm
,cntnt_desc
,batch_dt
,batch_id
) VALUES
(
:cntnt_id (3 Replies)
I am dealing with some app log, see example below:
22:16:13.601 ClientSession(905)--Connection(5)--SELECT GETDATE()
22:16:13.632 ClientSession(158)--Connection(5)--SELECT 1
22:16:13.632 ClientSession(848)--Connection(6735)--SELECT 1 So far I needed to collect certain column from it, such as... (3 Replies)
I have the string:
XXXX.YYYY_ZZZ.20180724.01.txt
I need to get rid of .txt and get full four parts
XXXX.YYYY_ZZZ.20180724.01
I did:
CTL=`echo XXXX.YYYY_ZZZ.20180724.01.txt | rev | cut -d"." -f4 | rev`
But got only YYYY_ZZZ
What should I do to get all four parts of that... (4 Replies)
Discussion started by: digioleg54
4 Replies
LEARN ABOUT DEBIAN
cyclades-serial-client
cyclades-serial-client(8)cyclades-serial-client(8)NAME
cyclades-serial-client Serial Port Interface for Cyclades Terminal Servers
SYNOPSIS
cyclades-serial-client (start | stop | restart | status) [devname]
DESCRIPTION
For each physical port listed in cyclades-devices file, cyclades-serial-client controls the status of the corresponding cyclades-ser-cli
interface.
OPTIONS
cyclades-serial-client must be invoked with one of the (start, stop, restart or status), and optionaly with a argument associated to a spe-
cific device. In this case, the action spedified as the option will be performed only for this device.
If this argument was not supplied, the action will be performed for all devices listed in cyclades-devices file. The mandatory options are:
start - Starts the cyclades-ser-cli program, using parameters supplied in the cyclades-devices file. If this program is already running,
a message will be displayed, and no additional copy will be started.
stop - Stops the cyclades-ser-cli program(s), by issuing a SIGTERM signal.
restart
- Simulates a hangup to cyclades-ser-cli program(s), by issuing a SIGUSR1 signal.
status - Checks the status of cyclades-ser-cli programs(s).
EXAMPLES
Assuming the the following cyclades-devices file configuration:
/dev/ctty01:pr3k:1:rtelnet: /dev/ctty02:pr3k:2:socket:
1 . Start all devices: cyclades-serial-client start Messages: "Starting /dev/ctty01 <==> pr3k:1 interface" "Starting /dev/ctty02 <==>
pr3k:2 interface"
2 . Try to start them again: cyclades-serial-client start Messages: "cyclades-serial-client : /dev/ctty01 already active" "cyclades-serial-
client : /dev/ctty02 already active"
3 . Stop only /dev/ctty01 device: cyclades-serial-client stop /dev/ctty01 Messages: "Stopping /dev/ctty01 <==> pr3k:2 interface"
4 . Checking status: cyclades-serial-client status Messages: "/dev/ctty01 (rtelnet at pr3k:1) is inactive" "/dev/ctty02 ( socket at pr3k:2)
active, pid 2983"
5 . Start a non-valid device cyclades-serial-client start /dev/xtty01 Messages: "cyclades-serial-client : device /dev/xtty01 does not
exist"
SEE ALSO cyclades-ser-cli(1), cyclades-devices(5)cyclades-serial-client(8)