Ok, So up front I'm going to say that I'm a very elementary scripter, and I tend to use tools I don't fully understand, but I shotgun at something until I can get it to work...that said, I can't for the life of me understand why I can't get this to go down the way I want it to.
The goal:
-to... (6 Replies)
hi guys,
i wrote this script and it takes some fields from a file and puts it into three different arrays. The first array works just fine but when I try to use the second array (ARRAY1) all i get is a blank value on the screen..
this works fine..i get ARRAY value on the screen just fine
... (1 Reply)
Hi.
I have an interesting problem and i couldn't find out the solution.
I have two variables in which there are a lot of lines finished by \n. I would like to concatenate this two variables into one in this format:
var1var2
var1var2
.
.
.
I could do this simply by command paste but it works... (32 Replies)
Hi Unix gurus
I have a file containing 2 coloumns. I would like to do a script which reads the lines and executes a command like this:
command <field1> parameters <field2> some more parameters
Please let me know how you would do this without AWK, SED or any other mini language (for special... (5 Replies)
Hi All,
I need to create script which will accept one file as i/p and give me o/p file described as below.
1) i/p log file named abc.log contents several lines but i am interested in lines like below.
#FILE..... /oracle/XYZ/sapdata1/undo_7/undo.data7
#SAVED.... BACKINTID001
2) o/p... (4 Replies)
Hi All,
I'm trying to concoct a bash script to use with a Puppet Implementation that will accept a hostname and break it down into variables.
For example, my hostnames look like this --> machinename-group-building.example.com
I'm looking for a way in the script to read until the first... (4 Replies)
How can I accomplish this? I basically want to merge two variables onto the same line. I can do it with two FILES this way:
$ cat /tmp/users_in.list | awk -F "," '{print $2}' | cut -c -1 > first.initial
$ awk -F "," '{print $1}' /tmp/users_in.list | awk '{print $1}' > last.name
$ paste... (5 Replies)
I needed to view calendar for several months so I created a separate file for each and then pasted them like this:
cal Dec 2011 > x1;
cal Jan 2012 > x2;
paste x1 x2
December 2011 January 2012
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 1 2 ... (4 Replies)
Hi everyone,
i have the following script.sh:
foo='lsusb | grep Webcam | cut -c16-18'
sudo /home/user/public/usbreset /dev/bus/usb/001/$foo
when i try to call this script from python using subprocess.call("script.sh", shell=True) it seems that only 'sudo /home/user/public/usbreset' is being... (6 Replies)
Discussion started by: hilfemir
6 Replies
LEARN ABOUT DEBIAN
solarwinds
Really Slick ScreenSavers(1) General Commands Manual Really Slick ScreenSavers(1)NAME
solarwinds - mesmerizing particle effects saver.
SYNOPSIS
solarwinds [--root/-r] [--maxfps/-x number] [--vsync/-y number] [--dpms/-M number] [--preset/-R number] [--winds/-w number] [--emitters/-e
number] [--particles/-p number] [--geometry/-g number] [--size/-s number] [--windspeed/-W number] [--emitterspeed/-E number] [--particle-
speed/-P number] [--blur/-b number]
DESCRIPTION
From Terry Walsh (http://reallyslick.com): "This is a very mesmerizing particle effects saver. Tweak the settings a little and you'll find
that you can achieve an amazing number of different patterns. You can also connect the particles with lines for a very different effect."
Ported to Linux by Tugrul Galatali.
OPTIONS --root Draw on the root window.
--maxfps number
Set maximum frame rate.
--vsync number
Limit redraws to specified number of vertical refreshes. 0 - 100. Default: 1
--dpms number
Stop rendering new frames if the display is not on. 0 - 1. Default: 1
--preset number
1 - Regular (--regular)
2 - Cosmic Strings (--cosmicstrings)
3 - Cold Pricklies (--coldpricklies)
4 - Space Fur (--spacefur)
5 - Jiggly (--jiggy)
6 - Undertow (--undertow)
Presets that override all options that come before it on the command line. 1 - 6. Default: 1
--winds number
Winds. 1 - 10. Default: 1
--emitters number
Emitters per wind. 1 - 1000. Default: 30
--particles number
Particles per wind. 0 - 10000. Default: 2000
--geometry number
0 - Lights (--lights)
1 - Points (--points)
2 - Lines (--lines)
Type of geometry. 0 - 2. Default: 0
--size number
Particle Size. 1 - 100. Default: 50
--windspeed number
Wind Speed. 1 - 100. Default: 20
--emitterspeed number
Emitter Speed. 1 - 100. Default: 15
--particlespeed number
Particle Speed. 1 - 100. Default: 10
--blur number
Motion Blur. 0 - 100. Default: 40
ENVIRONMENT
DISPLAY to get the default host and display number.
SEE ALSO X(1),
COPYRIGHT
Copyright (C) 2002 by Terry Walsh and Tugrul Galatali.
Solarwinds is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as pub-
lished by the Free Software Foundation.
Solarwinds is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABIL-
ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
AUTHOR
Terry Walsh and Tugrul Galatali <tugrul@galatali.com>
X Version 11 Really Slick ScreenSavers(1)