history
Verified for current stable LTS
History Command: Clear Command History List
Use for clear command history list with History. Exact CLI syntax to clear command history list using History.
When to use this: Use for clear command history list with History.
Command Syntax
history -c history -c Command Breakdown
-c- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to clear command history list using History.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
History Command: Add Command To History
history -s <command> History Command: Add Command To History Without Running history -s <command> History Command: Clear Command History history -c History Command: Delete History Entry history -d <offset> History Command: Delete History Entry Specific Offset history -d <offset>