baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: James Miller <jamtat AT mailsnare.net>
- To: baslinux AT lists.ibiblio.org
- Subject: [BL] helpful alias for newbies
- Date: Wed, 15 Oct 2003 09:34:58 -0500 (CDT)
Reading over an article on filesystem checking, I ran across what looks
like a really helpful alias for a much used Linux system command - rm. It
links rm to rm -i , which asks the user for confirmation before deleting
any file with the rm command. To set up the alias on your system do
-----------------
alias rm='rm -i'
-----------------
After you do this, any time you issue "rm fileuwannadelete.txt" you get a
response from the system "rm: remove 'fileuwannadelete.txt'?" Press
"n" or "y" keys accordingly.
James
-
[BL] helpful alias for newbies,
James Miller, 10/15/2003
- Re: [BL] helpful alias for newbies, James Miller, 10/15/2003
Archive powered by MHonArc 2.6.24.