Neeraj Manral wrote:

> Hi
> How do i change the command to make it user friendly .I usually run a
> command to delete all files which are older than 30 days .The command is
> quite lengthy can i change it to some thing that is just say small .Because
> its difficult for othres to use it ..and remember it ..
> I think i have read somewhere of this sort in unix .But i am not remembering
> it .Any clue would be appriciated ..
>
> Regards
> raj ...
>

Put it in the /etc/profile script file, if you want it for
all users

or

in $(HOME)/.bashrc, if you want it for one user.

It will be executed everytime you loggin.
------------------------------------------

And if you don't want to execute everytime you loggin,
then save the command in a file.

Change the perms of this file to user executable.

And run ./filename everytime you want to clean your stuffs.
-------------------------------------------

Regards,
-Naba



----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to