From: Richard Adams <pa3gcu@zeelandnet.nl>
To: "Ulrich Fürst" <heimwill@compuserve.de>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Do not delete files by mistake (was Re: retrieval)
Date: Mon, 3 Jan 2005 07:33:09 +0100 [thread overview]
Message-ID: <200501030733.09945.pa3gcu@zeelandnet.nl> (raw)
In-Reply-To: <20050102093240.1675fba2@sarge>
On Sunday 02 January 2005 09:32, Ulrich Fürst wrote:
> joy merwin monteiro <joy.merwin@gmail.com> wrote:
> > its really a trivial thing..... just alias rm to rm -i in your
> > .bashrc
>
> or you can put the following into your .bashrc
> alias rm='mv --target-directory=/root/Desktop/Trash $1 '
I dont have the origanal message anymore to check, but i thought the thread
was about a "user" deleting files, if that is correct then the above will not
work as a normal user cannot write to /root (s) directory.
It is a good idea to do the same for root and users tho'.
On another note many distro's dont have a trash directory, so the need to
create one arises as well.
> Ulrich
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
--
If the Linux community is a bunch of thieves because they
try to imitate windows programs, then the Windows community
is built on organized crime.
Regards Richard
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2005-01-03 6:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-31 4:55 retrieval Ankit Jain
2004-12-31 5:06 ` retrieval Amit Dang
2005-01-07 8:58 ` retrieval Ankit Jain
2005-01-07 14:13 ` retrieval chuck gelm
2005-01-01 6:06 ` retrieval Peter
2005-01-01 13:59 ` retrieval Ohadi, Hamid
2005-01-02 8:01 ` retrieval joy merwin monteiro
2005-01-02 8:32 ` Do not delete files by mistake (was Re: retrieval) Ulrich Fürst
2005-01-03 6:33 ` Richard Adams [this message]
2005-01-03 18:14 ` Ulrich Fürst
2005-01-04 17:53 ` 'ssh' uses port 20 only? chuck gelm
2005-01-04 18:53 ` Ray Olszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200501030733.09945.pa3gcu@zeelandnet.nl \
--to=pa3gcu@zeelandnet.nl \
--cc=heimwill@compuserve.de \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox