[Ubuntu-PH] ubuntu-ph Digest, Vol 34, Issue 3 Trash and Delete

Daniel Ortega daemons at devils.com
Thu Jan 17 01:10:33 UTC 2008


Hi dodjaye!

Try configuring an alias for "rm" so there would be file delete
confirmation, (in the old days, rm command in most linux was configured with
this alias). So next time you would at least be alerted.

[prompt] alias rm='rm -i'

by defining this alias, you are prompted before deleting  a file or
directory. you can configure your shell (in my case .bashrc file) to
ensure that every time you log in, this alias is set.

when you are absolutely certain you want to delete a file/directory use the
-f flag in  your command.

ex. rm -f filename (for file)  rm -rf directoryname

just a suggestion.

HTH,

Daniel



On Jan 15, 2008 7:49 PM, <ubuntu-ph-request at lists.ubuntu.com> wrote:

> Send ubuntu-ph mailing list submissions to
>        ubuntu-ph at lists.ubuntu.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.ubuntu.com/mailman/listinfo/ubuntu-ph
> or, via email, send a message with subject or body 'help' to
>        ubuntu-ph-request at lists.ubuntu.com
>
> You can reach the person managing the list at
>        ubuntu-ph-owner at lists.ubuntu.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ubuntu-ph digest..."
>
> Today's Topics:
>
>   1. Re:  Students rehab old computers for families in need (Aptenix)
>   2. Re:  Help : Ubuntu Recycle Bin (dodjaye macapaz)
>   3. Re:  Help : Ubuntu Recycle Bin (Re Alvarez)
>   4. Re:  Help : Ubuntu Recycle Bin (Dax Solomon Umaming)
>   5. Re:  Help : Ubuntu Recycle Bin (dodjaye macapaz)
>   6. Re:  Help : Ubuntu Recycle Bin (Gerald Timothy Quimpo)
>   7. Re:  Help : Ubuntu Recycle Bin (Re Alvarez)
>
>
> ---------- Forwarded message ----------
> From: Aptenix <cgregan at aptenix.com>
> To: ubuntu-ph at lists.ubuntu.com
> Date: Fri, 11 Jan 2008 12:42:08 -0800 (PST)
> Subject: Re: [Ubuntu-PH] Students rehab old computers for families in need
>
> Just so the group knows, since there seemed to be a fair amount of
> controversy about this post at the time, this was a Ubuntu 7.10 OEM
> install
> done by the kids. I set up a local repository mirror since the school was
> not allowing network access, and we had the kids connect, install, then
> update and customize a Gutsy desktop.
>
> The teacher (Tony Bellino) gave me a list of programs being used by the
> students in the school, and I match them to FOSS alternatives, and
> provided
> in-class guidance and a short presentation on how Stallman started the
> Free
> Software movement, GNU, GPL, How Linus got involved, The Community, and
> the
> freedoms that this movement has given these students over the software
> they
> use.
>
> They were particularly interested in the idea of taking a working piece of
> software, adding features they thought were cool, then selling that
> software
> to make millions...enough to then launch yourself into space (like
> Shuttleworth; whom I used as an example).
>
> However, the biggest upside to this effort was that there are kids with
> access to technology that they would not have access to without the
> efforts
> of the FOSS Community and men like Stallman, Shuttleworth, and Torvalds.
>
> Thanks for you time,
> Chris Gregan
> Aptenix Desktop Solutions
> New Market, MD
>
>
>
> Yolynne Medina wrote:
> >
> > An inspiring article
> > Students rehab old computers for families in need
> > http://www.gazette.net/stories/120607/frednew61530_32359.shtml
> >
> >
> > Regards,
> > yolynne
> > --
> > =======================================
> > Yolynne Medina
> > http://www.iosn.net | http://yolynne.wordpress.com
> > ym: yolynne.rm googletalk: yolynne skype: ynmedina
> > IRC nick: ulinskie server: irc.freenode.net
> > channels: #iosn #ubuntu-ph #ubuntu-women
> > "Laughter nourishes our Soul"
> > =======================================
> >
> > --
> > ubuntu-ph mailing list
> > ubuntu-ph at lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-ph
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Students-rehab-old-computers-for-families-in-need-tp14304895p14764222.html
> Sent from the ubuntu-ph mailing list archive at Nabble.com.
>
>
>
>
>
> ---------- Forwarded message ----------
> From: dodjaye macapaz <dodjaye_macapaz at yahoo.com>
> To: "Mailing List para sa Ubuntu Pilipinas \(Philippines\)" <
> ubuntu-ph at lists.ubuntu.com>
> Date: Tue, 15 Jan 2008 02:05:13 -0800 (PST)
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
> Hi,
>
> Thanks for the reply..but I am referring to a Ubuntu Server(6.06)..only
> console is available..
> I tried searching for .Trash but couldn't  find it..
>
> Thanks
>
> ----- Original Message ----
> From: Gerald Timothy Quimpo <bopolissimus.lists at gmail.com>
> To: Mailing List para sa Ubuntu Pilipinas (Philippines) <
> ubuntu-ph at lists.ubuntu.com>
> Sent: Tuesday, January 15, 2008 5:41:52 PM
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
>
> On Tue, 2008-01-15 at 01:16 -0800, dodjaye macapaz wrote:
> > Munting katanungan : May recycle bin po ba yng Ubuntu server?
>
> yes.  caveat, as in windows, files deleted via the command line
> or in programs you write don't go to the Trash bin.  The recycle
> bin will contain files which were deleted by programs that
> are recycle bin aware.  In fact I'm not clear what other programs
> are recycle bin aware since the only such program I use is
> nautilus :-).
>
> to get a trash bin on your status bar (i'm doing this in gnome,
> you can likely do something very similar in kubuntu),
>
> in the notification area (or on any panel), right click and
> select "Add to Panel".  In the Desktop and Windows section,
> there's a Trash icon.  select that and click Add.
>
> tiger
>
>
> --
> ubuntu-ph mailing list
> ubuntu-ph at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ph
>
>
> ------------------------------
> Never miss a thing. Make Yahoo your homepage.<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
>
>
> ---------- Forwarded message ----------
> From: Re Alvarez <re_alvz at yahoo.es>
> To: "Mailing List para sa Ubuntu Pilipinas (Philippines)" <
> ubuntu-ph at lists.ubuntu.com>
> Date: Tue, 15 Jan 2008 05:13:10 -0500
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
>  Trash resides in user's home directory.
>
> /home/{username}/.Trash
>
> for root user it's
> /root/.Trash
>
>
> -----Original Message-----
> *From*: dodjaye macapaz <dodjaye_macapaz at yahoo.com<dodjaye%20macapaz%20%3cdodjaye_macapaz at yahoo.com%3e>
> >
> *Reply-To*: Mailing List para sa Ubuntu Pilipinas (Philippines) <
> ubuntu-ph at lists.ubuntu.com<%22Mailing%20List%20para%20sa%20Ubuntu%20Pilipinas%20%28Philippines%29%22%20%3cubuntu-ph at lists.ubuntu.com%3e>
> >
> *To*: Mailing List para sa Ubuntu Pilipinas (Philippines) <
> ubuntu-ph at lists.ubuntu.com<%22Mailing%20List%20para%20sa%20Ubuntu%20Pilipinas%20%28Philippines%29%22%20%3cubuntu-ph at lists.ubuntu.com%3e>
> >
> *Subject*: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
> *Date*: Tue, 15 Jan 2008 02:05:13 -0800 (PST)
>
> Hi,
>
> Thanks for the reply..but I am referring to a Ubuntu Server(6.06)..only
> console is available..
> I tried searching for .Trash but couldn't  find it..
>
> Thanks
>
> ----- Original Message ----
> From: Gerald Timothy Quimpo <bopolissimus.lists at gmail.com>
> To: Mailing List para sa Ubuntu Pilipinas (Philippines) <
> ubuntu-ph at lists.ubuntu.com>
> Sent: Tuesday, January 15, 2008 5:41:52 PM
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
>
> On Tue, 2008-01-15 at 01:16 -0800, dodjaye macapaz wrote:
> > Munting katanungan : May recycle bin po ba yng Ubuntu server?
>
> yes.  caveat, as in windows, files deleted via the command line
> or in programs you write don't go to the Trash bin.  The recycle
> bin will contain files which were deleted by programs that
> are recycle bin aware.  In fact I'm not clear what other programs
> are recycle bin aware since the only such program I use is
> nautilus :-).
>
> to get a trash bin on your status bar (i'm doing this in gnome,
> you can likely do something very similar in kubuntu),
>
> in the notification area (or on any panel), right click and
> select "Add to Panel".  In the Desktop and Windows section,
> there's a Trash icon.  select that and click Add.
>
> tiger
>
>
> --
> ubuntu-ph mailing list
> ubuntu-ph at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ph
>
>
>
>
> ------------------------------
>
> Never miss a thing. Make Yahoo your homepage.<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
>
>
> ---------- Forwarded message ----------
> From: Dax Solomon Umaming <knightlust at ubuntu.com>
> To: "Mailing List para sa Ubuntu Pilipinas \(Philippines\)" <
> ubuntu-ph at lists.ubuntu.com>
> Date: Tue, 15 Jan 2008 18:20:15 +0800
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
> On Tuesday 15 January 2008 6:05:13 pm dodjaye macapaz wrote:
> > Hi,
> >
> > Thanks for the reply..but I am referring to a Ubuntu Server(6.06)..only
> > console is available.. I tried searching for .Trash but couldn't  find
> it..
> >
>
> As long as you delete a file or folder from a terminal, even from Konsole
> or
> XTerm, it's gone for good. Trash is only for GUI deletions.  But I think
> there's an app you can install which will move deleted files to a Trash
> folder. It will take over the rm command.... I just forgot its name.
>
> --
> Dax Solomon Umaming
> http://knightlust.com/
> GPG: 0x715C3547
>
>
> ---------- Forwarded message ----------
> From: dodjaye macapaz <dodjaye_macapaz at yahoo.com>
> To: "Mailing List para sa Ubuntu Pilipinas \(Philippines\)" <
> ubuntu-ph at lists.ubuntu.com>
> Date: Tue, 15 Jan 2008 02:37:07 -0800 (PST)
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
> Ok...Thanks...I'll just search for it at tanggapin nlang ang pagkawala ng
> files ko..hehe..
>
> Maraming salamat sa lahat sa mabilisang pagtugon!
>
> ----- Original Message ----
> From: Dax Solomon Umaming <knightlust at ubuntu.com>
> To: Mailing List para sa Ubuntu Pilipinas (Philippines) <
> ubuntu-ph at lists.ubuntu.com>
> Sent: Tuesday, January 15, 2008 6:20:15 PM
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
>
> On Tuesday 15 January 2008 6:05:13 pm dodjaye macapaz wrote:
> > Hi,
> >
> > Thanks for the reply..but I am referring to a Ubuntu Server(6.06)..only
> > console is available.. I tried searching for .Trash but couldn't   find
> it..
> >
>
> As long as you delete a file or folder from a terminal, even from Konsole
> or
> XTerm, it's gone for good. Trash is only for GUI deletions.  But I think
> there's an app you can install which will move deleted files to a Trash
> folder. It will take over the rm command.... I just forgot its name.
>
> --
> Dax Solomon Umaming
> http://knightlust.com/
> GPG: 0x715C3547
>
>
> ------------------------------
> Never miss a thing. Make Yahoo your homepage.<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
>
>
> ---------- Forwarded message ----------
> From: Gerald Timothy Quimpo <bopolissimus.lists at gmail.com>
> To: "Mailing List para sa Ubuntu Pilipinas (Philippines)" <
> ubuntu-ph at lists.ubuntu.com>
> Date: Tue, 15 Jan 2008 18:54:35 +0800
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
> On Tue, 2008-01-15 at 02:05 -0800, dodjaye macapaz wrote:
> > Thanks for the reply..but I am referring to a Ubuntu
> > Server(6.06)..only console is available..
> > I tried searching for .Trash but couldn't  find it..
>
> OK.  re_alvz has already pointed you at where the file
> would be.  Note, again, that .Trash is only used by
> .Trash aware programs.  I don't know of ANY command line
> programs that are .Trash aware, and even with graphical
> programs, the only one that I know is .Trash aware is
> nautilus.
>
> If you're running Server and all you've got is a console
> then it's likely that you really don't have .Trash folders.
> What are you trying to find?  did you delete something and
> now you're trying to recover it by looking for it in
> the recycle bin?  if yes, how did you delete the file(s)?
>
> tiger
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Re Alvarez <re_alvz at yahoo.es>
> To: "Mailing List para sa Ubuntu Pilipinas (Philippines)" <
> ubuntu-ph at lists.ubuntu.com>
> Date: Tue, 15 Jan 2008 06:49:15 -0500
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
>  sudo apt-get libtrash
> LIBTRASH A trash can library to use with LD_PRELOAD
> libtrash is a shared library which, when preloaded,
> implements a trash can under GNU/Linux. This way, your
> mistakes (at least those of the "rm -rf dir /" class :-))
> will no longer cause the loss of a week's work or your
> system's binaries.
>
>
> -----Original Message-----
> *From*: dodjaye macapaz <dodjaye_macapaz at yahoo.com<dodjaye%20macapaz%20%3cdodjaye_macapaz at yahoo.com%3e>
> >
> *Reply-To*: Mailing List para sa Ubuntu Pilipinas (Philippines) <
> ubuntu-ph at lists.ubuntu.com<%22Mailing%20List%20para%20sa%20Ubuntu%20Pilipinas%20%28Philippines%29%22%20%3cubuntu-ph at lists.ubuntu.com%3e>
> >
> *To*: Mailing List para sa Ubuntu Pilipinas (Philippines) <
> ubuntu-ph at lists.ubuntu.com<%22Mailing%20List%20para%20sa%20Ubuntu%20Pilipinas%20%28Philippines%29%22%20%3cubuntu-ph at lists.ubuntu.com%3e>
> >
> *Subject*: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
> *Date*: Tue, 15 Jan 2008 02:37:07 -0800 (PST)
>
> Ok...Thanks...I'll just search for it at tanggapin nlang ang pagkawala ng
> files ko..hehe..
>
> Maraming salamat sa lahat sa mabilisang pagtugon!
>
> ----- Original Message ----
> From: Dax Solomon Umaming <knightlust at ubuntu.com>
> To: Mailing List para sa Ubuntu Pilipinas (Philippines) <
> ubuntu-ph at lists.ubuntu.com>
> Sent: Tuesday, January 15, 2008 6:20:15 PM
> Subject: Re: [Ubuntu-PH] Help : Ubuntu Recycle Bin
>
> On Tuesday 15 January 2008 6:05:13 pm dodjaye macapaz wrote:
> > Hi,
> >
> > Thanks for the reply..but I am referring to a Ubuntu Server(6.06)..only
> > console is available.. I tried searching for .Trash but couldn't   find
> it..
> >
>
> As long as you delete a file or folder from a terminal, even from Konsole
> or
> XTerm, it's gone for good. Trash is only for GUI deletions.  But I think
> there's an app you can install which will move deleted files to a Trash
> folder. It will take over the rm command.... I just forgot its name.
>
> --
> Dax Solomon Umaming
> http://knightlust.com/
> GPG: 0x715C3547
>
>
>
>
> ------------------------------
>
> Never miss a thing. Make Yahoo your homepage.<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
>
> --
> ubuntu-ph mailing list
> ubuntu-ph at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ph
>
>


-- 
Registered Linux User# 459081
Linux machine registration number# 369005.

Linux users please register and be counted!

http://counter.li.org

Key ID # CA53B229
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-ph/attachments/20080117/04daa131/attachment.html>


More information about the ubuntu-ph mailing list