Please Help me
I have a Bulk file containing Hex data
I want to read specific lines from that bulk file by ID number.
example
ID DATE Time data
14 2005/09/28 07:40:08.546 0 5 078B1C 01916C 0FE59C 004B54 0A9670 0D04ED 05B6B4 0E2223... (10 Replies)
Dear All,
I need a unix script that will read the 7th line and especially these fileds from a file Mo speed 16, Mt speed 15 every 15 minutes starting from 00:00 to 23:45 on daily basis and put the result in a txt file and name it MT_MO_20090225.txt, please also note that the system date format... (2 Replies)
Hi ,
I am currently using the while loop in bash shell, as follows.
while read line
do
echo $line
done < file.txt
However, i want to use the while loop on file.txt, which will read the file with 4 lines of gap.
Ex- if file.txt is a file of 100 lines, then i want to use the loop such... (3 Replies)
hi all,
I have this file with some user data.
example:
$cat myfile.txt
FName|LName|Gender|Company|Branch|Bday|Salary|Age
aaaa|bbbb|male|cccc|dddd|19900814|15000|20|
eeee|asdg|male|gggg|ksgu|19911216|||
aara|bdbm|male|kkkk|acke|19931018||23|
asad|kfjg|male|kkkc|gkgg|19921213|14000|24|... (4 Replies)
I'm learning about the read command and wrote this little script to read data from a file:
readfile()
{
while read variable; do
echo $variable
done
}
readfile < File.txt
I have three lines in File.txt; each a single word. The script only echoes the first two lines and drops the... (9 Replies)
hello!
I am trying to use sed to copy specific set of lines from a file for which the starting and ending line numbers of the lines to be copied are stored in shell variables. How can i copy those lines?
if the input_file is something like this
and if the following is the script
a=2
b=4... (4 Replies)
I have a text file which is having 30000 lines in it. I have to create a xml file for each 10000 lines until all the lines in the text files are written. Also please help how can i get number of lines in the text file in a shell variable? (19 Replies)
Hello
My problem is that I want to change some specific numbers in a file. It is like,
2009 10 3 2349 21.3 L 40.719 27.388 10.8 FRO 7 0.8 1.1LFRO 2.6CFRO 1.1LMAM1
GAP=157 1.69 5.7 5.9 5.8 0.5405E+01 0.4455E+00 0.1653E+02E
STAT SP IPHASW D HRMM SECON CODA AMPLIT... (11 Replies)
I have a text file
First title line
name1
name2
name3
name4
(etc)
other lines
other lines
other lines
I want to read in this text file and parse the name1...name4 to a variable. How do I specificially read in these lines and these lines only? (10 Replies)
UUIDD(8) System Administration UUIDD(8)NAME
uuidd - UUID generation daemon
SYNOPSIS
uuidd [options]
DESCRIPTION
The uuidd daemon is used by the UUID library to generate universally unique identifiers (UUIDs), especially time-based UUIDs, in a secure
and guaranteed-unique fashion, even in the face of large numbers of threads running on different CPUs trying to grab UUIDs.
OPTIONS -d Run uuidd in debugging mode. This prevents uuidd from running as a daemon.
-h, --help
Display help screen and exit.
-k, --kill
If currently a uuidd daemon is running, kill it.
-n, --uuids number
When issuing a test request to a running uuidd, request a bulk response of number UUIDs.
-p, --pid path
Specify the pathname where the pid file should be written. By default, the pid file is written to /var/run/uuidd/uuidd.pid.
-q Suppress some failure messages.
-r, --random
Test uuidd by trying to connect to a running uuidd daemon and request it to return a random-based UUID.
-s, --socket path
Specify the pathname used for the unix-domain socket used by uuidd. By default, the pathname used is /var/run/uuidd/request. This
is primarily for debugging purposes, since the pathname is hard-coded in the libuuid library.
-T, --timeout timeout
Specify a timeout for uuidd. If specified, then uuidd will exit after timeout seconds of inactivity.
-t, --time
Test uuidd by trying to connect to a running uuidd daemon and request it to return a time-based UUID.
-V, --version
Output version information and exit.
EXAMPLE
Start up a daemon, print 42 random keys, and then stop the daemon.
uuidd -p /tmp/uuidd.pid -s /tmp/uuidd.socket
uuidd -d -r -n 42 -s /tmp/uuidd.socket
uuidd -d -k -s /tmp/uuidd.socket
AUTHOR
The uuidd daemon was written by Theodore Ts'o <tytso@mit.edu>.
AVAILABILITY
The uuidd daemon is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO uuid(3), uuidgen(1)util-linux June 2011 UUIDD(8)