/home/user folder crowded with .bash_history-xxxxx.tmp

Well, it is all in the title…

My ~/ repertory is filled with .bash_history-xxxxx.tmp I’m assuming that is not the expected behavior…? Or is it?

~/
$ ls -la ~/
total 11452
drwx------ 1 lmm  lmm      10116  7 mars  17:39 .
drwxr-xr-x 1 root root         6 21 juil.  2021 ..
drwxr-x--- 1 lmm  lmm         48 31 juil.  2021 .android
-rw------- 1 lmm  lmm      14194  7 mars  17:39 .bash_history
-rw------- 1 lmm  lmm          0  7 mars  13:21 .bash_history-01584.tmp
-rw------- 1 lmm  lmm      17705 16 févr. 12:02 .bash_history-02250.tmp
-rw------- 1 lmm  lmm          0 16 févr. 12:02 .bash_history-02272.tmp
-rw------- 1 lmm  lmm          0 18 déc.  16:53 .bash_history-02275.tmp
-rw------- 1 lmm  lmm          0 27 févr. 13:53 .bash_history-02278.tmp
-rw------- 1 lmm  lmm          0 10 janv. 13:08 .bash_history-02279.tmp
-rw------- 1 lmm  lmm          0 19 déc.  05:42 .bash_history-02288.tmp
-rw------- 1 lmm  lmm          0  8 janv. 01:47 .bash_history-02296.tmp
-rw------- 1 lmm  lmm          0  5 févr. 23:21 .bash_history-02308.tmp
-rw------- 1 lmm  lmm          0 13 févr. 12:54 .bash_history-02364.tmp
-rw------- 1 lmm  lmm          0  6 févr. 17:22 .bash_history-02382.tmp
-rw------- 1 lmm  lmm          0  8 janv. 01:46 .bash_history-02393.tmp
-rw------- 1 lmm  lmm          0 28 janv. 14:03 .bash_history-02396.tmp
-rw------- 1 lmm  lmm          0  1 mars  13:33 .bash_history-02417.tmp
-rw------- 1 lmm  lmm          0  5 févr. 00:45 .bash_history-02422.tmp
-rw------- 1 lmm  lmm          0  5 févr. 23:21 .bash_history-02424.tmp
-rw------- 1 lmm  lmm          0 13 févr. 12:54 .bash_history-02440.tmp
-rw------- 1 lmm  lmm          0 16 févr. 12:02 .bash_history-02444.tmp
-rw------- 1 lmm  lmm          0 27 févr. 13:53 .bash_history-02450.tmp
-rw------- 1 lmm  lmm      13610  8 déc.  18:44 .bash_history-02533.tmp
-rw------- 1 lmm  lmm          0  5 févr. 00:32 .bash_history-02534.tmp
-rw------- 1 lmm  lmm          0 12 févr. 18:04 .bash_history-02543.tmp
-rw------- 1 lmm  lmm          0 18 déc.  00:01 .bash_history-02630.tmp
-rw------- 1 lmm  lmm      13900  8 déc.  20:17 .bash_history-02645.tmp
-rw------- 1 lmm  lmm          0  8 déc.  19:22 .bash_history-02653.tmp
-rw------- 1 lmm  lmm          0  8 déc.  20:15 .bash_history-02668.tmp
-rw------- 1 lmm  lmm      14190 13 janv. 20:04 .bash_history-02703.tmp
-rw------- 1 lmm  lmm          0  5 févr. 00:00 .bash_history-02715.tmp
-rw------- 1 lmm  lmm          0 26 janv. 20:06 .bash_history-02731.tmp
-rw------- 1 lmm  lmm          0  8 déc.  17:00 .bash_history-02790.tmp
-rw------- 1 lmm  lmm          0  8 déc.  20:50 .bash_history-02824.tmp
-rw------- 1 lmm  lmm          0 26 nov.  15:59 .bash_history-02931.tmp
-rw------- 1 lmm  lmm          0 11 févr. 12:30 .bash_history-02937.tmp
-rw------- 1 lmm  lmm          0 26 nov.  22:58 .bash_history-03067.tmp
-rw------- 1 lmm  lmm          0 11 janv. 14:06 .bash_history-03089.tmp
-rw------- 1 lmm  lmm      13572 26 nov.  23:05 .bash_history-03150.tmp
-rw------- 1 lmm  lmm          0  5 janv. 04:04 .bash_history-03317.tmp
-rw------- 1 lmm  lmm          0  4 janv. 23:12 .bash_history-03361.tmp
-rw------- 1 lmm  lmm          0 13 janv. 20:18 .bash_history-03394.tmp
-rw------- 1 lmm  lmm          0 26 nov.  15:42 .bash_history-03413.tmp
-rw------- 1 lmm  lmm          0  5 janv. 04:04 .bash_history-03425.tmp
-rw------- 1 lmm  lmm          0 11 janv. 14:21 .bash_history-03517.tmp
-rw------- 1 lmm  lmm          0  9 févr. 13:48 .bash_history-03530.tmp
-rw------- 1 lmm  lmm      13996  8 déc.  20:46 .bash_history-03541.tmp
-rw------- 1 lmm  lmm          0 28 janv. 19:42 .bash_history-03561.tmp
-rw------- 1 lmm  lmm      13359  6 janv. 16:07 .bash_history-03584.tmp
-rw------- 1 lmm  lmm          0 10 févr. 20:28 .bash_history-03599.tmp
-rw------- 1 lmm  lmm          0 11 janv. 13:01 .bash_history-03631.tmp
-rw------- 1 lmm  lmm          0 26 nov.  16:04 .bash_history-03632.tmp
-rw------- 1 lmm  lmm          0 11 janv. 13:01 .bash_history-03662.tmp
-rw------- 1 lmm  lmm          0  3 mars  21:01 .bash_history-03674.tmp
-rw------- 1 lmm  lmm          0 12 févr. 18:08 .bash_history-03690.tmp
-rw------- 1 lmm  lmm      15275  3 mars  21:01 .bash_history-03700.tmp
-rw------- 1 lmm  lmm          0 28 janv. 00:56 .bash_history-03831.tmp
-rw------- 1 lmm  lmm          0  4 mars  00:49 .bash_history-03846.tmp
-rw------- 1 lmm  lmm          0 26 nov.  16:06 .bash_history-03944.tmp
-rw------- 1 lmm  lmm          0 28 janv. 10:59 .bash_history-03981.tmp
-rw------- 1 lmm  lmm          0  5 févr. 10:00 .bash_history-04011.tmp
-rw------- 1 lmm  lmm          0 10 janv. 15:20 .bash_history-04156.tmp
-rw------- 1 lmm  lmm          0 10 janv. 15:20 .bash_history-04217.tmp
-rw------- 1 lmm  lmm          0  4 mars  00:49 .bash_history-04383.tmp
-rw------- 1 lmm  lmm          0 28 janv. 12:52 .bash_history-04401.tmp
-rw------- 1 lmm  lmm          0  3 mars  13:40 .bash_history-04402.tmp
-rw------- 1 lmm  lmm          0 28 janv. 11:07 .bash_history-04406.tmp
-rw------- 1 lmm  lmm      14922  3 mars  22:45 .bash_history-04454.tmp
-rw------- 1 lmm  lmm          0  5 mars  18:30 .bash_history-04501.tmp
-rw------- 1 lmm  lmm          0 28 janv. 14:52 .bash_history-04628.tmp
-rw------- 1 lmm  lmm          0 28 déc.  16:54 .bash_history-04635.tmp
-rw------- 1 lmm  lmm      17893 12 févr. 13:22 .bash_history-04757.tmp
-rw------- 1 lmm  lmm          0 28 janv. 11:17 .bash_history-04893.tmp
-rw------- 1 lmm  lmm          0  6 févr. 22:22 .bash_history-05117.tmp
-rw------- 1 lmm  lmm          0 27 nov.  10:45 .bash_history-05206.tmp
-rw------- 1 lmm  lmm          0 26 janv. 19:16 .bash_history-05272.tmp
-rw------- 1 lmm  lmm          0 18 janv. 14:57 .bash_history-05413.tmp
-rw------- 1 lmm  lmm          0  8 déc.  16:03 .bash_history-05422.tmp
-rw------- 1 lmm  lmm          0  8 déc.  18:48 .bash_history-05441.tmp
-rw------- 1 lmm  lmm          0 28 janv. 12:05 .bash_history-05510.tmp
-rw------- 1 lmm  lmm          0  8 déc.  18:50 .bash_history-05519.tmp
-rw------- 1 lmm  lmm          0 28 janv. 12:05 .bash_history-05633.tmp
-rw------- 1 lmm  lmm      17932 12 févr. 13:22 .bash_history-05650.tmp
-rw------- 1 lmm  lmm          0 26 janv. 19:28 .bash_history-05654.tmp
-rw------- 1 lmm  lmm          0 20 janv. 15:25 .bash_history-05658.tmp
-rw------- 1 lmm  lmm          0  3 mars  19:42 .bash_history-05757.tmp
-rw------- 1 lmm  lmm          0  7 déc.  20:52 .bash_history-05788.tmp
-rw------- 1 lmm  lmm          0 26 janv. 20:00 .bash_history-05871.tmp
-rw------- 1 lmm  lmm          0 13 janv. 20:30 .bash_history-05969.tmp
-rw------- 1 lmm  lmm          0  3 mars  21:15 .bash_history-05999.tmp
-rw------- 1 lmm  lmm          0 13 janv. 20:30 .bash_history-06183.tmp
-rw------- 1 lmm  lmm      14147 18 déc.  00:01 .bash_history-06212.tmp
-rw------- 1 lmm  lmm      13288 26 janv. 20:01 .bash_history-06262.tmp
-rw------- 1 lmm  lmm          0 12 févr. 13:22 .bash_history-06272.tmp
-rw------- 1 lmm  lmm          0 20 janv. 15:00 .bash_history-06419.tmp
-rw------- 1 lmm  lmm          0  5 févr. 00:01 .bash_history-06432.tmp
-rw------- 1 lmm  lmm          0 28 févr. 10:32 .bash_history-06473.tmp
-rw------- 1 lmm  lmm          0 11 févr. 12:26 .bash_history-06497.tmp
-rw------- 1 lmm  lmm          0 16 janv. 21:25 .bash_history-06748.tmp
-rw------- 1 lmm  lmm          0  4 mars  00:51 .bash_history-06908.tmp
-rw------- 1 lmm  lmm          0  5 mars  18:30 .bash_history-06910.tmp
-rw------- 1 lmm  lmm      14037  5 mars  18:30 .bash_history-06945.tmp
-rw------- 1 lmm  lmm          0 12 févr. 13:21 .bash_history-06973.tmp
-rw------- 1 lmm  lmm          0 28 janv. 20:22 .bash_history-07090.tmp
-rw------- 1 lmm  lmm          0 12 févr. 12:58 .bash_history-07168.tmp
-rw------- 1 lmm  lmm      17372 28 févr. 10:32 .bash_history-07274.tmp
-rw------- 1 lmm  lmm          0 28 févr. 10:32 .bash_history-07296.tmp
-rw------- 1 lmm  lmm      13481  6 janv. 16:07 .bash_history-07672.tmp
-rw------- 1 lmm  lmm          0 12 févr. 13:21 .bash_history-07677.tmp
-rw------- 1 lmm  lmm      14931  3 mars  22:45 .bash_history-07783.tmp
-rw------- 1 lmm  lmm      18114  6 févr. 17:30 .bash_history-07812.tmp
-rw------- 1 lmm  lmm          0  3 mars  21:31 .bash_history-08019.tmp
-rw------- 1 lmm  lmm          0 13 févr. 12:22 .bash_history-08084.tmp
-rw------- 1 lmm  lmm          0  3 mars  22:45 .bash_history-08100.tmp
-rw------- 1 lmm  lmm          0 28 janv. 15:37 .bash_history-08280.tmp
-rw------- 1 lmm  lmm          0 13 janv. 20:04 .bash_history-08336.tmp
-rw------- 1 lmm  lmm          0  9 févr. 11:54 .bash_history-08342.tmp
-rw------- 1 lmm  lmm          0 13 déc.  00:31 .bash_history-08686.tmp
-rw------- 1 lmm  lmm          0  6 févr. 12:14 .bash_history-09167.tmp
-rw------- 1 lmm  lmm          0 11 févr. 19:39 .bash_history-09231.tmp
-rw------- 1 lmm  lmm          0 13 févr. 11:51 .bash_history-09274.tmp
-rw------- 1 lmm  lmm          0 11 févr. 19:40 .bash_history-09276.tmp
-rw------- 1 lmm  lmm          0 11 févr. 23:01 .bash_history-09397.tmp
-rw------- 1 lmm  lmm      14852  3 mars  22:45 .bash_history-09656.tmp
-rw------- 1 lmm  lmm          0 23 nov.  10:21 .bash_history-09852.tmp
-rw------- 1 lmm  lmm          0  3 mars  22:45 .bash_history-09905.tmp
-rw------- 1 lmm  lmm          0  3 mars  21:01 .bash_history-09909.tmp
-rw------- 1 lmm  lmm          0 29 déc.  06:03 .bash_history-09965.tmp
-rw------- 1 lmm  lmm          0 26 nov.  22:50 .bash_history-09997.tmp
-rw------- 1 lmm  lmm      16806  2 mars  19:50 .bash_history-10197.tmp
-rw------- 1 lmm  lmm          0  2 mars  19:50 .bash_history-10223.tmp
-rw------- 1 lmm  lmm          0  2 mars  19:50 .bash_history-10247.tmp
-rw------- 1 lmm  lmm      13449 13 janv. 15:48 .bash_history-11089.tmp
-rw------- 1 lmm  lmm          0  3 mars  22:45 .bash_history-11605.tmp
-rw------- 1 lmm  lmm          0  7 mars  17:26 .bash_history-12362.tmp
-rw------- 1 lmm  lmm          0  7 mars  17:26 .bash_history-12405.tmp
-rw------- 1 lmm  lmm          0 23 nov.  19:43 .bash_history-12827.tmp
-rw------- 1 lmm  lmm          0  3 mars  22:26 .bash_history-13729.tmp
-rw------- 1 lmm  lmm          0  4 mars  02:18 .bash_history-14247.tmp
-rw------- 1 lmm  lmm          0  8 févr. 20:19 .bash_history-14660.tmp
-rw------- 1 lmm  lmm          0 13 janv. 15:47 .bash_history-15355.tmp
-rw------- 1 lmm  lmm          0  9 févr. 12:52 .bash_history-15776.tmp
-rw------- 1 lmm  lmm          0 12 févr. 17:49 .bash_history-15810.tmp
-rw------- 1 lmm  lmm          0 11 févr. 23:35 .bash_history-16176.tmp
-rw------- 1 lmm  lmm          0  7 déc.  00:35 .bash_history-17063.tmp
-rw------- 1 lmm  lmm          0  5 déc.  23:25 .bash_history-17238.tmp
-rw------- 1 lmm  lmm          0  3 mars  22:44 .bash_history-17501.tmp
-rw------- 1 lmm  lmm          0 28 nov.  19:24 .bash_history-17507.tmp
-rw------- 1 lmm  lmm          0 13 févr. 20:49 .bash_history-20158.tmp
-rw------- 1 lmm  lmm          0 13 déc.  00:31 .bash_history-20572.tmp
-rw------- 1 lmm  lmm          0 26 nov.  22:58 .bash_history-20679.tmp
-rw------- 1 lmm  lmm          0  6 févr. 20:53 .bash_history-21382.tmp
-rw------- 1 lmm  lmm      14110 13 déc.  00:32 .bash_history-21788.tmp
-rw------- 1 lmm  lmm          0 13 févr. 20:49 .bash_history-24308.tmp
-rw------- 1 lmm  lmm          0  6 mars  01:13 .bash_history-26179.tmp
-rw------- 1 lmm  lmm          0  6 févr. 13:49 .bash_history-26269.tmp
-rw------- 1 lmm  lmm          0  1 mars  13:25 .bash_history-26308.tmp
-rw------- 1 lmm  lmm          0  1 mars  13:27 .bash_history-26402.tmp
-rw------- 1 lmm  lmm          0  7 mars  17:26 .bash_history-26647.tmp
-rw------- 1 lmm  lmm          0  6 févr. 15:55 .bash_history-31890.tmp
-rw------- 1 lmm  lmm          0 10 janv. 15:20 .bash_history-31964.tmp
-rw------- 1 lmm  lmm          0  6 févr. 15:55 .bash_history-31968.tmp
-rw------- 1 lmm  lmm          0  5 mars  12:06 .bash_history-33862.tmp
-rw------- 1 lmm  lmm          0  5 mars  18:28 .bash_history-34314.tmp
-rw------- 1 lmm  lmm          0  5 mars  18:29 .bash_history-34827.tmp
-rw------- 1 lmm  lmm          0  6 févr. 16:41 .bash_history-34842.tmp
-rw------- 1 lmm  lmm          0  7 janv. 22:57 .bash_history-34991.tmp
-rw------- 1 lmm  lmm          0  7 févr. 18:26 .bash_history-35579.tmp
-rw------- 1 lmm  lmm          0 26 nov.  21:04 .bash_history-37395.tmp
-rw------- 1 lmm  lmm          0 24 nov.  01:54 .bash_history-38356.tmp
-rw------- 1 lmm  lmm          0 12 déc.  23:14 .bash_history-38501.tmp
-rw------- 1 lmm  lmm          0  5 mars  12:53 .bash_history-38789.tmp
-rw------- 1 lmm  lmm          0 18 déc.  22:43 .bash_history-39893.tmp
-rw------- 1 lmm  lmm          0 18 déc.  22:43 .bash_history-40936.tmp
-rw------- 1 lmm  lmm      13084 26 nov.  19:08 .bash_history-45961.tmp
-rw------- 1 lmm  lmm          0  4 mars  13:08 .bash_history-50406.tmp
-rw------- 1 lmm  lmm          0  4 mars  13:08 .bash_history-51108.tmp
-rw------- 1 lmm  lmm          0  4 mars  12:53 .bash_history-52673.tmp
-rw------- 1 lmm  lmm          0  4 mars  12:54 .bash_history-52837.tmp
-rw------- 1 lmm  lmm          0  9 janv. 18:57 .bash_history-54459.tmp
-rw------- 1 lmm  lmm          0 10 janv. 12:14 .bash_history-55501.tmp
-rw------- 1 lmm  lmm          0  5 févr. 18:45 .bash_history-56472.tmp
-rw------- 1 lmm  lmm          0 27 févr. 13:51 .bash_history-57975.tmp
-rw------- 1 lmm  lmm          0  9 nov.  10:50 .bash_history-68573.tmp
-rw------- 1 lmm  lmm          0 31 janv. 00:21 .bash_history-69367.tmp
-rw------- 1 lmm  lmm      13439  9 nov.  11:03 .bash_history-69871.tmp
-rw------- 1 lmm  lmm          0  9 nov.  12:44 .bash_history-70512.tmp
-rw------- 1 lmm  lmm          0 18 nov.  18:08 .bash_history-70618.tmp
-rw------- 1 lmm  lmm          0  5 févr. 00:00 .bash_history-71154.tmp
-rw------- 1 lmm  lmm      17978  5 févr. 00:00 .bash_history-73391.tmp
-rw------- 1 lmm  lmm          0 31 janv. 00:21 .bash_history-75292.tmp
-rw------- 1 lmm  lmm      13115  9 nov.  12:48 .bash_history-75346.tmp
-rw------- 1 lmm  lmm          0  9 nov.  12:58 .bash_history-76374.tmp
-rw------- 1 lmm  lmm          0  9 nov.  13:38 .bash_history-76687.tmp
-rw------- 1 lmm  lmm          0  9 nov.  13:38 .bash_history-79601.tmp
-rw------- 1 lmm  lmm          0  7 mars  11:57 .bash_history-97731.tmp
-rw------- 1 lmm  lmm          0  7 mars  11:59 .bash_history-98180.tmp
-rw------- 1 lmm  lmm          0 10 févr. 19:06 .bash_history-98399.tmp
-rw------- 1 lmm  lmm          0  7 mars  13:21 .bash_history-98559.tmp
-rw-r--r-- 1 lmm  lmm         21 20 déc.   2020 .bash_logout
-rwxr-xr-x 1 lmm  lmm         57 11 janv. 14:21 .bash_profile
-rwxr-xr-x 1 lmm  users     5035 21 juil.  2021 .bashrc
-rw-r--r-- 1 lmm  lmm     127738 30 juil.  2021 boot.svg
drwxr-xr-x 1 lmm  lmm         30 17 avril  2022 build
drwxr-xr-x 1 lmm  lmm       2344 29 févr. 18:32 Bureau
drwxr-xr-x 1 lmm  lmm       2482  7 mars  16:20 .cache
drwxr-xr-x 1 lmm  lmm       2132  7 mars  16:29 .config
-rw-r--r-- 1 lmm  lmm         43 24 mars   2022 .dmrc
drwxr-xr-x 1 lmm  lmm       5682  7 mars  01:09 Documents
drwxr-xr-x 1 lmm  lmm         94 24 nov.  00:21 .dvdcss
drwxr-xr-x 1 lmm  lmm        542  3 mars  16:58 dwhelper
drwxr-xr-x 1 lmm  lmm         52 30 janv.  2023 .fonts
drwxr-xr-x 1 lmm  lmm         88 20 oct.   2021 FreezerMusic
drwx------ 1 lmm  lmm          8 21 août   2021 .gnome
drwx------ 1 lmm  lmm        114  3 mars  13:25 .gnupg
-r--r--r-- 1 lmm  lmm          8 21 août   2021 .hwid
drwxr-xr-x 1 lmm  lmm         48 21 août   2021 .i4j_jres
-rw------- 1 lmm  lmm          0 21 juil.  2021 .ICEauthority
drwxr-xr-x 1 lmm  lmm          0 10 oct.   2022 .idlerc
drwxr-xr-x 1 lmm  lmm      26274  7 mars  16:40 Images
-rw-rw-r-- 1 lmm  lmm        137  5 févr.  2022 .install4j
drwxr-xr-x 1 lmm  lmm         44 22 août   2021 .java
drwxr-xr-x 1 lmm  lmm          0 21 août   2021 Jts
-rw------- 1 lmm  lmm         20  7 mars  13:00 .lesshst
drwx------ 1 lmm  lmm        886  5 mars  18:58 .librewolf
drwxr-xr-x 1 lmm  lmm         26 31 août   2021 .local
-rw-r--r-- 1 lmm  lmm     742466  8 août   2021 log.txt
drwxr-xr-x 1 lmm  lmm          0 21 juil.  2021 Modèles
drwx------ 1 lmm  lmm        116 22 juil.  2021 .mozilla
drwxr-xr-x 1 lmm  lmm        484  5 janv. 17:52 Musique
-rwxr-xr-x 1 lmm  lmm         33 17 avril  2021 .nanorc
drwxr-xr-x 1 lmm  lmm         84 28 juil.  2021 .npm
drwxr-xr-x 1 lmm  lmm        156 25 août   2021 .oracle_jre_usage
-rw-r--r-- 1 lmm  lmm         82 28 juil.  2021 package-lock.json
drwxr-xr-x 1 lmm  lmm         16 14 avril  2023 .pkg-cache
drwx------ 1 lmm  lmm         10 22 juil.  2021 .pki
drwxr-xr-x 1 lmm  lmm          0 21 juil.  2021 Public
-rw------- 1 lmm  lmm       1024 25 juin   2023 .rnd
drwxr-xr-x 1 lmm  lmm      19018  7 mars  01:22 Téléchargements
drwxr-xr-x 1 lmm  lmm          6  3 mars  16:58 .var
drwxr-xr-x 1 lmm  lmm         80  3 mars  16:59 Vidéos
-rw-r--r-- 1 lmm  lmm        222 21 juil.  2021 .wget-hsts
-rwxr-xr-x 1 lmm  lmm         63  5 mars  18:58 .Xauthority
-rw------- 1 lmm  lmm   10316142  7 mars  17:45 .xsession-errors
-rw------- 1 lmm  lmm        462  5 mars  18:36 .xsession-errors.ol

