---
title: "Linux系统下使用命令删除文件和文件夹"
author: "touch_123"
date: "2012-08-01T21:25:48Z"
tags: []
categories: ["操作系统"]
slug: "linux"
draft: false
lastmod: "2012-08-01T21:25:48Z"
id: 1616470
url: "https://touch-123.iteye.com/blog/1616470"
---

删除文件：

       rm  aaa                   aaa代表文件名或者文件绝对路径

  删除文件夹：

      rm  -r  aaa                   aaa代表文件夹名或者文件夹绝对路径