• HOME
  • TECH BLOG
  • MIGRATING TO AMAZON WEB SERVICES
  • IT PROJECT MANAGEMENT BLOG
  • Q&A
  • INTERACTIVE LEARNING
Pop-up Preset:








DELETE A FILE



HERE IS THE COMMAND TO DELETE A FILE



​



RM



$ rm



The rm command is used to delete a file.
in this example we are deleting the file called special.
we use rm followed by the path of the file which is in:
/root/forexample.
the complete command looks like this:
rm /root/forexample/special
after running ls again the file called special has been deleted.
all we are left are 2 files called boating and playtime.



CERTIFIED CLOUD EXPERTS | AWS PARTNER NETWORK
CLOUD CONSULTING FIRM | (516) 387-2085 | CONTACT US