---
layout: doc
title: filesystem / rm
---
# rm

### NAME

    rm() - remove a file

### SYNOPSIS

    int rm( string file );

### DESCRIPTION

    Remove file 'file'. Returns 0 for failure and 1 for success.

### SEE ALSO

    mkdir(3), rmdir(3), link(3)

