Sponsored Content
Top Forums Programming Question regarding Bash program Post 302860429 by sea on Sunday 6th of October 2013 03:43:44 AM
Old 10-06-2013
Oh the assumption was wrong Smilie

This should do the trick then:
load /server/John/Docking-Studies/Insilico-mod-FC996/docking-FC996-analog/MR1004/test/$f/out_Frog-mol-ryan_ligand_*.pdbq
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

BASH: how to launch a program with parameters

Hi, I'm a pretty big fan of BASH scripting. I've got a bunch I use for random things and lately a couple issues have been plaguing me. Both are somewhat related, in that they deal with filenames with spaces and "escaped" characters and with launching a program with command line arguements... (5 Replies)
Discussion started by: TinCanFury
5 Replies

2. Shell Programming and Scripting

[bash] Run a program many times

Hi I'm running a program many times with differents input. I mean that i run my_prog with some parameters and i wait till the end, then i start again another simulations with some others differents parameters. Is possible to make it automatic with a script bash. Maybe i need some... (2 Replies)
Discussion started by: Dedalus
2 Replies

3. Shell Programming and Scripting

PROGRAM BASH

Hola tengo que hacer un programa en Bash, necesito ayuda porque no me sale y llevo bastante tiempo con esto!! Los cinco directorios que más ocupan, ordenados según tamaño. Para medir el tamaño de cada directorio no debe incluirse el tamaño de sus subdirectorios. Los diez archivos normales que más... (1 Reply)
Discussion started by: danihj
1 Replies

4. Shell Programming and Scripting

Program Bash VERY URGENT

Hello I have to do a program in Bash, need help because it does not go out for me and go enough time with this!! Five directories(boards of directors) that more occupy, arranged according to size. To measure the size of every directory(board of directors) there must not be included the size... (1 Reply)
Discussion started by: danihj
1 Replies

5. Shell Programming and Scripting

Display output bash program

Hello, i have a problem with the output from my bash program. I made this program #!/bin/bash BESTANDEN=$* # Plaatst bestanden in de variabele BESTANDEN TMPFILE=xmlprog.sh.$$.$RANDOM # basisnaam voor tijdelijke bestanden # controller of het programma correct is aangeroepen if then ... (6 Replies)
Discussion started by: dutchspiders
6 Replies

6. Shell Programming and Scripting

Creating Printing Program in bash

HI I am trying to create a bash script to print whatever i type in It has to have these below to define the size of the label and what size to print the text N q609 A100,10,0,5,2,2,N," " P1 It has to be sent to below > /dev/usblp0 So what it has to be is Written... (12 Replies)
Discussion started by: bganse
12 Replies

7. Programming

Putting bash script in C program

suppose i have a bash script: #!/bin/bash echo "hello" echo "how are you" echo "today" how can i put the entire script above into a basic c program? i do not want to translate the bash code to a c code. i want C to run the bash code. is this possible? i found this on the... (15 Replies)
Discussion started by: SkySmart
15 Replies

8. UNIX for Dummies Questions & Answers

Kill a program from bash

to kill a program in bash, for instance 'mousepad' I use kill $(pidof mousepad); or pkill mousepad But it only works if we use another bash window; If it is started from the same bash, that does not work: #mousepad;kill $(pidof mousepad); In this case, it looks like mousepad hangs... (7 Replies)
Discussion started by: arpagon
7 Replies

9. Shell Programming and Scripting

Question regarding whence program

Hi all, In production code, if using the whence command it picks the production file.if I am using the test code file. by using whence command it not picking the file. do you have any idea on this. Whence prodcode it picks the exact path of the prodcode. whence testcode. it... (1 Reply)
Discussion started by: ramkumar15
1 Replies

10. Homework & Coursework Questions

Bash Scripting program

#! /bin/bash # program to creat a backup copy for every deleted file or dierctores mv -t /home/$USER/.local/share/Trash/files $1 rsync -a /home/$USER/.local/share/Trash/files /usr/share/trash didn't work (2 Replies)
Discussion started by: rami-ali
2 Replies
WMTIME(1)						      General Commands Manual							 WMTIME(1)

NAME
wmtime - Window Maker dockapp that displays the time and date SYNOPSIS
wmtime [ OPTION ] DESCRIPTION
WMTime displays the time and date and gives you some nice additional features too. It is intended for docking in Window Maker. It currently provides: o the time and date; o a realtime morphing interface (analog <> digital mode); o auto-scaled and anti-aliased hands; o localization, displaying the day and date in various languages; o three user-defined commands to launch. OPTIONS
-d, -digital Display the digital clock on startup, instead of the analog clock. -display display This option specifies the X server to contact; see X(7x). -geometry geometry This option specifies the preferred position of clock; see X(7x). -n, -noseconds Disables the second hand. -h Show help information. -v Print the version number. USAGE
The WMTime window is separated into top and bottom sections. The top section contains a clock and the bottom section contains the date. The clock can be toggled between analog and digital modes. To do this, click in the bottom section of the window. WMTime can also be used to launch programs. You may click either left, middle, or right mouse buttons in the top section of the window. The pre-configured program will be launched according to the mouse button clicked. (see CONFIGURATION FILE below.) In order to move WMTime, drag on the outer edges. These are not sensitive to mouse clicks. DOCKING IN WINDOW MANAGERS
Window Maker Window Maker users should drag and drop the WMTime window on the Dock. Then, right-click on the border of the window and select "Settings...". Check "Start when Window Maker is started". AfterStep AfterStep users should put the following in their $HOME/.steprc Wharf wmtime - MaxSwallow "wmtime" wmtime & Other window managers WMTime runs nicely as a 64x64 shaped icon on your desktop. CONFIGURATION FILE
WMTime can launch three user-defined commands, triggered by left, middle and right mouse button clicks. You can define the commands to launch in $HOME/.wmtimerc left: xterm middle: xload right: xcalc If WMTime detects a $HOME/.wmtimerc file, it will launch the appropriate command when you click on the clock. The system administrator can define default commands in /etc/wmtimerc. The administrator may also choose to "fix" particular commands, making it impossible for users to change. These commands can be defined in /etc/wmtimerc.fixed, although this isn't a nice thing to do. FILES
/etc/wmtimerc $HOME/.wmtimerc /etc/wmtimerc.fixed AUTHORS
WMTime was written by Martijn Pieterse and Antoine Nulle. This manual page was written by Simon Law <sfllaw@debian.org> for the Debian system (but may be used by others). It is based on the docu- mentation provided by the original program. This manual is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. WMTIME 1.0b2 May 1998 WMTIME(1)
All times are GMT -4. The time now is 07:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy