Linux command
atuin 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Search
atuin search -i [query]
Import
atuin import auto
Sync
atuin sync
Example
atuin stats
Login
atuin login
Register
atuin register -u [username] -e [email] -p [password]
List
atuin history list
Example
atuin doctor
说明
atuin replaces your shell history with a SQLite database, providing powerful search, context tracking, and optional end-to-end encrypted sync across machines. It records additional context like exit status, duration, working directory, and hostname, making history search more powerful than traditional Ctrl+R.
参数
- search _query_
- Interactive history search. Supports filtering by directory, session, host, or globally.
- import _source_
- Import existing history (auto, bash, zsh, fish, nu, xonsh, resh, and others).
- sync
- Synchronize history with the Atuin server (upload and download).
- login
- Authenticate with sync server.
- register
- Register a new account on the Atuin sync server.
- logout
- Remove authentication.
- key
- Display or set the encryption key used for end-to-end encrypted sync.
- stats
- Show usage statistics and command frequency.
- history _subcommand_
- History management (list, delete, etc.).
- init _shell_
- Output shell setup code for bash, zsh, fish, or nu.
- doctor
- Run diagnostics to check for common issues with the installation.
- info
- Display system and configuration information.
- dotfiles
- Manage and sync shell aliases and environment variables.
FAQ
What is the atuin command used for?
atuin replaces your shell history with a SQLite database, providing powerful search, context tracking, and optional end-to-end encrypted sync across machines. It records additional context like exit status, duration, working directory, and hostname, making history search more powerful than traditional Ctrl+R.
How do I run a basic atuin example?
Run `atuin search -i [query]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does search _query_ do in atuin?
Interactive history search. Supports filtering by directory, session, host, or globally.