codedamn

Remove - rm

Created by Codedamn about a year ago

0

No description provided

3 Comments

    0

    what is difference between -r and -rf?

    @exx

    Alvin Acosta

    @exx

    0

    "Does not prompt before removing a write-protected file. Does not display an error message or return error status if a specified file does not exist. If both the -f and -i flags are specified, the last one specified takes affect." -Taken from ibm docs Well to simplify it wont give u a prompt when deleting important file Ex: rm -rf .git U can take the -f as force for simplicity

    @harisht

    Thotakura Harish

    @harisht

    0

    rm file_name (removes file) rm -r folder_name (recursively first deletes all files under the folder and then the folder itself)

    @saksham1005

    Saksham Prajapati

    @saksham1005

Your comment