It is probably your editor.

I’m seeing a few from time to time, I’m not sure what’s bring them on. Some weeks I could have 5 - 10 and other weeks none at all. Looking on to this thread.

1 Like

:grimacing: which is ?

1 Like

You are asking someone what editor you use?

2 Likes

Are you talking about the command line text editor, like nano ?

Every morning when I awake, I get up and give myself a long hard stare in the mirror, and ask myself this very question.

4 Likes

It’s a good question to ask yourself. It’s a really stupid question to ask someone else.

3 Likes

i get the idea thanks

image

2 Likes

At least it’s not cocaine.

1 Like

So, :clown_face: aside, is it nano or something else?

1 Like

WHERE’S MY FSCKING COCAINE?!?!??!? :rage:

2 Likes

I still don’t understand, I guess when you hear “editor” you HAVE to know what it means, as I assume there is only what kind of possibility, there’s probably only ONE thing to edit with a Linux system I assume.

We are talking about the program you use to modify the file. That is what we mean by editor.

1 Like

Thanks.

So yeah the console text editor I use is nano.

You think it could create those files then ?

This may (or may not) assist:

3 Likes

cheers

That does not indeed

That comes from the fact that there is no limit set in bashrc

In this article it all is explained very well

3 Likes

Thanks a lot, I will have a look and try to set an history limit then (using my favorite console text EDITOR @Kresimir :clown_face: @keybreak @r0ckhopper :sweat_smile:).
I was just reading bash man page and there is quite a few shell variables regarding history. I assume there is indeed something to do here.

