I am trying to write a short block of code that takes a partial filename as input from the command line, then searches multiple remote servers for any file that matches the pattern. If the pattern is found, I would like to return the value of an environment variable from the *remote* server.
... (0 Replies)
Hi, I am currently building a PHP/MySQL database that handles our offices newsletters. Now everything works great in the alpha with only a few names in the list, but I anticipate that once we fill it up (around 10,000) that this will not work from the PHP. I already have the script echo the... (0 Replies)
I have a stream of data come to a server and store in a file (datafile). This stream of data contain a lot of information. Data could come in every second or different frequency of times.
I like to retrieve a certain text string as the data come in. All data information will come with the... (1 Reply)
First of all want to apologize for such a simple question. Very "new" to UNIX and have just taken a small intro class.
I need to pull back YYYYMMDD and store it in a field to be used later. I figured out date "+%Y%m%d" returns the date in that format, just not sure how to store it.
I am... (7 Replies)
Hey guys, i just started shell programming and i have a question. I am working on a simple inventory project and one of the problems which i am unable to solve would be how i am going to extract the data i need from a text file(which will be my database) and then put it inside the executable to be... (5 Replies)
Hi,
We are using KSH.
I was able to write a script where a mail is sent to the concerned persons and this is working perfectly file. I need to give a different color to a part of the data in the mail which. The script written is as follows;
(echo "From: $REPLY"
echo "To: $DLIST"
echo... (6 Replies)
Hi ,
I need to retreive the file name in an variable on the ftp server.Can you guy please let me know how can i do that.I need some thing like
connect to ftp <<eof
new_variable=`ls *_1_AUDIT.txt *_2_AUDIT.txt` (but on a ftp server)
mget $new_variable
>>eof (1 Reply)
Hello,
I am new to UNIX.
My Requirement: Need to connect to Oracle database from UNIX and execute an SELECT statement and store the records in a flatfile of Comma delimiter.
What I have Succeeded: I was able to connect to Oracle from UNIX.
Problem: I cannot fetch multiple... (3 Replies)
hi,
i want to send last 10 lines of a file.. How can acheive that.
i tried this, but it is not working.
mailx -s "$SUBJ" $MAIL_ID < $LOGFILE|tail -10
Can somebody guide me... (2 Replies)
Hi,
I have one file 1.txt with one field consist of following Ids (shortlisted 10 but showing 3 here):
00052
00184
00607
and then second file 2.txt with three fields (very big file):
00052 00184 12.73062
00052 00598 13.51205
00052 00599 13.92554
00052 00600 13.73358... (2 Replies)
Discussion started by: bioinfo
2 Replies
LEARN ABOUT V7
biff
BIFF(1) BSD General Commands Manual BIFF(1)NAME
biff -- be notified if mail arrives and who it is from
SYNOPSIS
biff [ny]
DESCRIPTION
Biff informs the system whether you want to be notified when mail arrives during the current terminal session.
Options supported by biff:
n Disables notification.
y Enables notification.
When mail notification is enabled, the header and first few lines of the message will be printed on your screen whenever mail arrives. A
``biff y'' command is often included in the file .login or .profile to be executed at each login.
Biff operates asynchronously via the comsat(8) service. If that service is not enabled, biff will not do anything. In that case, or for syn-
chronous notification, use the MAIL variable of sh(1) or the mail variable of csh(1).
SEE ALSO csh(1), mail(1), sh(1), comsat(8)HISTORY
The biff command appeared in 4.0BSD.
BUGS su(1), and biff don't seem to get on too well. This is probably due to the tty still being owned by the person using su. This can result in
``Permission denied'' messages when attempting to change the biff status of your session.
Please report bugs to netbug@ftp.uk.linux.org including diffs/patches, compiler error logs or as complete a bug report as is possible.
Linux NetKit (0.17-pre-20000412) July 31, 1999 Linux NetKit (0.17-pre-20000412)