hty delete
Remove the session record from the server and delete the log file from disk. If the session is still running, hty kills it first.
Reference
hty delete [SESSION]
Permanently remove a session. If the child process is still running
it's terminated first; the session's log file and by-name symlink
are then unlinked from disk. After delete, the session's name is
free to reuse.
If SESSION is omitted and exactly one session is live, that one
is deleted.
Example
hty delete my-sessionDeletion is permanent. Once you run hty delete, the log file is gone and cannot be recovered. Run hty logs or hty replay first if you want to review the session before removing it.
Last updated on