Command name: RM
Function: Delete a file or directory
eg
[Email protected]6380-mt:~/workspace$lsBM3 GF k8s minicom_download minicom_upload python Share.txt Small_toolsdocker-engine_1.12.6-0~ubuntu-xenial_amd64.deb Go kubernetes installation tutorial. txt minicom.log pro_test Share (2). txt Shell_pro Xml Tools2.4.9.2x86 Unicode.Zip[email protected]-hp-compaq-pro-6380-mt:~/workspace$ [email protected]-hp-compaq-pro-6380-mt:~/workspace$ [email protected]-hp-compaq-pro-6380-mt:~/workspace$RMminicom.log [email protected]-hp-compaq-pro-6380-mt:~/workspace$lsBM3 GF k8s minicom_download pro_test Share (2). txt Shell_pro Xml Tools2.4.9.2x86 Unicode.ZipDocker-engine_1.12.6-0~ubuntu-xenial_amd64.deb Go kubernetes installation tutorial. txt minicom_upload python share.txt small_tools[email protected]-hp-compaq-pro-6380-mt:~/workspace$
If you are deleting a directory, add the-r parameter, Rm-r dir_name
Linux File System command RM