[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Temporary history file not being removed from home directory
From: |
Dmytro Bagrii |
Subject: |
Temporary history file not being removed from home directory |
Date: |
Sat, 7 Sep 2024 13:04:16 +0300 |
User-agent: |
Mozilla Thunderbird |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt
-fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat
-Werror=format-security -fstack-clash-protection -fcf-protection
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g
-ffile-prefix-map=/build/bash/src=/usr/src/debug/bash -flto=auto
-DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin'
-DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash.bashrc'
-DSYS_BASH_LOGOUT='/etc/bash.bash_logout' -DNON_INTERACTIVE_LOGIN_SHELLS
uname output: Linux dimich 6.10.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 04
Sep 2024 15:16:37 +0000 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.2
Patch Level: 32
Release Status: release
Description:
Sometimes .bash_history-XXXXX.tmp file remains present in $HOME directory.
Both ~/.bash_history and ~.bash_history-XXXXX.tmp are 65536 lines long,
as specified by $HISTFILESIZE.
~/.bash_history-XXXXX.tmp contain older commands and doesn't contain
more recent commands, as expected.
After manual removal of ~/.bash_history-XXXXX.tmp after some time new
tmp file emerges.
Related environment variables:
HISTCONTROL=ignoredups:ignorespace:erasedups
HISTFILE=/home/dimich/.bash_history
HISTFILESIZE=65536
HISTSIZE=65536
Related shell options:
cmdhist on
histappend on
histreedit off
histverify off
lithist off
Repeat-By: regular bash usage.
--
With best regards,
Dmytro Bagrii
- Temporary history file not being removed from home directory,
Dmytro Bagrii <=