« Return to Thread: tmpwatch problem

Aliasing (was Re: tmpwatch problem)

by Anne Wilson-5 :: Rate this Message:

Reply to Author | View in Thread

On Wednesday 17 June 2009 20:03:34 Dick Gevers wrote:

> On Wed, 17 Jun 2009 12:58:42 +0100, Anne Wilson wrote about Re: [Expert]
>
> tmpwatch problem:
> >On Wednesday 17 June 2009 12:43:00 Thomas Backlund wrote:
> >> Anne Wilson skrev:
> >> > For some reason I can't get tmpwatch to run on this laptop - it used
> >> > to.
> >> >
> >> > usr/sbin/tmpwatch --mtime --verbose 168 /home/anne/.tmp
> >>
> >> Is this a typo, or did you forget the initial /
> >
> >Hmm - you know how you see what you expect to see?  Sorry for the wasted
> >bandwidth.  I should have spotted that.  It does run now and has cleaned
> >up quite a large number of files.  Thanks
>
> If you'd set an alias in ~/.bashrc, you'd hardly be able to mistype it,
> even if it's gone from history.
>
> For example:
>
> alias broom='/usr/sbin/tmpwatch --mtime --verbose 168 /home/anne/.tmp'
>
Can that be done to add parameters?  I mean, for instance, on the F10 netbook,
I would like to alias 'yum update' to 'yum update --skip-broken'.

Anne
--
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


signature.asc (204 bytes) Download Attachment

 « Return to Thread: tmpwatch problem