HOME » Documents » KUSANAGI 9 Commands » remove

remove

remove

Deletes KUSANAGI profiles.
This command can also be used to delete configuration files, DocumentRoot contents, and databases belonging to the profile.

Example

kusanagi remove
kusanagi remove -y kusanagi_html

Options

Non-interactive

[-y]

If "-y" is not specified, enter "y/n" interactively to delete the configuration file, DocumentRoot, and database.
If "-y" is specified, and not "y/n", everything will be deleted.

Profile Name

[profile]

Default: The current directory profile

If "profile" is specified, the specified profile will be deleted.
However, if the current directory is not a profile, an error will occur.

Output

# kusanagi remove kusanagi_html
remove configuration files for profile? [y/n] y
remove contents in /home/kusanagi/profile? [y/n] y
remove database for profile? [y/n] y
reload completed.
remove completed.