HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

atuin — Store your shell history in a searchable database. Optionally sync your encrypted history between ma

Submitted by: @import:tldr-pages··
0
Viewed 0 times
shellcommandstorehistoryclisearchableatuinyour

Problem

How to use the atuin command: Store your shell history in a searchable database. Optionally sync your encrypted history between machines. More information: <https://docs.atuin.sh/>.

Solution

atuin — Store your shell history in a searchable database. Optionally sync your encrypted history between machines. More information: <https://docs.atuin.sh/>.

Install atuin into your shell:
eval "$(atuin init {{bash|zsh|fish}})"


Import history from the shell default history file:
atuin import auto


Search shell history for a specific command:
atuin search {{command}}


Register an account on the default sync server using the specified username, email, and password:
atuin register {{[-u|--username]}} {{username}} {{[-e|--email]}} {{email}} {{[-p|--password]}} {{password}}


Login to the default sync server:
atuin login {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}


Sync history with the sync server:
atuin sync

Code Snippets

Install atuin into your shell

eval "$(atuin init {{bash|zsh|fish}})"

Import history from the shell default history file

atuin import auto

Search shell history for a specific command

atuin search {{command}}

Register an account on the default sync server using the specified username, email, and password

atuin register {{[-u|--username]}} {{username}} {{[-e|--email]}} {{email}} {{[-p|--password]}} {{password}}

Login to the default sync server

atuin login {{[-u|--username]}} {{username}} {{[-p|--password]}} {{password}}

Context

tldr-pages: common/atuin

Revisions (0)

No revisions yet.