Need help on below code, where i am trying to redirect the output of grep command in a file /tmp/a.txt for each server with this below code but it's only getting generated on server1 why not in server2 and 3 ? please advise
Error getting is + ./test.sh: line xx: /tmp/a.txt: cannot open [No such file or directory]
Hi I need to add a comment line at the begining of a text file. The scenario is given below.
1. The number of servers that needs to be updated is around 80
2. The location of the text file in all the servers are the same including the file name.
3. The comment has to be added at the very... (2 Replies)
I want to replace this line : "test compare visible] true" and make it "#test compare visible] true".
How can I do it ? And it should be checked in many sub folder files also. (6 Replies)
I have around 25 hosts and each hosts has 4 instance of jboss and 4 different ip attached to it . I need to make some changes to the startup scripts. Any tips appreciated. I have total of 100 instances which bind to 100 different ip address based on instance name.
For example
File1
... (1 Reply)
Hello.
I want comment or uncomment a ligne in a config file.
The file name : /etc/samba/smb.conf
Normaly the ligne is uncomment :so the line begin with a tab character
followed by passdb backend =\tpassdb backend =
In that case I should comment this line ... (2 Replies)
Say the input was as follows:
Brat 20 x 1000 32rf
Pour 15 p 1621 05pr
Dart 10 z 1111 22xx
My program prompts for an input, what I want is to use the input to locate a specific field. Like if I type in, "Pou" then it would return "Pour" and just "Pour"
I currently have this line but it is... (6 Replies)
I need to comment the lines starting with pattern "exclude" or "exclude=". If the work exclude comes at any other part, ignore it. Also, ignore, excludes, excluded etc. Ie only comment the line starting with exclude.
File contents.
exclude
exclude=
hi I am excluded
excludes
excludes=
... (9 Replies)
Hi
This is my first post and I'm just a beginner. So please be nice to me.
I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file?
I have tried sed -n 241,241p... (13 Replies)
Hi,
I need to comment out (insert # in the front of a line) a line that has entry Defaults requiretty using command-line as I need to do this on hundreds of servers.
From
Defaults requiretty
To
#Defaults requiretty
I tried something like below but no luck: Please advise,... (3 Replies)
I have an xml file dumped from rrd file, that I want to "patch" so the xml file doesn't contain any blank hole in the resulting graph of the rrd file.
Here is the file.
<!-- 2015-10-12 14:00:00 WIB / 1444633200 --> <row><v> 4.0419731265e+07 </v><v> 4.5045912770e+06... (2 Replies)
I will appreciate if you help me here in this script in Solaris Enviroment.
Scenario:
i have 2 files :
1) /tmp/TRANSACTIONS_DAILY_20180730.txt:
201807300000000004
201807300000000005
201807300000000006
201807300000000007
201807300000000008
2)... (10 Replies)
Discussion started by: teokon90
10 Replies
LEARN ABOUT DEBIAN
proftmb
PROFTMB(1) User Commands PROFTMB(1)NAME
proftmb - per-residue prediction of bacterial transmembrane beta barrels
SYNOPSIS
proftmb [options]
DESCRIPTION
proftmb predicts bacterial transmembrane beta barrels from sequence using profile fed Hidden Markov Models (HMM).
Output format
Self-annotating. Letters of prediction: 'i' - inside cytoplasm, 'O' - outside cytoplasm, 'U' - up (on chain moving out of cytoplasm), 'D'
- down (on chain moving into cytoplasm).
References
Bigelow, H. and Rost, B. (2006). PROFtmb: a web server for predicting bacterial transmembrane beta barrel proteins. Nucleic Acids Res,
34(Web Server issue), W186-8.
To invoke the menu, type:
proftmb --menu
The options are:
-d, --directory-root <STRING>
root path where files (options -s,-r,-l,-a,-e,-t,-u,-z,-n) reside
-a, --reduction-state-decode <STRING>
state reduction for decoding
-b, --reduction-state-report <STRING>
state reduction for reporting
-m, --membrane-strand-states <STRING>
list of membrane strand states
-z, --z-curve-file
<STRING> file containing means and sd's at integral length values
-x, --z-calibration-curve <STRING>
file mapping coverage and accuracy values to z-scores
-n, --null-frequency <STRING>
background frequency file
-c, --minimum-score-cutoff <DOUBLE>
minimum z-score for per-residue prediction
-o, --outfile-prefix <STRING>
output file prefix for the three files generated: PREFIX_dat.txt, PREFIX_proftmb_pretty.txt PREFIX_proftmb_tabular.txt
-s, --static-model-data <STRING>
data representing the model architecture
-t, --trained-params <STRING>
params representing the encoded training data
-q, --test-blastQ-file-or-dir <STRING>
psiblast profile (-Q) or directory (full pathname or relative to current directory) with many profiles
-w, --single-sequence-name <STRING>
if -q option points to a single file, this is the name
-v, --list-blastQ-files <STRING>
list of psiblast files to process in directory (leave blank to process all files)
--outfile-pretty <STRING>
pretty output file (overrides automatic name PREFIX_proftmb_pretty.txt)
--outfile-tab
<STRING> tabulated output file (overrides automatic name PREFIX_proftmb_tabular.txt)
--outfile-dat
<STRING> data output file (overrides automatic name PREFIX_dat.txt)
--version
<BOOL> output version information and exit
--quiet
<BOOL> be quiet
EXAMPLES
proftmb @/usr/share/proftmb/options -q /usr/share/doc/proftmb/examples/example.Q -o /tmp/example
The above produces 3 output files: /tmp/example_proftmb_tabular.txt, /tmp/example_proftmb_pretty.txt and /tmp/example_dat.txt. Compare
these to the examples in /usr/share/doc/proftmb/examples.
BUGS
Please report bugs at <https://rostlab.org/bugzilla3/enter_bug.cgi?product=proftmb>.
COPYRIGHT
Copyright (C) 2004 Henry Bigelow
This program 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 3 of the License, or (at your option) any later version.
This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
proftmb 1.1.10 February 2012 PROFTMB(1)