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 LINUX
dacsinit
DACSINIT(1) DACS Commands Manual DACSINIT(1)NAME
dacsinit - Configure a minimal DACS federation interactively
SYNOPSIS
dacsinit [-d] [-n]
DESCRIPTION
This program is part of the DACS suite.
The dacsinit command interactively creates a minimal DACS federation and jurisdiction. By default, the program uses the default paths that
were established when DACS was built and the example paths used by dacs.quick(7)[1]. When prompted, typing Return/Enter selects the default
value. It can also be used to create a configuration for a federation with one very basic jurisdiction based on names input to dacsinit.
The resulting configuration can then be extended or customized manually.
Note
This program can be found in the distribution's src directory. It is not copied elsewhere during installation.
OPTIONS
The following options are accepted:
-d
Avoid overwriting "real" files by appending a a suffix ("-xxx") to all files installed by this program. This is useful for debugging,
but you must clean up these bogus files manually.
-n
Do not actually do anything, but print the actions that would be done. Can be used with -d.
DIAGNOSTICS
The program exits 0 if everything was fine, 1 if an error occurred.
SEE ALSO dacs.quick(7)[1]
AUTHOR
Distributed Systems Software (www.dss.ca[2])
COPYING
Copyright2003-2012 Distributed Systems Software. See the LICENSE[3] file that accompanies the distribution for licensing information.
NOTES
1. dacs.quick(7)
http://dacs.dss.ca/man/dacs.quick.7.html
2. www.dss.ca
http://www.dss.ca
3. LICENSE
http://dacs.dss.ca/man/../misc/LICENSE
DACS 1.4.27b 10/22/2012 DACSINIT(1)