10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
At work I have to create multiple copies of a file all the time.
Example: I have a file called Sec30p01.txt
I need thirty of these, then I edit one line in each to make 30 different control files.
So I end up with Sec30p02.txt, Sec30p03.txt and so on up to 30
Currently I copy the first file... (8 Replies)
Discussion started by: faaslave
8 Replies
2. UNIX for Dummies Questions & Answers
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies
3. AIX
Hello all.
I am setting up a queue under AIX 4.2.1 to print to a remote Linux CUPS queue. At present I can print to the queue remotely from Windows but not AIX. What I am seeing is lpstat reads the state of the remote queue but at job submission time I am getting backend exit fatal errors. The... (4 Replies)
Discussion started by: tgx
4 Replies
4. Shell Programming and Scripting
Hiya,
I want to allow some users to copy all filenames of a specific filetype, to a limited directory.
3+ users: need to be able to copy(as root) any *.war file to /usr/local/tomcat/current/webapps/
I tried the following...
dmurphy huskar=/tmp/who.sh,/bin/cp *.war... (2 Replies)
Discussion started by: infinitiguy
2 Replies
5. AIX
Hi,
I'm at following old machine:@rs6000:/:> uname -a
AIX rs6000 2 4 007016224C00 We are facing some problems with print queues, whenever a print queue gets stuck we cannot cancel it, we don't have any other option except restarting the machine, we have following queues:@rs6000:/etc:> lpstat... (23 Replies)
Discussion started by: nervous
23 Replies
6. UNIX for Dummies Questions & Answers
Dear all,
Today I spend almost all my day with something I hope any of you can help me with...
I'm trying to write a small script (!/bin/sh) to be able to make 900 copies of one file. Can anyone help me with this? I couldn't figure this out (maybe I need to create some sort of loop) and couldn't... (8 Replies)
Discussion started by: marjocello
8 Replies
7. UNIX for Dummies Questions & Answers
Has anyone come accross and solved an issue where only 1 copy of a doc prints after you use the -n flag and specify more then 1. My exact syntax is
lp -dprintername -n3 documentname
enq command does same thing.
Both commands show the 3 copies in the queue but only 1 ever prints
I am using AIX... (0 Replies)
Discussion started by: capeme
0 Replies
8. Shell Programming and Scripting
Hi, this is my first post so I hope I have placed it in the appropriate section!
I have created a looping script to print a text file multiple times.
The script works great, and it displays the job numbers of all the prints that result from its execution.
The trouble is, only the first job... (1 Reply)
Discussion started by: Alpha7
1 Replies
9. AIX
Hi,
We have an application running on AIX5.3 that generates text files that are sent to be printed using the lp command.
The user can specify the number of copies they want printed, but only one copy ever gets printed.
I've checked the lp command that is used, and it correctly specifies... (5 Replies)
Discussion started by: stebradshaw
5 Replies
10. UNIX for Advanced & Expert Users
I'm trying to print multiple copies of a file on sun solaris 8 with the lp -n command to no
avail. No matter what numeric value I supply -n, I still only get 1 copy
of the file printed.
The command I'm using is 'lp -d SNY_IT5000-2 -n2 file'
The printer is an HP Laserjet 4000 with a... (2 Replies)
Discussion started by: hassan2
2 Replies