Hello guys..
well, im kinda newbie with unix because i started to learn it like 2 weeks ago.
then i started to make some exercises, but i got stucked on this one :
so, i need to know how many different 'names' has the 5th field and how many times each name appears.
i was trying with a... (6 Replies)
Hello guys.
Well, on this exercise i need the average "chargeAmount" per hour (for each hour).
with this code :
cat getusagesummarywrongmatch | grep -iv MOU2GRTObject | cut -d'|' -f4,14 | grep -i chargeamount | cut -d' ' -f2
http://img227.imageshack.us/img227/5889/65969235do0.jpg
i got... (2 Replies)
How do I write a shell script file to read 5 student names (First and Last name) and their grades using a While Loop? Find the Average, Maximum, and Minimum of grades using the same While Loop. Prompt the user using tput to enter the information (first name, last name, grade). Save the data in a... (1 Reply)
Hi, 'm trying to do an exercicise, and one part is:
ls -l $1 | awk '
BEGIN {
max = $5;
}
{
if ($5 > max){
max = $5;
}
}
END {
print "Tamanio mayor fichero = " max; }'
# Imprimimos ahora el menor tamaņo de fichero
ls -l $1 | awk '... (4 Replies)
you are to write a program which will read in a tax rate (as a percentage) and the prices of 5 items. the program is to calculate the total price, before tax, of the items and then the tax payable on those items, and then the total amount due. the tax payable is computed by appliying the tax rate... (1 Reply)
hello everyone!:)
I have an exercise which I think is difficult for beginner like me. Here is the exercise
Create a shell script, which takes a directory as command line argument.
Script displays ten first lines from every text file in that directory. After
displaying the lines from the... (1 Reply)
Hi,
I am learning unix. I want to practice few small excercises. Please suggest me some goor URL to practice.
Thanks in advance. (1 Reply)
Discussion started by: stew
1 Replies
LEARN ABOUT BSD
uupoll
UUPOLL(8) System Manager's Manual UUPOLL(8)NAME
uupoll - poll a remote UUCP site
SYNOPSIS
uupoll [ -ggrade ] [ -n ] system
DESCRIPTION
Uupoll is used to force a poll of a remote system. It queues a null job for the remote system and then invokes uucico(8).
The following options are available:
-ggrade Only send jobs of grade grade or higher on this call.
-n Queue the null job, but do not invoke uucico.
Uupoll is usually run by cron(5) or by a user who wants to hurry a job along. A typical entry in crontab could be:
0 0,8,16 * * * /usr/bin/uupoll ihnp4
0 4,12,20 * * * /usr/bin/uupoll ucbvax
This will poll ihnp4 at midnight, 0800, and 1600, and ucbvax at 0400, noon, and 2000.
If the local machine is already running uucico every hour and has a limited number of outgoing modems, a more elegant approach might be:
0 0,8,16 * * * /usr/bin/uupoll -n ihnp4
0 4,12,20 * * * /usr/bin/uupoll -n ucbvax
5 * * * * /usr/sbin/uucico -r1
This will queue null jobs for the remote sites at the top of hour; they will be processed by uucico when it runs five minutes later.
FILES
/etc/uucp/ UUCP internal files
/usr/spool/uucp/ Spool directory
SEE ALSO uucp(1), uux(1), uucico(8)4.3 Berkeley Distribution October 23, 1996 UUPOLL(8)