Re: Linux scripting problem

2003-02-26 Thread Elias Athanasopoulos
On Wed, Feb 26, 2003 at 09:45:25AM -0800, Abhijit Vijay wrote: > > -r-s--x--x1 root root 656 Feb 26 12:28 > burnCD > > This has the same permissions as /usr/bin/passwd. > > burnCD is essentially a tcsh script. > > When I run it as root, it works fine. > However, when I try to run it a

Linux scripting problem

2003-02-26 Thread Abhijit Vijay
Hi Guys, I had written a program called burnCD to help users burn CDs on a linux box. I had given it the following permissions: -r-s--x--x1 root root 656 Feb 26 12:28 burnCD This has the same permissions as /usr/bin/passwd. burnCD is essentially a tcsh script. When I run it as root,

Re: scripting the "rec" function for a fixed time.

2003-02-26 Thread Eric
On Wednesday 26 February 2003 04:19 am, Carl wrote: > At 19:44 25/02/2003 -0500, Peter Howell wrote: > >On Tue, 2003-02-25 at 01:14, pa3gcu wrote: > >> > "rec" is not a stock linux command, and I cannot readily identify a > >> > package that includes that application (just trying to match on "rec"

Linux scripting problem

2003-02-26 Thread Abhijit Vijay
Hi Guys, I had written a program called burnCD to help users burn CDs on a linux box. I had given it the following permissions: -r-s--x--x1 root root 656 Feb 26 12:28 burnCD This has the same permissions as /usr/bin/passwd. burnCD is essentially a tcsh script. When I run it as root,

Re: 'Irq_vectors.h: No such file or directory' in 2.5.59

2003-02-26 Thread pa3gcu
On Wednesday 26 February 2003 15:23, Eng Se-Hsieng wrote: > Hello, Firstly this list is for mewbies, a development kernel is not for newbies as you see with your problem, however i will try and shed some light. > > While compiling the Nokia D211 driver on my computer, I received the > following

'Irq_vectors.h: No such file or directory' in 2.5.59

2003-02-26 Thread Eng Se-Hsieng
Hello, While compiling the Nokia D211 driver on my computer, I received the following error message. /usr/src/linux-2.5.59/include/asm/irq.h:16:75: irq_vectors.h: No such file or directory Line 15-16 of the above file is as follows: /* include comes from machine specific directory */ #include "i

Re: accessing my XP printer from Linux?

2003-02-26 Thread Kurt Sys
Hello again, I don't know a lot about CUPS, printer configuration etc. I just know how I managed to get it to work. Basically, I guess the following lines should work: $ gs -sDEVICE=ljet4 -sOutputFile=foo.hp foo.pdf this will convert a pdf-file to 'printer format' (in this case, HP Laserjet 4)

Re: scripting the "rec" function for a fixed time.

2003-02-26 Thread Carl
At 19:44 25/02/2003 -0500, Peter Howell wrote: >On Tue, 2003-02-25 at 01:14, pa3gcu wrote: >> > "rec" is not a stock linux command, and I cannot readily identify a package >> > that includes that application (just trying to match on "rec" turns up >> > several hundred hits in the Debian package da

Re: scripting the "rec" function for a fixed time.

2003-02-26 Thread Elias Athanasopoulos
On Tue, Feb 25, 2003 at 07:44:08PM -0500, Peter Howell wrote: > Ok, just did a little rtfm. I guess I could use ps and extract the id. > Now I guess I'd better learn some bash scripting You can use pkill, too; it uses process names instead of ids. Elias -- University of Athens