Thank you Lem so much for help,
i try to test your script on this file:
i run
it display:
have you an idea please ? i'm so sorry if i disturb you
Thank you so much
BestRegards
Last edited by Scott; 10-22-2012 at 09:52 AM..
Reason: For the LAST time.... CODE TAGS
on my desktop i am using the kde rotating desktop image option. this rotates images randomly every half hour. now, i would like to write an html file which will have an inline frame with some text, maybe system messages, or my friends live journal thati read alot, or unix.com! however, i dont want... (1 Reply)
I have data file with customer.dat, and this contains the customer names
>cat customer.dat
FirstName1 LastName1
FistName2 LastName1
FistName3 MiddleName3 LastName3
This file can contain areoun 100 customer names.
Regards, (1 Reply)
Hi,
I have an excel file that have a random count of columns/fields and what im trying to do is to only retrieve all the rows under 2 specific field headers.
I can use the usually command for awk which is awk 'print{ $1 $2}' > output.txt, but the location of the 2 specific field headers is... (9 Replies)
I have a directory of files that look like filename 001.ext, filename 002.ext, etc. I'd like to rename the files with unique random numbered names, so that the original filenames are stripped and the files are given a new, random number name. I'm not super new to UNIX, but I don't often use it for... (2 Replies)
I want to create a cron job randomly once a day for my site's registration.
The responsible file for registrations is a config file and I need to change the contents
twice on day (on and off)
I know the way for random cron job for example
*/n * * * * /usr/local/bin/php... (6 Replies)
Hi,
(First post, please be gental!)
I have a java app that I am running on unix (centos)
But it keeps dying randomly. The times seem random from anything between 3 hours and 3 days.
I have a cronjob running to restart it when ever it dies but I would rather this happened less often.
... (2 Replies)
I have a text file with 1000 lines, I want to randomly select 200 lines from it and print them as output. How do I go about doing that? Thanks! (7 Replies)
Hi Tech Guru,
I have a test file as below , which needs some more fields to be populated randomly :
dks3243;12;20130823;1420;25m;0;syt
dks3243;rocy;10
dks3243;kiop;18
sde21p4;77;20151210;8479;7py;9;vfr
sde21p4;temp;67
sfq6i01;12;20120123;3412;4rd;7;jui
sfq6i01;uymk;90
sfq6i01;kiop;51
... (8 Replies)
Hey,
How can i create randomly create time N times.
Suppose i want to create data for a particualr date 5 times...
Mon Jan 19 11:42:50
Mon Jan 19 19:16:40
Mon Jan 19 12:12:33
Mon Jan 19 14:26:27
Mon Jan 19 12:29:53
Mon Jan 19 13:30:31
I want the script to create N times randome... (2 Replies)
Dear Folks
I have one column of 15000 lines and want to select randomly 5000 of them in five different times without replacement. I am aware that command 'shuf' and 'sort -R' could select randomly those lines but I am not sure how could I avoid the replacement of selection line. Does anyone have... (10 Replies)
Discussion started by: sajmar
10 Replies
LEARN ABOUT PLAN9
bootp
BOOTP(8) System Manager's Manual BOOTP(8)NAME
bootp, rarpd, tftpd - Internet booting
SYNOPSIS
ip/bootp [-d]
ip/rarpd [-d] [-e etherdev]
ip/tftpd [-dr] [-h homedir]
DESCRIPTION
These programs support booting over the Internet. They should all be run on the same server to allow other systems to be booted. Bootp
and tftpd are used to boot everything; rarpd is an extra piece just for Suns.
Bootp passes to Plan 9 systems their IP address, IP mask, default boot file, default file server, default authentication server, and
default gateway. These come from the network database file attributes ip, ipmask, bootf, fs, auth, and ipgw attributes respectively (see
ndb(6) and ndb(8)). The attributes come from the entry for the system, its subnet, and its network with the system entry having prece-
dence, subnet next, and network last. Bootp will answer requests only if it has been specifically targeted or if it has read access to the
boot file for the requester. The -d option causes debugging to be printed to standard output.
Rarpd performs the Reverse Address Resolution Protocol, translating Ethernet addresses into IP addresses. The options are:
d print debugging to standard output
e use the Ethernet mounted at /net/etherdev
Tftpd transfers files to systems that are booting. It runs as user none and can only access files with global read permission. The
options are:
d print debugging to standard output
h change directory to homedir. The default is /lib/tftpd. All requests for files with non-rooted file names are served starting at
this directory with the exception of files of the form xxxxxxxx.SUNyy. These are Sparc kernel boot files where xxxxxxxx is the hex
IP address of the machine requesting the kernel and yy is an architecture identifier. Tftpd looks up the file in the network data-
base using ipinfo (see ndb(2)) and responds with the boot file specified for that particular machine. If no boot file is specified,
the transfer fails. Tftpd supports only octet mode.
r restricts access to only files rooted in the homedir.
SOURCE
/sys/src/cmd/ip
SEE ALSO ndb(6)BOOTP(8)