one lil change:
you want the wild-card expansion to happen on the REMOTE machine - not in the current working directory on the LOCAL machine.
Thanks for the update. Here's another change: Apparently the files that are generated are a day behind, so today's file 12-19-07 won't be available until 12-20-07. The script you so graciously gave me, will only look for today's file. How can the script be edited to look for yesterdays file? I'm assuming it would be in the
Hi -
I'm trying to think of a clever way to write a shell script (trying to stay w/ ksh as that's what I know the best...) that will resolve the following problem:
Problem - On a daily basis I have to email folks who are on-call to remind them. I was hoping to script this out so I could have... (9 Replies)
Hi,
I have been trying to use awk with variables that needs to search for a pattern and replace it with another pattern, the patterns are supplied in a variable. I have tried several different ways without success and hope that someone can help me. Here are the details
echo $UPC
07007457809... (2 Replies)
Hi,
I am using the HP machine at the moment and by default I have been setup with the kron shell i.e. my home profile is .kshrc
I would like to access a program anywhere on the system so I have added a path and created an environment variable like this:
export myvarpath=/a/abc/def/ghij... (3 Replies)
Hi Guys... can you tell me how to search between 2 variables ?... Im looking for a script that will move the data between varying words to separate files. I dont have my data on which I need to work right now... but it looks something like this..
start name1
data(a)
data(b)
stop name1 ... (6 Replies)
Hi,
I need to extract all the content between two strings stored in two variables "startstring" and "endstring"
startstring=hello
enstring=world
#notworking
awk '/$startstring/, $NF ~ /$endstring/ ' file > file2
The above code is not working with variables. It works when actual string... (2 Replies)
Can I use awk to search for a string, passed from the shell, that might include metacharacters?
File1 entries: Bob Marley Jammin (Bonus Track).mp3
File2 entries: Bob Marley Jammin (Bonus Track).mp3 32000 /Music/Bob Marley/ Jammin (Bonus Track).mp3
So far, I have this;
$ sed -e... (9 Replies)
Hello,
I'm trying the solve the following problem.
I have a file which I intend to use as a csv called master.csv
The columns are separated by commas.
I want to change the text on a specific row in either column 3,4,5 or 6 from xxx to yyy depending upon if column 1 matches a specified pattern.... (3 Replies)
Hi ,
I have been trying to write a perl script to do this job. But i am not able to achieve the desired result. Below is my code.
my $current_value=12345;
my @users=("bob","ben","tom","harry");
open DBLIST,"<","/var/tmp/DBinfo";
my @input = <DBLIST>;
foreach (@users)
{
my... (11 Replies)
I have two files:
file 1:
hello.com neo.com,japan.com,example.com
news.net xyz.com, telecom.net, highlands.net, software.com
example2.com earth.net, abc.gov.uk
file 2:
neo.com
example.com
abc.gov.uk
file 2 are the search keys to search in file 1 if any of the search... (7 Replies)
Hi guys,
I have a text file named file1.txt that is formatted like this:
001 , ID , 20000
002 , Name , Brandon
003 , Phone_Number , 616-234-1999
004 , SSNumber , 234-23-234
005 , Model , Toyota
007 , Engine ,V8
008 , GPS , OFF
and I have file2.txt formatted like this:
... (2 Replies)
Discussion started by: An0mander
2 Replies
LEARN ABOUT ULTRIX
tftpd
tftpd(8c)tftpd(8c)Name
tftpd - DARPA Trivial File Transfer Protocol (TFTP) server
Syntax
/usr/etc/tftpd [ -r pathname ]
Description
The server, supports the DARPA Trivial File Transfer Protocol (TFTP). The TFTP server is invoked when receives a packet on the port indi-
cated in the TFTP service description. The server is not normally started by default from
The use of does not require an account or password on the remote system. Because of the lack of authentication information, will allow
only publicly readable files to be accessed. This extends the concept of public to include all users on all hosts that can be reached
through the network. This may not be appropriate on all systems however, and its implications should be considered before enabling TFTP
service.
The server should have the user ID with the lowest possible privilege.
Options-r pathname The pathname can be the choice of the user. For example, would allow only files below to be copied using
Restrictions
This server is known only to be self consistent, that is, it operates with the user TFTP program, Because of the unreliability of the
transport protocol (UDP) and the scarcity of TFTP implementations, it is uncertain whether it really works.
The search permissions of the directories leading to the files accessed are not checked.
See Alsotftp(1c), services(5), inetd(8c)tftpd(8c)