Is anyone know some scripts to generate random number without repetition using bash; for example generate 10 different random numbers.
Thanks (8 Replies)
Hi All,
I'm just new to UNIX, does anyone know how to create a batch file in UNIX that does the following routines:
1.) process multiple files in a directory
in DOS, I set my sample input file as: set INPUTFILE=%1
in UNIX>> ????
2.) every file to be processed by executing a program... (1 Reply)
Hi All,
I'm just new to UNIX, does anyone know how to create a batch file in UNIX that does the following routines:
1.) process multiple files in a directory
in DOS, I set my sample input file as: set INPUTFILE=%1
in UNIX>> ????
2.) every file to be processed by executing a program... (2 Replies)
Hi,
Thanks for keeping such a help-full platform active and live always.
I am new to this forum and to unix also.
Want to know how to count the repetition of a field in a file. Anything of awk, sed, perl, shell script, solution are welcomed.
Input File------------------
abc,12345
pqr,51223... (10 Replies)
How can I get all combinations of 5 words from 10 words.
For example I have 3 words and I want to get all combinations of 2 words.
"A", "B", "C" it would like AB, BC, AC.
Maybe you know some usefull code or example.
Thanx a lot.
P.S. Sorry if I'm not right enough cause I don't know English... (2 Replies)
Hello,
I am using Awk in UBUNTU 12.04.
I have a file as following with 48,432,354 lines and 4 fields.
The file has this structure (There are repetitions of the first column in several lines)
AB_14 S54 A G
AB_14 S55 A A
AB_14 S56 G G
GO_15 S45 T A
GO_15 S46 A A
PT_16 S33 C C
PT_16 ... (4 Replies)
Hello,
I have a column which have 7200 numbers and I am deciding to pick up 1440 numbers randomly without any reputation? Could any one let me know which script in unix will be work for my case?
Regards
Sajjad (17 Replies)
Suppose I have a word which is repeating in a string continuously. I have a set of intervals. Then how do I find the number occurrences of that word in those intervals and their location of occurrences. For example - Suppose there is a huge string anfie.......sirn of 10000 letters. Now the word... (2 Replies)
So, I have this command:
mkdir rolled
for %%x in (*gif) do convert %%x -roll +2+6 %%x|move %%x rolled
I'd like to have the +2 and +6 accumulate here.
In each new gif tackled, it should increase by the amount: +2 (for x) and +6 (for y)
Is this possible?
I'm on Windows, DOS. (0 Replies)
Discussion started by: pasc
0 Replies
LEARN ABOUT DEBIAN
fvwmbacker1
FvwmBacker(1) General Commands Manual FvwmBacker(1)NAME
FvwmBacker - the FVWM background changer module
SYNOPSIS
FvwmBacker is spawned by fvwm, so no command line invocation will work.
DESCRIPTION
The FvwmBacker module provides functionality to change the background when changing desktops. Any command can be executed to change the
backgrounds. The commands used to change the backgrounds must exit after changing the root window, (i.e. 'xv -root zzz.gif' does not,
without the -quit option) otherwise FvwmBacker will hang.
COPYRIGHTS
The FvwmBacker module is the original work of Mike Finger.
Copyright 1994, Mike Finger. The author makes no guarantees or warranties of any kind about the use of this module. Use this modules at
your own risk. You may freely use this module or any portion of it for any purpose as long as the copyright is kept intact.
INITIALIZATION
During initialization, FvwmBacker will scan the same configuration file that FVWM used during startup to find the options that pertain to
it. These options are discussed in a later section.
INVOCATION
FvwmBacker can be invoked by fvwm during initialization by inserting the line 'Module FvwmBacker' in the .fvwmrc file.
FvwmBacker must reside in a directory that is listed in the ModulePath option of FVWM for it to be executed by FVWM.
CONFIGURATION OPTIONS
The follow option is the only only support at present
*FvwmWinListDesk DeskNumber command
Specifies the command to execute when the specified DeskNumber becomes active.
If the command begins with -solid FvwmBacker uses the next argument as a color in the X database and sets the background to that
color without generating a system call to xsetroot. Only single word color names may be used.
SAMPLE CONFIGURATION
The following are excepts from a .fvwmrc file which describe FvwmBacker initialization commands:
####
# Set Up Backgrounds for different desktops.
####
*FvwmBackerDesk 0 -solid steelblue
*FvwmBackerDesk 1 -solid midnightblue
*FvwmBackerDesk 2 -solid yellow
*FvwmBackerDesk 3 xpmroot /usr/include/X11/pixmaps/background2.xpm
AUTHOR
Mike Finger (mfinger@mermaid.micro.umn.edu)
(Mike_Finger@atk.com)
(doodman on IRC, check the #linux channel)
Modified by
Andrew Davison (davison@cs.monash.edu.au)
3rd Berkeley Distribution September 8th, 1994 FvwmBacker(1)