10 More Discussions You Might Find Interesting
1. AIX
Good day UNIX forum, could you help me with my clear printer queue script, i have problems with the consistency of this function, sometimes it works sometimes it doesn't. Thanks in advance
}
preRemovePrintQ(){
clear;
echo;
echo... (1 Reply)
Discussion started by: beware187
1 Replies
2. AIX
Hello,
Is there a difference between the following commands besides consider the file permissions?
/usr/sbin/acct/nulladm /var/adm/wtmp
>/var/adm/wtmp
cat /dev/null >/var/adm/wtmp
Today I tried the second command and it worked... (2 Replies)
Discussion started by: x_adm
2 Replies
3. HP-UX
Hi Everyone,
How to check the status of the particular port and also clear it if it is locked without reboot?
Please suggest.
Thank you. (6 Replies)
Discussion started by: laxmikant
6 Replies
4. Shell Programming and Scripting
Hello,
I have a script which creates a certain text file.
Whenever I call it, I need to recreate this file, because I have no need in the previous content.
So I thought to remove the file every time I call the script, and that way I am sure that the previous content will not interrupt me.... (2 Replies)
Discussion started by: shira
2 Replies
5. UNIX for Dummies Questions & Answers
Hi...
i have one doubt pls...
1)can we clear the command line history in UNIX for a paricular login(scadm/root)if so how?.
2) can we see the time at which command executed.
history is showing like :
100 display
101 lock
102 exit (7 Replies)
Discussion started by: gincemathew
7 Replies
6. Programming
How do I clear screen in g++
I've included curses and tried compile with lcurses as per gcc but fails, I can clear by using system("clear") but would prefer to use the curses library if possible. (2 Replies)
Discussion started by: gefa
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
In some machines when i type "clear" it completely clears all the contents on that window but on some it simply scrolls up all the content.
How can i change this? (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies
8. UNIX for Dummies Questions & Answers
Hello All,
I like this forum btw, and have only been lurking for about a day.
Recently I purchased some new hardware (AMD Athlon 64 3200+ and a Asus K8V Deluxe Motherboard), and I want to find an OS that can take advantage of the 64 bit processor.
Basically, what are the differences... (2 Replies)
Discussion started by: RoY_mUnSoN
2 Replies
9. UNIX Desktop Questions & Answers
is there any way i can make my console clear? ive found out how to make it so i can see throught it, but all i get is the desktop.... i wanna be able to read a text document which i have open behind the console.... this is in kde3.1 (3 Replies)
Discussion started by: punk000
3 Replies
10. UNIX for Dummies Questions & Answers
Hi...
how can i clear the Memory on AIX 4.3.3 without rebooting (like flush memory on oracle database )
THANX
fenomen (2 Replies)
Discussion started by: fenomen
2 Replies
lpc(8) Apple Inc. lpc(8)
NAME
lpc - line printer control program
SYNOPSIS
lpc [ command [ parameter(s) ] ]
DESCRIPTION
lpc provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues.
If no command is specified on the command-line, lpc displays a prompt and accepts commands from the standard input.
COMMANDS
The lpc program accepts a subset of commands accepted by the Berkeley lpc program of the same name:
exit Exits the command interpreter.
help [command]
? [command]
Displays a short help message.
quit Exits the command interpreter.
status [queue]
Displays the status of one or more printer or class queues.
NOTES
Since lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by
CUPS. To configure printer or class queues you must use the lpadmin(8) command or another CUPS-compatible client with that functionality.
SEE ALSO
cancel(1), cupsaccept(8), cupsenable(8), lp(1), lpadmin(8), lpr(1), lprm(1), lpstat(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
11 June 2014 CUPS lpc(8)