Started writing my code.
my read input is not even asking nor working?
And I get a EOF script error.
echo "1) aragorn.domain.net"
echo "2) marvel.domain.net"
echo "3) athena.domain.net"
echo "4) gandalf.domain.net"
echo "5) griffin.domain.net"
echo "What server would you like... (4 Replies)
Hello all,
Can someone tell me why I'm getting an error in the following code:
export return_code="$?"
if then
echo "load_shaw.sas failed."
exit
else
echo "Trigger the next script..."
# /path/to/next/script
fi
I get an error... (3 Replies)
I just wanted to assign the filename to a variable
filename="abc"
datestrng=`date +%Y%m%d`
filextn="txt"
"LOCAL_FILE"${i}=${filename}"_"${datestrng}"."${filextn}
echo "LOCAL_FILE"${i}
I get the following error on 2nd last line
ksh: LOCAL_FILE1=abc_20081114.txt: not... (3 Replies)
Code:
#!/usr/bin/perl -w
use strict;
use warnings;
#Clears Screen
$CLEAR=`clear`;
print $CLEAR;
i get the below error:
Global symbol "$CLEAR" requires explicit package name at ./mutmg.pl line 6.
Global symbol "$CLEAR" requires explicit package name at ./mutmg.pl line 7. (1 Reply)
Trying to do a file count on files between a specific date. I entered the following command, but it's not working:
find . -type f \( -newer startdate -a ! -newer enddate \) -exec "ls -l | wc -l" {} \;
lil help? :D (4 Replies)
Hi ,
iam new with sed command
D:\bfx_db>sed -ne '/^SP2-*:/S/^\<.*\.*\>$/\2\p' reg.sql >>D:\out.log
The filename, directory name, or volume label syntax is incorrect.
Here my source file is reg.sql , i need the output in out.log
Can anybody Help on this???? (4 Replies)
Hello, all
Suppose my current directory has 3 files:
file_1 file_2 file_3
I wrote the following codes:
awk 'BEGIN{while("ls"|getline d) {myarray++}}; END{close("ls");for (i in myarray){print i, myarray}}' /dev/null
I expect the output be like:
1 file_1
2 file_2
3 file_3
... (7 Replies)
I want to let sleep 3 in the background and echo $i
pkglists="a b c d e f g"
f()
{
local i
set -- $pkglists
&& ((i +=2)) && sleep 3 &;echo $i
}
f (3 Replies)
Hi there, I am trying to select a number of lines based on the lat. lon columns in a file but my awk code gives me empty result.
Here is my file:
20100213 102212 33.1185 39.4078 2.9
20100214 141753 33.1058 39.9068 2.9
20100218 115828 33.1907 39.3575 2.9
20100225 220001 33.1932 39.9448... (10 Replies)
Discussion started by: johankor
10 Replies
LEARN ABOUT MOJAVE
rmiregistry
rmiregistry(1) General Commands Manual rmiregistry(1)NAME
rmiregistry - Java remote object registry
SYNOPSIS
rmiregistry [ port ]
DESCRIPTION
The rmiregistry command creates and starts a remote object registry on the specified port on the current host. If port number is omitted,
the registry is started on port 1099. The rmiregistry command produces no output and is typically run in the background. For example:
example% rmiregistry &
A remote object registry is a bootstrap naming service that is used by RMI servers on a host to bind remote objects to names. Clients can
then look up remote objects and make remote method invocations.
The registry is typically used to locate the first remote object on which an application needs to invoke methods. That object in turn pro-
vides application-specific support for finding other objects.
The methods of the java.rmi.registry.LocateRegistry class are used to get a registry operating on a particular host or host and port.
The URL-based methods of the java.rmi.Naming class operate on a registry and can be used to look up a remote object, bind a simple (string)
name to a remote object, rebind a new name to a remote object (overriding the old binding), unbind a remote object, and list the URLs bound
in the registry.
OPTIONS
The following option is supported:
-Joption Used in conjunction with any java option, this option passes option (no spaces between -J and option) on to the java inter-
preter.
SEE ALSO
See (or search java.sun.com) for the following:
java.rmi.Naming @
http://java.sun.com/j2se/1.5/docs/api/java/rmi/Naming.html
java.rmi.registry.LocateRegistry @
http://java.sun.com/j2se/1.5/docs/api/java/rmi/registry/LocateRegistry.html
23 Apr 2001 rmiregistry(1)