I have just recently had a look at this website and came across the following article:
http://www.silkroad.com/papers/html/bomb/node5.html
I'm referring to this as this is exactly what is happening to me at this moment in time, and has been going on for over a week now. So far I've had to... (2 Replies)
I have done a script and IT WORKS JUST PERFECT from command line...but in cron it has problems executing...
nawk -F"|" '
{ s=substr($104,2,18)}
{b ++s}
END { for (i in b) print i, b } ' $1 > /path/to/files/TranId_w$2
q=`cat /path/to/files/TranId_w$2 | wc -l`
echo $q >... (1 Reply)
Is there a command I can use to rename all directories with a certain name to a new name. For instance from my root directory I want to change all folders named '123' to '321' that are in the root directory or any subdirectory.
Thanks in advance! (6 Replies)
This single line of code in a sh script file
top -b -n 1 -U $USER
causes the script to prematurely exit with an exit code of 1 (i.e. an error) if the script is run with the -e option (e.g. if
set -e
is executed near the top of the script file).
Alternatively, you can execute it like
top... (8 Replies)
Hi,
I was wondering if there is a way to find a particular file and then give it as an input to a program and then dump it into another file.
Something like this:
find ./ -name '*.txt' -exec ~/processText {} > mod.<current_file> \;
I've been trying all sorts of weird things but not... (2 Replies)
In response to a closed thread for degraff63 at
https://www.unix.com/shell-programming-scripting/108882-using-mv-find-exec.html
the following command might do it as some shells spit it without the "exec bash -c " part:
Find . -name "*.model" -exec bash -c "mv {} \`echo {} | sed -e 's//_/g'\`"... (0 Replies)
Hello,
This porblem bugged me for some time. It is to merge different files of hundred rows to have a union with the ID as key column (kind of similar to join!) and absence with 0.
ID File1
A 1
C 3
D 4
M 6
ID File2
A 5
B 10
C 15
Z 26
ID File3
A 2
B 6
O 20
X 9
I want the output... (9 Replies)
Hi all,
what i'm trying to configure its to the following,
find all files older then 1 min,gzip them ,rename/move with date and extension .gz (example tes.log_2012-07-26.gz) and trying to move them to another folder (gzipped),the command i'm typing its this,
find /home/charli/Desktop/test/ -type... (4 Replies)
Discussion started by: charli1
4 Replies
LEARN ABOUT REDHAT
rd-bomb
XScreenSaver(1) General Commands Manual XScreenSaver(1)NAME
rd-bomb - reaction/diffusion textures
SYNOPSIS
rd-bomb [-display host:display.screen] [-foreground color] [-background color] [-window] [-root] [-install] [-visual visual] [-width n]
[-height n] [-reaction n] [-diffusion n] [-size f] [-speed f] [-delay usecs]
DESCRIPTION
The rd-bomb program draws reaction/diffusion textures. The code is derived from the 'd' mode of the "bomb" visual musical instrument (see
http://www.cs.cmu.edu/~spot/bomb.html). I got the equations from xmorphia (http://www.ccsf.caltech.edu/ismap/image.html), which is based
on a version of the Gray-Scott model taken from:
John E. Pearson "Complex Patterns in a Simple System"
Science, 261,189, 9 July 1993.
If the frame-rate is too low, consider decreasing the width and height of the tile, or decreasing the size of the active part of the
screen.
OPTIONS
If one of the reaction, diffusion, radius, and palette options is set to a negative value, then that option will be set to a random appro-
priate value.
Be sure to try "-speed 1 -size 0.1 -epoch 3000".
rd-bomb accepts the following options:
-window Draw on a newly-created window. This is the default.
-root Draw on the root window.
-install
Install a private colormap for the window.
-visual visual
Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
-width n
-height n
Specify the size of the tile, in pixels.
-reaction n
-diffusion n
These are constants in the equations that effect its visual nature. Each may be one of 0, 1, or 2.
-radius n
Size of the seed.
-palette n
Selects a palette. Must be between 0 and 80, inclusive.
-size f What fraction of the window is actively drawn, a floating point number between 0 (exclusive) and 1 (inclusive). Default is 0.66.
-speed f
When a fraction of the screen is active, the active area moves at this rate (a floating point number). Default is zero. Suggested
value: 1.0.
-delay usecs
How many microseconds to delay between frames; default 1000, or about 1/1000th of a second.
ENVIRONMENT
DISPLAY to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
SEE ALSO X(1), xscreensaver(1), xlock(1)COPYRIGHT
Copyright (C) 1997 by Scott Draves.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro-
vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup-
porting documentation.
AUTHOR
Scott Draves <spot@cs.cmu.edu>, 9/97
X Version 11 10-May-97 XScreenSaver(1)