Results 1 to 2 of 2

Thread: date date format in command history

  1. #1
    Join Date

    date format in command history


    I am working on a Kali Linux 2022.4 64 bit VM

    in root,
    if I add in the /etc/bash.bashrc file the line:
    export HISTTIMEFORMAT='%x %T '
    use it,
    if I likewise add this line in the file:

    no date appears after a:

    It works on Debian;
    Why doesn't it work here in Kali Linux?

    Last edited by Capitob; 2023-03-09 at 14:13.

  2. #2
    Join Date
    because if you want to use that file location, home/user/.bashrc you need to add it to your $PATH
    clearly Debian adds it, and and Kali doesn't

Similar Threads

  1. Problems With Wi-Fi and Date & Time
    By eddie@kali in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-05-10, 13:23
  2. Replies: 0
    Last Post: 2021-04-02, 03:04
  3. Date and time
    By martinii in forum ARM Archive
    Replies: 1
    Last Post: 2017-02-03, 20:38
  4. Date --set command not working
    By x-corpion in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2016-05-30, 02:52
  5. How to get date and time displayed for each command
    By JKAD in forum General Archive
    Replies: 3
    Last Post: 2014-06-19, 04:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts