Sponsored Content
Full Discussion: Newbie
Top Forums UNIX for Dummies Questions & Answers Newbie Post 302281094 by zaxxon on Wednesday 28th of January 2009 07:29:09 AM
Old 01-28-2009
Ubuntu.
 

10 More Discussions You Might Find Interesting

1. IP Networking

help<newbie>

hello i would like to get a server so i may post websites on the web do i have to pay a lot of money to use someone else's server or is there a way to turn a computer into a basic server please help i am trying to find the most inexpensive way to get my own domain up on the web if this is... (1 Reply)
Discussion started by: skistar
1 Replies

2. Programming

help<newbie>

i am new to the programing enviroment i know html and some of cgi i would like to know how to creat programs i know nothing!!!!!!!!!!!!! what do i need to get started where can i learn the language what language do i need to learn i tried scheme http://www.htdp.com it did not work out well... (9 Replies)
Discussion started by: skistar
9 Replies

3. UNIX for Dummies Questions & Answers

newbie needs help

hi i need some help on command grep and pipe but the man grep and man pipe doesn't help me much is there any site show more detail help on all the unix command?? (1 Reply)
Discussion started by: goodman
1 Replies

4. UNIX for Dummies Questions & Answers

Newbie

I know I'm jsut a newbie, I'm setting up a 1.3 ghz dell as a server. I have experiance using Windows for a webserver, and I was jsut woundering if I would have great difficulty using Unix. is there there like netscape for internet? is there like word? can you listen to Mp3s? can someone... (4 Replies)
Discussion started by: Special K
4 Replies

5. UNIX Desktop Questions & Answers

newbie

Hi, I am interested in learning unix and would like some advice on how I would start to learn unix. Therefore, What would be a good (free) unix distribution to install? Would it be better to invest in a packaged Linux distribution (redhat etc) and get the feel for unix this way? Are... (4 Replies)
Discussion started by: wolf2
4 Replies

6. UNIX for Dummies Questions & Answers

Newbie in need of help

Hey all. I am a MS person that is looking to get into real computing for a change. I have seen a few different references to "UNIX Essentials and Core" DVD in different newbie threads and a quick intraweb search on Google only comes up with links to this forum and an Amazon review. Does anyone... (3 Replies)
Discussion started by: cfjohnsn
3 Replies

7. Solaris

Newbie

Hello Guys, I just join the unix world today, I had my first lesson on unix today. So expect so much questions from me the next time I log in. Thanks (3 Replies)
Discussion started by: Micko
3 Replies

8. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

9. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

10. Shell Programming and Scripting

perl newbie . &&..programming newbie

Hi, I am new to programming and also to perl..But i know 'perl' can come to my rescue, But I am stuck at many places and need help..any small help is much appreciated... below is the description of what i intend to acheive with my script. I have a files named in this format... (13 Replies)
Discussion started by: xytiz
13 Replies
pac(8)							      System Manager's Manual							    pac(8)

NAME
pac - Outputs printer/plotter accounting information SYNOPSIS
pac [-cmrs] [-p price] [-P printer] [name] FLAGS
Sorts output according to the computed cost instead of alphabetically according to user. Groups all printing charges for the user speci- fied by name, without regard for the host machine from which printing was invoked. The dollar amount charged per unit of output specified by price. The default dollar amount charged is $0.02 per unit. Specifies the printer for which accounting records are produced. Alterna- tively, the system selects the printer named with the PRINTER environment variable, or the default printer lp0. Reverses the sorted order, so that records are listed alphabetically from z to a, or in descending order by computed cost when this flag is used with the -c flag. Writes printer accounting information to a summary file. You must specify the -P flag and printer name (or synonym) when you use this flag. Output is made to a file that is associated with the af entry for the specified printer in the /etc/printcap file. This file is located in the /usr/adm directory. The file name is usually the af accounting file name, with the letters _sum (summary) appended, for example: /usr/adm/lp2acct_sum. Accounting information is in three unheaded columns in the format: pages/feet machinename:username runs DESCRIPTION
When printer accounting is enabled in the /etc/printcap file, and you use the pac command in a shell script or from the standard input, pac outputs printer/plotter accounting records to the standard output for each user of the printer specified with the -P flag and printer name or for users specified with the name parameter. The unit used for printer accounting is the number of pages printed. However, for raster devices (such typesetters, and plotters) length in feet of print medium (film, for example) is the unit used. Output units are expressed both as the number of units used and the charge in dollars according to the price specified with -p flag and price amount per unit. The printer/plotter accounting output has the following column headings and format: Login pages/feet runs price chicken:rcb 19.00 2 $ 0.38 sardine:jmp 22.00 3 $ 0.44 hunch:lucy 53.00 12 $ 1.06 stovetop:suki 1.00 1 $ 0.02 newspaper:myralou 834.00 202 $ 16.68 wimbledon:nhk 69.00 20 $ 1.38 norfolk:sophie 184.00 17 $ 3.68 There are four fields, each with its own column heading, in each record of the default output produced by the pac command: 1) the machine from which the print command was entered and login name is entered in the Login column; 2) the number of pages or feet of paper output is entered in the page/feet column; 3) the number of times the printer was used is entered in the runs column; and 4) the cost computed at the default or specified price is entered in the price column. EXAMPLES
To print printer/plotter accounting information for all users of default printer lp0 to the standard output device, enter: /usr/sbin/pac Output is sorted alphabetically according to machine name and username. The number of printed pages or feet of output paper used and the charge per foot of paper or page is computed at the default dollar amount of $0.02 per page because no flags are specified. To write accounting records for printer printer1 in a summary file, enter the following line as a superuser or as adm: /usr/sbin/pac -Pprinter1 -s Summary information is written to the file /var/adm/printer1acct_sum. To produce accounting information for users lucy, suki and myralou for pages printed on printer putnam408, enter: /usr/sbin/pac -Pputnam408 lucy suki myralou FILES
Specifies the command path Accounting information summary file. Printer information summary file, where printcap symbol af defines the name of the accounting file. RELATED INFORMATION
Commands: acct(8), acctcms(8), acctcom(8), acctcon(8), acctmerg(8), acctprc(8), printcap(4), runacct(8) delim off pac(8)
All times are GMT -4. The time now is 01:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy