02-07-2008
What have you written so far to get started?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all:
I am new to this board and UNIX programming so please forgive if I don't explain something correctly.
I am trying to write a script to keep track of our links, we link one program written for Client A to Client B's directory.
What we want to do is to keep track of our linked programs... (1 Reply)
Discussion started by: Smurtzy
1 Replies
2. Shell Programming and Scripting
I want to find the size of particular file exists in a particular directory
and i wnt to zip it.
In the below mentioned code it should check the MQ.log in the
particular directory.Please correct my code so that it will check
for particular MQ.log but i could not able to check whether
the... (9 Replies)
Discussion started by: Balachandar
9 Replies
3. Shell Programming and Scripting
hi,
i am new to this site.
i want to write a script to compare the file size of the files in the current dir with the files in the previous directory.
the files name will be same, but the filename format will be as xyzddddyymm.txt. the files will arrive with the month end date(i want to... (5 Replies)
Discussion started by: tweety
5 Replies
4. Shell Programming and Scripting
Hi All,
working on AIX 5.3.
Requirement is:
Shell script in ksh to check if any file exists in 4 folders as below:
1. /FILE/INB/INT1
2. /FILE/INB/INT2
3. /FILE/INB/INT3
4. /FILE/INB/INT4
Thanks a lot for your time!
a1_win. (3 Replies)
Discussion started by: a1_win
3 Replies
5. Shell Programming and Scripting
guys,
I am trying to write a script that does the following:
it looks for a file in a specific directory and if the file is not there (NOT), it emails me. I have tried the following but its not working. It simply hangs up. Please help.
if
then
mail -s 'blah blah blah' my email... (4 Replies)
Discussion started by: basisvasis
4 Replies
6. Shell Programming and Scripting
Hi all,I need your help to create the script.I need a script to check the ZIP file at network location with yesterday date name. ZIP file creation date is current date, but name of the zip file is previous date. for example file name "20110216.zip" created today 201102017.I just want to return the... (1 Reply)
Discussion started by: deepaksingla
1 Replies
7. Shell Programming and Scripting
Hi,
I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it.
For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies
8. Shell Programming and Scripting
Hi,
I am looking for a shell script with the following.
1. It should check whether a particular file exists in a location
#!/bin/sh
if ;
then
echo "xxx.txt File Exists"
else
echo "File Not Found"
fi
2. If file exists, it should check for the modified date and run a command... (2 Replies)
Discussion started by: karthikeyan_mac
2 Replies
9. Shell Programming and Scripting
Hi,
I am trying to write a script which checks if any file exists with "*.log" or "*.out" in Directory
below is the code
#------------------
path=/abd/xyz/
if ; then
echo "Good"
else
echo "Failure"
fi
#--------------------------
its always going to else part and printing... (8 Replies)
Discussion started by: ch33ry
8 Replies
10. Shell Programming and Scripting
Dear members, The following expect script connects to remote node and check for the file "authorized_keys" in directory /root/.ssh in remote node. However the result is always found even if the file exist or doesn't exist.
expect {
"$fname" {
send_user "found\n"
}
Any idea what is... (4 Replies)
Discussion started by: Sudhakar333
4 Replies
rpcbind(1M) rpcbind(1M)
NAME
rpcbind - universal addresses to RPC program number mapper
SYNOPSIS
DESCRIPTION
is a server that converts RPC program numbers into universal addresses. It must be running on the host to be able to make RPC calls on a
server on that machine.
When an RPC service is started, it tells the address at which it is listening, and the RPC program numbers it is prepared to serve. When a
client wishes to make an RPC call to a given program number, it first contacts on the server machine to determine the address where RPC
requests should be sent.
should be started before any other RPC service. Normally, standard RPC servers are started by port monitors, so must be started before
port monitors are invoked.
When is started, it checks that certain name-to-address translation calls function correctly. If they fail, the network configuration
databases may be corrupt. Since RPC services cannot function correctly in this situation, reports the condition and terminates.
can only be started by the super-user.
Options
recognizes the following options:
Run in debug mode.
In this mode, will not fork when it starts, will print additional information during operation, and will abort on certain
errors. With this option, the name-to-address translation consistency checks are shown in detail.
Do a warm start.
If aborts or terminates on or it will write the current list of registered services to and Starting with the option
instructs it to look for these files and start operation with the registrations found in them. This allows to resume
operation without requiring all RPC services to be restarted.
WARNINGS
Terminating with will prevent the warm-start files from being written.
All RPC servers must be restarted if the following occurs: crashes (or is killed with and is unable to to write the warm-start files; is
started without the option after a graceful termination; or, the warm-start files are not found by
AUTHOR
was developed by Sun Microsystems, Inc.
FILES
SEE ALSO
rpcinfo(1M), rpcbind(3N).
rpcbind(1M)