Adding an alias to .cshrc

Glen Barber glen.j.barber at gmail.com
Wed Dec 30 00:56:42 UTC 2009


Hi Steve

On Tue, Dec 29, 2009 at 7:50 PM, Steve Bertrand <steve at ibctech.ca> wrote:
> Hi all, happy holidays!
>
> I want to add an alias to my .cshrc file:
>
> alias srm   find . -name "*~" | xargs rm
>

Try enclosing it in quotes, such as:

   alias srm "find . -name \"*~\" | xargs rm"


Regards,

-- 
Glen Barber


More information about the freebsd-questions mailing list