Hey. This is pretty easy stuff but I'm learning the basics of Unix at the moment so keep that in mind. I have to:
1) Write a C-shell script to monitor user activity on the server for 13 minutes.
2) Then print the smallest and largest number of users during these 13 minutes.
I have this:
1)... (2 Replies)
Hey,
This is a long-shot however, I am stuck with the following problem:
I have the output from ls -la, and I want to sort some of that data out by using AWK to filter it.
ls -la | awk -f scriptname.awk
Input:
For example:
drwxr-xr-x 3 user users 4096 2010-03-14 20:15 bin/... (5 Replies)
I need to calculate the biggest number in array size n.
Example: Users enter: 1 7 4 9
The biggest number is : 9
Simple but I'm really new on this on Shell/Bash! Anything will be helpful! Thanks!
#!/bin/bash
printf "\tEnter a list of numbers, with spaces: "
read -a ARRAY
BIG=$1... (5 Replies)
Hi,
Anybody know how to print out the record that shown smallest number among column 3 and column 4
Case 1 Input :
37170 37196 77 51
37174 37195 73 52
37174 37194 73 53
Case 1 Output :
37170 37196 77 51
Case 2 Input :
469613 469660 73 ... (4 Replies)
Hello,
I have often found bash to be difficult when it comes to floating point numbers. I have data with rows of tab delimited floating point numbers. I need to find the smallest number in each row that is not 0.0. Numbers can be negative and they do not come in any particular order for a given... (9 Replies)
Discussion started by: LMHmedchem
9 Replies
LEARN ABOUT DEBIAN
vend::ship::postal
Vend::Ship::Postal(3pm) User Contributed Perl Documentation Vend::Ship::Postal(3pm)NAME
Vend::Ship::Postal -- Calculate US Postal service international rates
SYNOPSIS
(in catalog.cfg)
Database usps ship/usps.txt TAB
Database air_pp ship/air_pp.txt TAB
Database surf_pp ship/surf_pp.txt TAB
(in shipping.asc)
air_pp: US Postal Air Parcel
crit weight
min 0
max 0
cost e No shipping needed!
at_least 4
adder 1
aggregate 70
table air_pp
min 0
max 1000
cost s Postal
min 70
max 9999999
cost e Too heavy for Air Parcel
surf_pp: US Postal Surface Parcel
crit weight
min 0
max 0
cost e No shipping needed!
at_least 4
adder 1
aggregate 70
table surf_pp
min 0
max 1000
cost s Postal
min 70
max 9999999
cost e Too heavy for Postal Parcel
DESCRIPTION
Looks up a service zone by country in the "usps" table, then looks in the appropriate rate table for a price by that zone.
Can aggregate shipments greater than 70 pounds by assuming you will ship multiple 70-pound packages (plus one package with the remainder).
perl v5.14.2 2010-03-25 Vend::Ship::Postal(3pm)