# History of my commands in terminal

**URL:** <https://forum.elivelinux.org/t/history-of-my-commands-in-terminal/1325>\
**Category:** Applications\
**Created:** [August 1, 2019, 2:21pm UTC](https://forum.elivelinux.org/t/history-of-my-commands-in-terminal/1325 "2019-08-01T14:21:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoda](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/yoda/32/42_2.png) [@yoda](https://forum.elivelinux.org/u/yoda)\
**Post date:** [August 1, 2019, 2:21pm UTC](https://forum.elivelinux.org/t/history-of-my-commands-in-terminal/1325/1 "2019-08-01T14:21:19Z")

</div>

I just reinstalled my Desktop that was my ELive 3.7.x Reiser4 to a larger SSD driver and choosed EXT4 ( Encrypted) instead of Reiser4, to play it safe... Even if I wasn't having any problem with Reiser4 though

I a copying back from the old drive some application config /home/user/.config and some are in /home/user/

Everything is smooth for now.

BUT I WOULD LIKE if possible, to get back my history of Terminal command  
I mean, usually I type a few letter and UP ARROW and can recall previous commands

Where is that history of command stored ?

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [August 1, 2019, 4:47pm UTC](https://forum.elivelinux.org/t/history-of-my-commands-in-terminal/1325/2 "2019-08-01T16:47:13Z")

</div>

For zsh there's a file in your home called ".zhistory" and for bash ".bash\_history". :boogie:

---

<div class="post-metadata">

**Author:** ![yoda](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/yoda/32/42_2.png) [@yoda](https://forum.elivelinux.org/u/yoda)\
**Post date:** [August 1, 2019, 8:41pm UTC](https://forum.elivelinux.org/t/history-of-my-commands-in-terminal/1325/3 "2019-08-01T20:41:00Z")

</div>

for " terminal aliases command" do you happen to know ?  
Presently looking for it.

I am lazy, I could reboot and boot in the old Elive and type the command to get the list...

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [August 1, 2019, 9:48pm UTC](https://forum.elivelinux.org/t/history-of-my-commands-in-terminal/1325/4 "2019-08-01T21:48:51Z")

</div>

That would be .bashrc 😋