This behavior didn’t happen before. I never modified .bashrc (how could have I, right?!!! @Kresimir).
Here it is

bashrc
$ cat ~/.bashrc
#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

[[ -f ~/.welcome_screen ]] && . ~/.welcome_screen

_set_my_PS1() {
    PS1='[\u@\h \W]\$ '
    if [ "$(whoami)" = "liveuser" ] ; then
        local iso_version="$(grep ^VERSION= /usr/lib/endeavouros-release 2>/dev/null | cut -d '=' -f 2)"
        if [ -n "$iso_version" ] ; then
            local prefix="eos-"
            local iso_info="$prefix$iso_version"
            PS1="[\u@$iso_info \W]\$ "
        fi
    fi
}
_set_my_PS1
unset -f _set_my_PS1

ShowInstallerIsoInfo() {
    local file=/usr/lib/endeavouros-release
    if [ -r $file ] ; then
        cat $file
    else
        echo "Sorry, installer ISO info is not available." >&2
    fi
}


alias ls='ls --color=auto'
alias ll='ls -lav --ignore=..'   # show long listing of all except ".."
alias l='ls -lav --ignore=.?*'   # show long listing but no hidden dotfiles except "."

[[ "$(whoami)" = "root" ]] && return

[[ -z "$FUNCNEST" ]] && export FUNCNEST=100          # limits recursive functions, see 'man bash'

