[Bug 2167133] [NEW] command 'history -c' is not documented

Dougga 2167133 at bugs.launchpad.net
Fri Sep 11 19:35:40 UTC 2026


Public bug reported:

An error in executing the 'history' command shows that 'history -c' is a
valid command.

dougga at Pele:~$ history -h
bash: history: -h: invalid option
history: usage: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]


'history -c' is not documented in the man page

'history -c' clears the command history.

This needs to be documented and I would recommend adding a 'Are you sure
you want to do that' interruption/verification.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2167133

Title:
  command 'history -c' is not documented

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  An error in executing the 'history' command shows that 'history -c' is
  a valid command.

  dougga at Pele:~$ history -h
  bash: history: -h: invalid option
  history: usage: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]

  
  'history -c' is not documented in the man page

  'history -c' clears the command history.

  This needs to be documented and I would recommend adding a 'Are you
  sure you want to do that' interruption/verification.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2167133/+subscriptions




More information about the foundations-bugs mailing list