Allied-telesis AlliedWare Plus Operating System Version 5.4.4C (x Uživatelský manuál Strana 174

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 222
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 173
File Management Commands
Software Reference for x310 Series Switches
7.28 AlliedWare Plus
TM
Operating System - Version 5.4.4C C613-50046-01 REV A
rmdir
This command removes a directory. The directory must be empty for the command to
work unless the optional force keyword is used to remove all subdirectories or files in a
directory.
Syntax rmdir [force] <url>
Mode
Privileged Exec
Usage In a stacked environment you can use the CLI on a stack master to access filesystems that
are located on another stack member. Refer to the URL Syntax and Keyword Usage.
Examples To remove the directory images from the top level of the Flash filesystem, use the
command:
To force the removal of directory level1 containing subdirectory level2, use the
command:
To remove a directory called test from the top level of the Flash filesystem, in stack
member 3, use the command:
Note that you must specify the filesystem, (“flash:” in this example).
Related Commands cd
dir
mkdir
pwd
Parameter Description
force Optional keyword that allows you to delete any directories
that are not empty and may contain files or subdirectories.
<url> The URL of the directory.
awplus#
rmdir flash:/images
awplus#
mkdir level1
awplus#
mkdir level1/level2
awplus#
rmdir force level1
awplus#
rmdir awplus-3/flash:/test
Zobrazit stránku 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 221 222

Komentáře k této Příručce

Žádné komentáře