## Use the up and down arrow keys for finding a command in history
## (you can write some initial letters of the command first).
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'

################################################################################
## Some generally useful functions.
## Consider uncommenting aliases below to start using these functions.


_GeneralCmdCheck() {
    # A helper for functions UpdateArchPackages and UpdateAURPackages.

    echo "$@" >&2
    "$@" || {
        echo "Error: '$*' failed." >&2
        exit 1
    }
}

_CheckInternetConnection() {
    # curl --silent --connect-timeout 8 https://8.8.8.8 >/dev/null
    eos-connection-checker
    local result=$?
    test $result -eq 0 || echo "No internet connection!" >&2
    return $result
}

_CheckArchNews() {
    local conf=/etc/eos-update-notifier.conf

    if [ -z "$CheckArchNewsForYou" ] && [ -r $conf ] ; then
        source $conf
    fi

    if [ "$CheckArchNewsForYou" = "yes" ] ; then
        local news="$(yay -Pw)"
        if [ -n "$news" ] ; then
            echo "Arch news:" >&2
            echo "$news" >&2
            echo "" >&2
            # read -p "Press ENTER to continue (or Ctrl-C to stop): "
        else
            echo "No Arch news." >&2
        fi
    fi
}

UpdateArchPackages() {
    # Updates Arch packages.

    _CheckInternetConnection || return 1

    _CheckArchNews

    #local updates="$(yay -Qu --repo)"
    local updates="$(checkupdates)"
    if [ -n "$updates" ] ; then
        echo "Updates from upstream:" >&2
        echo "$updates" | sed 's|^|    |' >&2
        _GeneralCmdCheck sudo pacman -Syu "$@"
        return 0
    else
        echo "No upstream updates." >&2
        return 1
    fi
}

