Linux Command "Rm - ICP DAS USA ALX-9000 Series User Manual

Table of Contents

Advertisement

3.1.4. Linux Command "rm"

rm: delete file or directory -> (like del or deltree in DOS)
rm -parameter file (or directory)
Parameter:
(1) i: it will show the warning message when deleting
root@icpdas:/tmp#
rm: remove regular file 'test.log'? y
root@icpdas:/tmp#
(2) r: delete directory despite that it isn't empty
root@icpdas:/tmp#
root@icpdas:/tmp#
(3) f: it will not show a warning message when deleting (Example: rm -f test.exe)
root@icpdas:/tmp#
root@icpdas:/tmp#
ALX-9000 (Linux based PAC) User Manual
Copyright © 2024 ICP DAS Co., Ltd. All Rights Reserved.
rm -i test.log
rm -r mytest/
rm -f test.log
version 1.0.0
E-mail: service@icpdas.com
Page: 47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Alx-9191Alx-9391Alx-9791

Table of Contents