- Forums
- Linux
- How To Remove Directory In Linux
Today We Will Show You How To Delete Or Remove A Directory In A Linux System Server Or Computer Using A Shell Console Terminal Command [3247], Last Updated: Mon Jun 24, 2024
Webune
Mon Oct 12, 2009
1 Comments
993 Visits
welcome to Webune forums, today we are going to show you how to remove a directory in linux
to remove a directory in the shell console terminal send this command
rmdir
lets say i have a directory i dont need no more and its called oldfiles, this is how i would delete it
rmdir /home/user1/oldfiles
thats it
RMDIR(1) User Commands RMDIR(1) NAME rmdir - remove empty directories SYNOPSIS rmdir [OPTION]... DIRECTORY... DESCRIPTION Remove the DIRECTORY(ies), if they are empty. --ignore-fail-on-non-empty ignore each failure that is solely because a directory is non-empty -p, --parents Remove DIRECTORY and its ancestors. E.g., ârmdir -p a/b/câ is similar to ârmdir a/b/c a/b aâ. -v, --verbose output a diagnostic for every directory processed --help display this help and exit --version output version information and exit AUTHOR Written by David MacKenzie. REPORTING BUGS Report bugs to <[email protected]>. COPYRIGHT Copyright Ã�© 2006 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. SEE ALSO The full documentation for rmdir is maintained as a Texinfo manual. If the info and rmdir programs are properly installed at your site, the command info rmdir should give you access to the complete manual. rmdir 5.97 January 2009 RMDIR(1)https://www.webune.com/forums/how-to-remove-directory-in-linux.html