10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I was trying to move a file to a particular directory. In a hurry i forgot to give the dest directory, as below
mv prod.log
The file disappeared. :confused:
Any idea where it might have moved???
And I have tried moving files based on date from one directory to another as below.... (1 Reply)
Discussion started by: siteregsam
1 Replies
2. Shell Programming and Scripting
Hi, I'm trying the remove the Print Queue just now. I'm execute the commands like lprm or cancel but it is not working. The Print Job still exist.
lprm -Ppr101 21
cancel pr101-21
The record is still exit there, who's know what's problem?
# lpq -Ppr101
pr101: stopped: Rank Owner Job... (0 Replies)
Discussion started by: webster5u
0 Replies
3. Shell Programming and Scripting
#!/usr/bin/sh
read file
#exec 3<&0
exec 0<$file
while read line
do
if
then
BOUND=$line
break
fi
count=`expr $count + 1`
done
#exec 0<&3
echo $BOUND
sh check.sh (4 Replies)
Discussion started by: skyineyes
4 Replies
4. Shell Programming and Scripting
Hi
I have users A and B in UNIX system both are not having root priveleges.
User A has written a script file where it connects to database and uses a logfile directed to the path in directory of USER B.
I copied the script into USER B directory and tried to run the script.
Its giving... (3 Replies)
Discussion started by: skyineyes
3 Replies
5. AIX
when try to unzip a very big file facing an error of disk full.
can any body help me to unzip this file .
$ unzip abc.zip
Archive: abc.zip
inflating: abc.zrp
abc.zip write error (disk full?). Continue? (y/n/^C) $ n
Thanks & Regards (2 Replies)
Discussion started by: suman_jakkula
2 Replies
6. Shell Programming and Scripting
when try to unzip a very big file facing an error of disk full.
can any body help me to unzip this file .
$ unzip abc.zip
Archive: abc.zip
inflating: abc.zrp
abc.zip write error (disk full?). Continue? (y/n/^C) $ n
Thanks & Regards (1 Reply)
Discussion started by: suman_jakkula
1 Replies
7. HP-UX
I can no longer print from HP-UX 10. All the printers are network printers. I have already stopped and restarted the spooler (lpshut and lpsched), but still the same problem. The printers react when I ping them.
I have also tried with SAM, but the system cannot find the printers.
Can somebody... (1 Reply)
Discussion started by: filipd
1 Replies
8. Solaris
I have another Hdd problem with Ultra 1 machine
the hdd is segate (+-)17560 MB and when I start installtion of sun solaries 2.6 the system sees the hdd correctly, and the installtion goes fine with partioning the disk as follows
/ 150 MB
swap 500 MB
/user 1000 MB
/user1 100MB
/usr3 5500 MB... (4 Replies)
Discussion started by: adol3
4 Replies
9. UNIX for Dummies Questions & Answers
i accedently "deleted" all workspaces
I have a black screen and dont know what to do
solaris common desktop enviroment (1 Reply)
Discussion started by: ssshakir
1 Replies
10. UNIX for Dummies Questions & Answers
Hi everybody I have a problem with wtmpx. Accounting file. I activated it. It works but to well :( Writes the same message every minute. "faxmodem" As you can see it does not take to long until my /var file is soon full.
Thanks
Peter (26 Replies)
Discussion started by: Peterh
26 Replies
lprm(1) Apple Inc. lprm(1)
NAME
lprm - cancel print jobs
SYNOPSIS
lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ - ] [ job ID(s) ]
DESCRIPTION
lprm cancels print jobs that have been queued for printing. If no arguments are supplied, the current job on the default destination is
cancelled. You can specify one or more job ID numbers to cancel those jobs or use the - option to cancel all jobs.
OPTIONS
The lprm command supports the following options:
-E
Forces encryption when connecting to the server.
-P destination[/instance]
Specifies the destination printer or class.
-U username
Specifies an alternate username.
-h server[:port]
Specifies an alternate server.
COMPATIBILITY
The CUPS version of lprm is compatible with the standard Berkeley lprm command.
SEE ALSO
cancel(1), lp(1), lpq(1), lpr(1), lpstat(1),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
28 August 2009 CUPS lprm(1)