I'm new to unix, and I was wondering how would you output the following date using the date command? Thank you in advance.
November 4,2005 17:04:31 EST Wednesday (1 Reply)
I don't understand this, can anyone explain the evaluation logic used here, and I would really appreciate a general explanation for it.
----------------------
Here's the korn script:
--------------------
#! /usr/bin/ksh
if ]
then
echo true
else
echo false
fi
if (( 2 > 10 ))
then... (1 Reply)
Hello,
I have the following line in one of my shell scripts. It works fine when the search string($SERACH_STR) exists in the logfile($ALERTLOG) but if the search string does not exist this line errors out at run time. Is there a way to make this line return 0 if it is not able to find the... (4 Replies)
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
exam is a ksh script. In command line I enter: exam 3 param_2 param_3 param_4.
In exam how can I get the value of the parameter which position is specified by the first argument.
Simply doing this DOES NOT work:
offset=$1
value=$$offset
can you figure out any possible way to interpret a... (5 Replies)
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
This could be a really dummy question.
I have a log text file.
What unix command to extract line from specific string to another specific string.
Is it something similar to?:
more +/"string" file_name
Thanks (4 Replies)
I am using UNIX to create a script on our system. I have setup my commands to append their output to an outage file. However, some of the commands return no output and so I would like something to take their place.
What I need
The following command is placed at the prompt:
TICLI... (4 Replies)
Discussion started by: jbrass
4 Replies
LEARN ABOUT DEBIAN
g_densorder
g_densorder(1) GROMACS suite, VERSION 4.5.4-dev-20110404-bc5695c g_densorder(1)NAME
g_densorder - calculate surface fluctuations
VERSION 4.5.4-dev-20110404-bc5695c
SYNOPSIS
g_densorder -s topol.tpr -f traj.xtc -n index.ndx -o Density4D.dat -or hello.out -og interface.xpm -Spect intfspect.out -[no]h -[no]version
-nice int -b time -e time -dt time -[no]w -[no]1d -bw real -bwn real -order int -axis string -method enum -d1 real -d2 real -tblock int
-nlevel int
DESCRIPTION
A small program to reduce a two-phase density distribution along an axis, computed over a MD trajectory to 2D surfaces fluctuating in time,
by a fit to a functional profile for interfacial densities A time-averaged spatial representation of the interfaces can be output with the
option -tavg
FILES -s topol.tpr Input
Run input file: tpr tpb tpa
-f traj.xtc Input
Trajectory: xtc trr trj gro g96 pdb cpt
-n index.ndx Input
Index file
-o Density4D.dat Output, Opt.
Generic data file
-or hello.out Output, Opt., Mult.
Generic output file
-og interface.xpm Output, Opt., Mult.
X PixMap compatible matrix file
-Spect intfspect.out Output, Opt., Mult.
Generic output file
OTHER OPTIONS
-[no]hno
Print help info and quit
-[no]versionno
Print version info and quit
-nice int 0
Set the nicelevel
-b time 0
First frame (ps) to read from trajectory
-e time 0
Last frame (ps) to read from trajectory
-dt time 0
Only use frame when t MOD dt = first time (ps)
-[no]wno
View output .xvg, .xpm, .eps and .pdb files
-[no]1dno
Pseudo-1d interface geometry
-bw real 0.2
Binwidth of density distribution tangential to interface
-bwn real 0.05
Binwidth of density distribution normal to interface
-order int 0
Order of Gaussian filter, order 0 equates to NO filtering
-axis string Z
Axis Direction - X, Y or Z
-method enum bisect
Interface location method: bisect or functional
-d1 real 0
Bulk density phase 1 (at small z)
-d2 real 1000
Bulk density phase 2 (at large z)
-tblock int 100
Number of frames in one time-block average
-nlevel int 100
Number of Height levels in 2D - XPixMaps
SEE ALSO gromacs(7)
More information about GROMACS is available at <http://www.gromacs.org/>.
Mon 4 Apr 2011 g_densorder(1)