Cn - Free Software Directory

Free Software Foundation!

Join now


From Free Software Directory
Revision as of 09:18, 12 April 2011 by WikiSysop (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation,

'cn' is a counterpart for rm, which moves files into the trashcan. It is meant to be used instead of rm, such that one's fingers get into "good habits", and thus avoid accidentally rm-ing the wrong thing. 'cn' will confirm once, by default (even for directories), but can be made silent. It attempts to autodetect the location of the trash if KDE/GNOME are running. It can also handles perverse cases, such as trashing a file which is already in the trash, or deleting multiple files with the same name.


Download version 1.21 (stable)
released on 29 June 2008


Related Projects


LicenseVerified byVerified onNotes
GPLv3orlaterDeborah Nicholson7 July 2008

Leaders and contributors

Richard Neill Maintainer

Resources and communication

Audience Resource type URI
Bug Tracking,Developer,Help,Support E-mail

Software prerequisites

Kind Description
Required to use ps
Required to use mv
Required to use bash
Required to use grep

This entry (in part or in whole) was last reviewed on 21 January 2017.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.

Personal tools