10-28-2003
Dynamically Created
This issue becomes irrelevant if the page is dynamically created (e.g. via Perl) at each auto refresh (<META http-equiv="refresh" content="1800").
A little config file could be used to specify the pictures which you could also set up via an HTML page.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: McLan
1 Replies
2. Shell Programming and Scripting
Hi!
I have this situation with 3 shellscripts.
One is a "startscript" that simply calls other scripts. This one is scheduled with cron to run at regular intervals. That script runs what I'll refer to as Script 1.
Script 1 in turn runs script 2 (import_catalogs_buyer.sh)
Sometimes, seemingly... (2 Replies)
Discussion started by: trailsmoke
2 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: platz
2 Replies
4. Shell Programming and Scripting
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)
Discussion started by: lucker
6 Replies
5. Programming
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)
Discussion started by: sm9ai
2 Replies
6. Shell Programming and Scripting
What I have are two text files that I need to shuffle randomly, but I need the two files to be randomly shuffled the same way. I have heard of shuf but I do not know how to use it for two files. Maybe there is also an easy/simple awk command I do not know about that could handle this problem.
... (3 Replies)
Discussion started by: adrunknarwhal
3 Replies
7. Shell Programming and Scripting
Hello,
This is my code:
nb_lignes=`wc -l $1 | cut -d " " -f1`
for i in $(seq $nb_lignes)
do
m=`head $1 -n $i | tail -1`
//command
done
Please how can i change it to get Get 20% of lines in File randomly to apply "command" on each line ? 20% or 40% or 60 % (it's a parameter)
Thank you. (15 Replies)
Discussion started by: chercheur857
15 Replies
8. UNIX for Dummies Questions & Answers
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)
Discussion started by: evelibertine
7 Replies
9. Shell Programming and Scripting
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)
Discussion started by: jaituteja
2 Replies
10. Shell Programming and Scripting
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 SUSE
update-bootloader
UPDATE-BOOTLOADER(1) User Contributed Perl Documentation UPDATE-BOOTLOADER(1)
NAME
update-bootloader - update/change bootloader configuration using
Bootloader::Tools perl module
SYNOPSIS
update-bootloader [operation] [options]
operation is one of --add, --remove or --refresh.
valid options are --help, --man, --image <file>, --initrd <file>, --xen-kernel <file>, --xen, --default, --previous, --name <string>,
--force, --force-default.
DESCRIPTION
update-bootloader will let you modify your bootloader configuration using Bootloader::Tools perl module.
OPERATIONS
--add add an new image section. Needs a call to --refresh to take effect.
--remove
remove the specified image section. Needs a call to --refresh to take effect.
--refresh
activate the new config e.g. write boot loader to disk
PARAMETER
--help Print a brief help message and exits.
--man Prints the manual page and exits.
--image file
specify path to kernel image
--initrd file
specify path to initrd file
--xen specify that you what to add a xen and not a regular image section
--xen-kernel file
specify that you what to add a xen section with a specific image. Implies --xen option.
--default
let the new section to be added be the default section if appropriate. Only allowed together with --add operation
--previous
set some usuable defaults for image, initrd and name when
--name string
specify the name of the section to be added/removed
--force dont complain, just do the right thing
--force-default
force the new section to be added to be the default section. Only allowed together with --add operation
perl v5.12.1 2010-04-22 UPDATE-BOOTLOADER(1)