UpdateAURPackages() {
    # Updates AUR packages.

    _CheckInternetConnection || return 1

    local updates
    if [ -x /usr/bin/yay ] ; then
        updates="$(yay -Qua)"
        if [ -n "$updates" ] ; then
            echo "Updates from AUR:" >&2
            echo "$updates" | sed 's|^|    |' >&2
            _GeneralCmdCheck yay -Syua "$@"
        else
            echo "No AUR updates." >&2
        fi
    else
        echo "Warning: /usr/bin/yay does not exist." >&2
    fi
}

UpdateAllPackages() {
    # Updates all packages in the system.
    # Upstream (i.e. Arch) packages are updated first.
    # If there are Arch updates, you should run
    # this function a second time to update
    # the AUR packages too.

    UpdateArchPackages || UpdateAURPackages
}


_open_files_for_editing() {
    # Open any given document file(s) for editing (or just viewing).
    # Note1: Do not use for executable files!
    # Note2: uses mime bindings, so you may need to use
    #        e.g. a file manager to make some file bindings.

    if [ -x /usr/bin/exo-open ] ; then
        echo "exo-open $*" >&2
        /usr/bin/exo-open "$@" >& /dev/null &
        return
    fi
    if [ -x /usr/bin/xdg-open ] ; then
        for file in "$@" ; do
            echo "xdg-open $file" >&2
            /usr/bin/xdg-open "$file" >& /dev/null &
        done
        return
    fi

    echo "Sorry, none of programs [$progs] is found." >&2
    echo "Tip: install one of packages" >&2
    for prog in $progs ; do
        echo "    $(pacman -Qqo "$prog")" >&2
    done
}

_Pacdiff() {
    local differ pacdiff=/usr/bin/pacdiff

    if [ -n "$(echo q | DIFFPROG=diff $pacdiff)" ] ; then
        for differ in kdiff3 meld diffuse ; do
            if [ -x /usr/bin/$differ ] ; then
                DIFFPROG=$differ su-c_wrapper $pacdiff
                break
            fi
        done
    fi
}

#------------------------------------------------------------

## Aliases for the functions above.
## Uncomment an alias if you want to use it.
##

# alias ef='_open_files_for_editing'     # 'ef' opens given file(s) for editing
# alias pacdiff=_Pacdiff
################################################################################

I suppose this file is modified by the endeavourOS install, or some of its updates, so, if the settings in it are to “blame”, isn’t there more people experiencing the same behavior (beside @anon26269396 and I)?


EDIT

when

$ echo $HISTSIZE; echo $HISTFILESIZE
500
500

so, does that mean:

  • an history is indeed set? (I guess right? but where is the config file? (have looked in the places mentioned in the wiki, doesn’t seem to be set in an environment variable either…)

  • the problem occurs for another reason then (could it be cause the history is full?)


re-EDIT

So I guess even if it tells 500 when asked, doesn’t mean it is set somewhere.