I think you want to put the command in ~/.kde/Autostart for
KDE and Gnome has a similar directory.
On 26 Mar 2003, Jon Haugsand wrote:
> * Rodrigo Nascimento
> > For one specified user:
> >
> >
> > Create or edit the /home//.bash_profile
> >
> >
> > if the command to run to all users
> >
> >
>
On Mon, 4 Nov 2002, Chad Skinner wrote:
> Is there a way in a bash script to trim the spaces from the front and end of
> a variable
>
> I have a script that contains the following variable definition
>
>
> BLOCKED_SERVICES="tcp,111,Sun RPC;\
> udp,111,Sun RPC;\
>
On Fri, 9 Aug 2002, Paul Branston wrote:
> On Thu, Aug 08, 2002 at 11:40:32AM -0400, Michael C Tiernan wrote:
> > On Thursday 08 August 2002 08:59, Nick Lindsell said:
> > > At 14:34 08/08/2002 +0200, you wrote:
> > > > "File_21_05082002" and i would like to
> > > > extract "21" from this.
> >
On Sun, 26 May 2002, Huter.Liu wrote:
> I know the arrow key and the letter key can move cursor
> quite well,but I'm wondering why not just use arrow key?so
> I think there's now arrow key in the old keyboard and the
> old vi have *NO* choice but use letter key to move
> cursor?who can give me a
On Wed, 6 Mar 2002, Jake McHenry wrote:
> Hey everyone, I am trying to make a "FROM" script that
> basically shows the person running the script who the mail
> is from that they have. Not very complex, but I can't seem
> to get it exactly how I want it. Currently, it works fine,
> but it shows to
On Mon, 7 Jan 2002, gabriel wrote:
> i was just trying to modify some of the groups on my
> system when i discovered there were two group files.
>
> "/etc/group" and "/etc/group-"
>
> what's the deal? which one is the right one? and how
> do i consolidate them?
>
The "group-" file is a back
On Sun, 18 Feb 2001, Ashley M. Kirchner wrote:
>
> a) If I do 'ls -AQU *.mp3', the result is always sorted.
>However, if I just do 'ls -AQU' it's not sorted.
>
This little script should give you a randomized selection of
the MP3's.
-- cut --
#!/bin/bash
let m=32768 n=0
while:
do
On Sun, 18 Feb 2001, Ashley M. Kirchner wrote:
>
> a) If I do 'ls -AQU *.mp3', the result is always sorted.
>However, if I just do 'ls -AQU' it's not sorted.
>
The shell (bash?) is sorting them for you.
Type:
echo ls -AQU *.mp3
to see what the command looks like after th
On Thu, 15 Feb 2001, Jonathan Wilson wrote:
> if [ "$1" != *.src.rpm ] && [ "$1" != *.srpm ]
I didn't notice the above line in my previous post.
Unfortunatly, the file globing is expanding to multiple
arguments.
You will have to use a `case' statement or other trickery.
Maybe like this:
i
On Thu, 15 Feb 2001, Todd A. Jacobs wrote:
> On Thu, 15 Feb 2001, John H Darrah wrote:
>
> > To answer your last question, "kill 0" is equivalent to
> > "kill -15 -0".
>
> This isn't a valid command. There's no signal 0 (run "kill -
On Thu, 15 Feb 2001, Jonathan Wilson wrote:
> /root/Scripts/srpm_arch_tester.sh: [: too many arguments
> Terminated
>
>
> #!/bin/bash
> #srpm_arch_tester.sh
>
> trap 'kill 0' 0 1 2 3
>
> if [ -z $1 ]
> then
Quote your variables with double quotes like the
following:
if [ -z "$1" ]
On Wed, 14 Feb 2001, rpjday wrote:
> > >Try:
> > >trap 'kill 0' 0 1 2 3
> > >
> > >This should cleanup all the children.
>
> huh? i understand all of the above except for the "kill
> 0" command. what does it mean to say "kill 0"? what
> signal is being sent to what, exactly?
To ans
On Wed, 14 Feb 2001, rpjday wrote:
> > >
> > >Try:
> > >trap 'kill 0' 0 1 2 3
> > >
> > >This should cleanup all the children.
>
> huh? i understand all of the above except for the "kill
> 0" command. what does it mean to say "kill 0"? what
> signal is being sent to what, exactly?
S
On Mon, 12 Feb 2001, Jonathan Wilson wrote:
> At 08:25 PM 2/10/2001 -0800, you wrote:
> >
> >Try:
> >
> >trap 'kill 0' 0 1 2 3
> >
> >This should cleanup all the children.
>
> Do I then need to change "function cleanup ()" to
> "function kill 0 ()" ? Can it be two words like that? or
> i
On Sat, 10 Feb 2001, Jonathan Wilson wrote:
> I wonder if someone could help with a script I'm trying to
> write. What this script does is rebuild a src.rpm in
> every possible architecture, and report if it's successful
> or not, as well as log the output. While writing it I
> discovered that
On Fri, 9 Feb 2001, Stan Isaacs wrote:
> I teach a class in (very) beginning UNIX, using Redhat
> Linux, version 6.?. In one exercise, the book (I use
> Sobells' "Practical Guide to Linux") asks students to list
> files in a directory by size. I try to get them to use ls
> -l, and pipe it throu
On Tue, 6 Feb 2001, Gary Stiehr wrote:
> I am wondering how to obtain the /boot/module-info file
> that is installed by the RedHat kernel rpms. What is it
> used for and how is it generated?
>
> Also, what is the /boot/vmlinux-2.2.16-22 file in the
> /boot directory. Is this an uncompresses ker
On Tue, 6 Feb 2001, Andrew So Hing-pong wrote:
> Hi all,
>
> I would like to ask a question about regular expression & patten
> matching on the script writting.
>
> test.sh
> ...
> if [ $1 != "v[0-9][0-9].[0-9][0-9].[0-9][0-9]" ] ; then
>echo "Version must be vXX.XX.XX where X be a digit"
>
On Mon, 5 Feb 2001, Enrico Payne wrote:
> So, to those who value their own privacy, while on company
> time and company property (including PC's and Internet
> access), Bah. If I can reduce the risk of future exposure
> to viruses by blocking or deleting attachments that could
> contain viruses,
On Thu, 18 Jan 2001, Hal Burgiss wrote:
>
> Is the below expected behavior? or bug? Values assigned to variables
> within the loop, are not visible outside the loop. Using something
> like 'while true' works as I would expect.
>
>
> #!/bin/bash
> ## script: testing
> ## test variable visibilit
On Thu, 18 Jan 2001, Chuck Carson wrote:
>
>
> I am trying to grep for a process as follows:
>
> [root@ora3]:/usr/local/admin# ps -ef | grep ntpd
> root 24634 1 0 Jan11 ?00:40:21 /usr/local/bin/ntpd -p
> /var/log/
> root 27476 27214 0 09:25 pts/21 00:00:00 grep ntpd
>
On Sat, 16 Sep 2000, kf wrote:
>
> On Tue, 5 Sep 2000, Thomas R. Shannon wrote:
>
> = I've looked through the man page and I just can't find how to do this.
> = I'd like to start a command in a new terminal, let's say for instance:
> =
> = xterm -e ps aux | grep emacs
> =
> = and then leave t
On Thu, 31 Aug 2000, Eric Sisler wrote:
> Ok, stupid question of the day.
>
> I'm trying to find & print (dump to a file) the longest
> line in a text file. I've been able to determine the
> *length* of the longest line by using the 'wc -L' command,
> but is there any way using find or some oth
On Fri, 9 Jun 2000, Juha Saarinen wrote:
> %-> The simplest way to make them readable is
> %->
> %-> #include
> %-> main()
> %-> {
> %-> unsigned long l=htonl(3454552827);
> %-> unsigned char *s=(unsigned char *)&l;
> %-> printf("%u.%u.%u.%u\n", s[0], s[1], s[2], s[3]);
>
On Mon, 5 Jun 2000, eric clover wrote:
> ok , ill try to redirect this. i Work at an isp. every
> users at the isp gets spam from: <>. we all get the same
> spam. we get this spam around every 3 weeks.i am
> requesting a way to block someone sending a spam from: <>
> with a return address of: <>
On Fri, 26 May 2000, Juha Saarinen wrote:
> Now, now, that's a bit unfair... it's actually much easier
> to mark and delete text with Windows mailers than with
> UNIX ones, generally speaking. SHIFT-DOWN ARROW etc. will
> do it. I wish there was a similar key sequence in Pine.
> Ctrl-K sort of w
On Fri, 17 Mar 2000, Rob Saul wrote:
>
> Some Unix variants have had a shell called restricted_shell
> (usually given the helpful name rsh). I don't recall ever
> seeing a version for Linux, but a description can be found
> here: http://gsbjfb.uchicago.edu/man/man1m/rsh.html
>
The following i
On Thu, 11 Nov 1999, John Horne wrote:
> Hello,
>
> I have a small script which uses the find command to locate files and then
> does an 'ls -lAd' on them (don't ask why, it's not important). This however
> has failed nicely when it hits files with spaces in them!
>
> I have as a test:
>
>
On Fri, 3 Jul 1998, osama bin zia wrote:
> I think linux machine can act as a router but i
> am unable to find any documentation. Please if
> anybody can tell me where to get help on this
> topic.
The following is the site for the Linux Router
Project. I've set up a couple of test boxes and it
On Thu, 2 Jul 1998, Dave Ihnat wrote:
> John H Darrah wrote:
>
> > In order for users frampton and mccready to be
> > able to work within the "its" group, the have to
> > become part of the group by typing "newgrp its"
> > which makes their e
On Wed, 1 Jul 1998, Steve Frampton wrote:
>
> I've created this directory. I've created a group in /etc/group called
> "its" as follows:
>
> its:x:499:frampton,mccready
>
> I've done: 'chown frampton.its /archive2/its_share' as well as
> 'chmod a-x,ug+x frampton.its'. I've then created a sy
On Wed, 1 Jul 1998, Zoki wrote:
> On Tue, 30 Jun 1998, Slyglif Cain wrote:
>
> *** So why is it I have #!/bin/sh as the first line in any script and it
> still doesn't work? BTW, even with that line in the script, I still have
> to type sh [script] in order to run it.
>
Probably because you di
On Sun, 28 Jun 1998, Chris Frost wrote:
> I need to setup several diskless clients, but right now the server has
> several partitions (/, /usr, /usr/local, & /home fwiw). My plan (before
> finding this out) was to create /tftpboot and hard link to the respective
> directories (ie /tftpboot/usr ->
On Fri, 26 Jun 1998, Damond Walker wrote:
>
> It's described in the online help but like
> you said, not very well. One complaint I do
> have with Pine (regarding POP accounts) is that
> it first tries to use IMAP to get mail -- after
> a short pause, it times out and then tries POP3.
> I
On Thu, 25 Jun 1998, Bruce Tong wrote:
>
> I looked in his /etc/securetty file and tty1 through tty8 are listed.
>
Make sure the permissions on /etc/securetty are
600 or an "ls -l" produces:
-rw--- 1 root root 40 Sep 4 1995 /etc/securetty
--
John Darrah (u05192)| Dept: N/C Program
On Fri, 26 Jun 1998, Cui Jian wrote:
> I just migrate my web file form Windows NT to
> Linux, in NT,the file name is uppercase, now I
> need lowercase file name. How to do this. I know
> the "tr" command can to this, but I don't
> familiar with linux command. and body can help
> me ? Thanks a lot
On Thu, 25 Jun 1998, Zoki wrote:
>
> I'm trying to make the...##@@%$ cron to connect to my ISP, send mail,
> download new ones and switch off. Pritty straight forward I would think.
> Nevertheless it doesn't work. Another mistake I made was thinking this
> would be simple.
>
How about this:
-
.)
-- Forwarded message --
Date: Mon, 1 Jun 1998 20:18:19 -0400
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Problem catching TTY_OVERRUN
> Date: Mon, 1 Jun 1998 08:49:05 -0700 (PDT)
> From: John H Darrah <[EMAIL PROTECTED]>
> I have encountered a problem where read(2) do
On Fri, 22 May 1998, Michael Jinks wrote:
> John H Darrah wrote:
>
> >
> >
> > You don't say which Boca it is...
>
> Because I don't know. Like I said in my first post, this is something
> we had laying around and there's no identifying inform
On Fri, 22 May 1998, Michael Jinks wrote:
> John H Darrah wrote:
> > Symptoms?
>
> The Digi driver has been compiled into the
> kernel (no mean feat) and loads on the boot.
> The card appears properly in /proc/devices, but
> does not show up in /proc/ioports no matte
On Fri, 22 May 1998, James C. Bevier wrote:
> >
> > > "sl" == Simon Liddington <[EMAIL PROTECTED]> writes:
> >
> > sl> Can anyone think of an easy way of changing the case of the
> > sl> names of a directory tree of files?
> >
> > This comes up a lot as a question. The answer involves
On Fri, 22 May 1998, Michael Jinks wrote:
> John H Darrah wrote:
>
> > If it is an IO/AT66, it will work fine. It uses
> > the standard serial driver and has all the signals
> > to will work with modems also. I currently have in
> > use a Boca IO/AT66, BB2016 an
On Thu, 21 May 1998, Michael Jinks wrote:
> We have a six-port ISA-to-serial card which we
> got second-hand, which we think was made by Boca
> Research. Has anyone had any experience using
> one of their products on a Linux box? I notice
> that there's no mention of them in the kernel
> source
On Sun, 17 May 1998, Lai Chi Wai wrote:
> Dear all,
> Could anybody tell me how to ftp a directory
> containing subdirectories, files , etc? If it
> needs tar first, how can I tar a directory as
> above? Thanks.
>
Many servers will send you the entire directory
tree by specifying the direc
On Sun, 17 May 1998, Sahar Nitzan wrote:
> Hi
> Can I make an alias for a group, so when
> I will send e-mail to that group it will reach
> all the group members ?
>
Edit /etc/aliases and add an alias with a comma
separated list of users like the following:
biggroup: user1,user2,user3,user
On 13 May 1998, James Youngman wrote:
> >>>>> "John" == John H Darrah <[EMAIL PROTECTED]> writes:
>
> John> Does any one know if ferror returns anything on a
> John> framing, parity or overrun error? It appears that
> John> it do
Does any one know if ferror returns anything on a
framing, parity or overrun error? It appears that
it doesn't from the testing I've done.
I've looked at the serial driver (serial.c) code
and it *does* catch these errors and sets flags,
but I need to find the libc function that reads
these flag
On Mon, 11 May 1998, Zoki wrote:
> I put some aliases in /etc/bashrc as root to cut on the typing and it
> works. I did the same in /home/.bashrc as user and...it doesn't work.
> Whhha..
>
> I get an error message saying "command not found".
>
Make sure that something like the fol
On Sun, 10 May 1998, Igmar Palsenberg wrote:
> >> I want to add a directory yo a zip file, but the name of the zip file
> >> must the day before the current day.
> >>
> >> Thus, a file must be create with the following name 05-10-98.zip
> >>
>
> >zip -r $(date --date 'yesterday' '+%m-%d-%y.zip')
On Sun, 10 May 1998, Igmar Palsenberg wrote:
> I want to add a directory yo a zip file, but the name of the zip file
> must the day before the current day.
>
> Thus, a file must be create with the following name 05-10-98.zip
>
zip -r $(date --date 'yesterday' '+%m-%d-%y.zip') your_dir
I don'
On Sat, 9 May 1998, Marco Shaw wrote:
> Thanks guys,
>
> The mail line in .pinerc works great.
>
> Marco
>
>
I didn't mention that you can set the same value
by using "Setup" then "Config" from the main
screen and then scroll to the bottom and look for
the "mail-check-interval = 30" li
On Sat, 9 May 1998, Marco Shaw wrote:
> Is there some sort of config file that will allow me to tell Pine to check
> the mail directory for new messages? I use fetchmail to retreive my
> messages from another terminal window, then go to pine but the new
> messages won't appear unless I close pin
On Fri, 8 May 1998, [iso-8859-1] Linus Åkerlund wrote:
> Just a little question about BogoMips: when I boot RedHat 5.0 I get
> 299 BogoMips, and when I boot my other Linux distribution I get 400.
> Everything else in /proc/cpuinfo is identical between the two. Does
> this mean that the RedHat sys
On Fri, 8 May 1998, Randy Smith (at work) wrote:
> Hello,
> After installing redhat 5.0 on my "server" computer here,
> I found I could not logon as "root" from an ethernet port.
> After reading some docs on this, I realized that the PAM
> software was looking at /etc/securetty file and thu
On Thu, 7 May 1998, Iztok Polanic wrote:
> Hello !!!
>
> AFAIK ther's only one product for UN*X system. It's made in Mcafee labs.
>
> On Wed, 6 May 1998, Ezekiel J. Krahlin wrote:
>
> > What is available for Red Hat 5.0, in the way of antivirus programs? Thanks
> > in advance.
>
You may want
On Fri, 1 May 1998, John H Darrah wrote:
> On Thu, 16 Apr 1998, Stephen Schaefer-NCS Sr SE wrote:
>
> > The Boca 8 port card is OK for terminals and printers: it comes with 8
> > six-wire RJ-11 cables, and RJ-11 to DB-25 ends for each cable. The ends
> > are wired in a
On Thu, 16 Apr 1998, Stephen Schaefer-NCS Sr SE wrote:
> The Boca 8 port card is OK for terminals and printers: it comes with 8
> six-wire RJ-11 cables, and RJ-11 to DB-25 ends for each cable. The ends
> are wired in a somewhat odd arrangement such that RTS/CTS works fine for
> terminals and pri
On Thu, 30 Apr 1998, Serge Pluess wrote:
> Hi there
>
> just use the tar command and if size matters you can have it also compress
> it into the gzip format (if you have the GNU tar). If not then you can
> still use gzip to compress the tar file.
>
> Let's say you have a directory called "publi
On Wed, 29 Apr 1998, Keven R. Pittsinger wrote:
> On Wed, 29 Apr 1998, Drachen wrote:
>
> >
> > > ... while talking to mail.glasscity.net.:
> > > >>> MAIL From:<[EMAIL PROTECTED]>
> > > <<< 550 Domain has no MX or ANAME record
> >
> > spam trap -- [EMAIL PROTECTED] is not a valid email address
On Tue, 28 Apr 1998 [EMAIL PROTECTED] wrote:
> I'd like to use Ctrl-Home and similar control function key combinations
> in Emacs running in plain console mode (not X). Currently it appears
> that Emacs never sees the Control for these keys. That is, if I press
> Ctrl-Home it acts as if I had j
On Sun, 26 Apr 1998, Stelios Bounanos wrote:
> > Even more annoying is to get reams of this stuff
> >
> >
> > begin 600 winmail.dat
> > M>)\^(AL0`0:0"``$```!``$``0>0!@`(Y`0```#H``$(@`<`
> > M&$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`06``P`.S@<$`!@`
> [snip]
>
> Yes, what is this
On Sat, 25 Apr 1998, Braden N. McDaniel wrote:
> >
> > There is a link between the SCSI drive 0 and your cdrom device. Is this
> > where your cdrom is (I doubt it.) Link it to the appropraite device and
> > you should be good to go.
>
> How do I do this? ln /dev/scd0 /mnt/cdrom ?
Like This:
On Sat, 25 Apr 1998, Antonomasia wrote:
> >
> > I get the following error:
> >
> > bash: /etc/rmt: No such file or directory
> > tar: Cannot open ethel:/dev/st0: Input/output error
> > tar: Error is not recoverable: exiting now
> >
> > So, here again I think there must be some component that I
On Fri, 24 Apr 1998, Michael Jinks wrote:
> We are suffering from a tape drive and SCSI card shortage, and I'd like
> to make the most out of what we have. I have one Linux box with a very
> nice Mylex card onto which I have chained about four different kinds of
> tape drives, and I'd like to be
On Wed, 22 Apr 1998, Dave Wreski wrote:
>
> > > If I understand your problem correctly, and you are running a 66mhz bus at
> > > 75mhz, please don't bother to report a problem when your intentially doing
> > > something your not supposed to do.
> >
> > So would overclocking cause a I/O errors ?
On Mon, 20 Apr 1998, Marco Shaw wrote:
> I just found a useful command, 'free', here's what my computer tells me
> while I'm running Netscape 4.04:
>
> [root@marco2 /root]# free
> totalused freeshared bufferscached
>
> Mem: 3081630144 672 32984888
On Wed, 15 Apr 1998, Vidiot wrote:
> I'm interested in putting up the latest kernel. I don't mean
> the RH5.0 release. I'm currently running that. I mean the
> latest development version, 2.1.xx, or whatever it is. I've
> seen it mentioned many a time but have been unable to find a
> location
Check it out..
Andreessen Sees Mozilla-Linux Upset Of Windows
(04/02/98; 5:30 p.m. EST)
By Malcolm Maclachlan , TechWeb
http://www.techweb.com/wire/story/TWB19980402S0013
--
John Darrah (u05192)| Dept: N/C Programming
Giddens Industries Inc. |
1520 80th St SW Bld
On Tue, 24 Mar 1998, John H Darrah wrote:
>
> Does any one know of a file containing all of the known virus signatures,
> including macro (CAP) type, that is in the same or similar format as
> /usr/lib/magic. I'm thinking about adding a filter into my mail machine
> to look
Does any one know of a file containing all of the known virus signatures,
including macro (CAP) type, that is in the same or similar format as
/usr/lib/magic. I'm thinking about adding a filter into my mail machine
to look for attachments and then "virus check" them.
--
John Darrah (u05192)
On Wed, 18 Mar 1998, Barfuß Egon jun. wrote:
>
> As gateway my notebook has x.y.1.53, so all should be forwarded to the
> firewall and from there to the router. From the firewall it is no
> problem to ping to the internet.
> The standardgateway from my firewall is x.x.97.62.
>
> I tried to forw
71 matches
Mail list logo