Actually, it's not the ""[[ ]]" construct nor the "[ ]" construct, but the && construct that does the trick. There is no standard way, however, of doing negation in the UNIX shell using the && || constructs. One can, however, do something like this:
You can also group things together between { }:
Does that help?
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
hi,
I have
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or question of my own) is:
Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
hi,
I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses...
Here is the configuration of my system:
* an IBM P550 machine,
* an AIX 5.3 running on it and
* an oracle database, already installed on it.
The problem (or... (1 Reply)
I am trying to use one global declaration --> "exec 2>$ERR" to capture all stderr outputs that may occur anywhere in my script.
Then close it at the end of the script using --> "exec 2<&-"
I am using KSH on Solaris 8.
KSH Version M-11/16/88i
If I comment two "exec .." statements in the... (11 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
While going through a script, i came across few syntax which I am not aware of what they exactly means.
@ cnt = 1
@ num_all = `echo $var`
What is the significance of "@" here. What is it called? (3 Replies)
Hi Guys,
From past some days, I am getting an error in /var/adm/messages which is as shown below.
XXXXX02:/# cat /var/adm/messages |tail
Sep 16 15:28:14 XXXX02 EV_AGENT: Agent Main --Estream construct failed. Err: EMULSocket::recv()
Sep 16 15:31:49 XXXX02 EV_AGENT: Agent main --... (2 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT PHP
asadmin-start-domain
asadmin-start-domain(1AS) User Commands asadmin-start-domain(1AS)NAME
asadmin-start-domain, start-domain - starts the given domain
SYNOPSIS
start-domain [--domaindir install_dir/domains] [--terse=false] [--echo=false] [--verbose=false] [--debug] [domain_name]
start-domain starts the specified domain. If there is only one domain in the default domain directory (install_dir/domains), then no oper-
and is required to start the domain. However, if there is more than one domain, the domain operand must be specified. This command can only
be run locally.
OPTIONS --domaindir directory where the domain is to be started. If specified, path must be accessible in the filesystem. If not speci-
fied, the domain is started in the default install_dir/domains directory.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--verbose by default this flag is set to false. If set to true, detailed server startup output is displayed. Press CTRL-C to
kill the server. Press CTRL- to print a thread dump.
--debug by default this flag is set to false. If set to true, the server is started in debug mode and prints the JPDA port
on the console.
OPERANDS
domain_name name of the domain. Must be a unique name.
Example 1: Using start-domain
asadmin> start-domain sampleDomain
Starting Domain sampleDomain, please wait.
Domain sampleDomain started
Where: the sampleDomain domain is started.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-create-domain(1AS), asadmin-delete-domain(1AS), asadmin-stop-domain(1AS), asadmin-list-domains(1AS)J2EE 1.4 SDK March 2004 asadmin-start-domain(1AS)