FAQ
Login
GNU social JPは日本のGNU socialサーバーです。
Usage
/
ToS
/
admin
/
test
/
Pleroma FE
Public
Public
Network
Groups
Featured
Popular
People
Embed Notice
HTML Code
<blockquote style="position: relative; padding-left: 55px;"><section><a href="https://social.jvns.ca/users/b0rk/statuses/114083615019230850">Julia Evans (b0rk@social.jvns.ca)'s status on Saturday, 01-Mar-2025 12:33:28 JST</a><a href="https://social.jvns.ca/@b0rk" title="b0rk@social.jvns.ca"><img src="https://gnusocial.jp/avatar/88850-48-20230116234922.webp" width="48" height="48" alt="Julia Evans" style="position: absolute; left: 0; top: 0;">Julia Evans</a></section><article><p>shell history </p><p>(with a shoutout to <a href="https://atuin.sh" rel="nofollow noreferrer">https://atuin.sh</a>)</p></article><footer><a rel="bookmark" href="https://gnusocial.jp/conversation/4652805#notice-9107879">In conversation</a><time datetime="2025-03-01T12:33:28+09:00" title="Saturday, 01-Mar-2025 12:33:28 JST">about a month ago</time> <span>from <span><a href="https://social.jvns.ca/@b0rk/114083615019230850" rel="external" title="Sent from social.jvns.ca via ActivityPub">social.jvns.ca</a></span></span><a href="https://social.jvns.ca/@b0rk/114083615019230850">permalink</a><h4>Attachments</h4><ol><li><article><header><div>Domain not in remote thumbnail source whitelist: atuin.sh</div><h5><a href="https://atuin.sh/">Atuin - Magical Shell History</a></h5><div></div></header><div>Sync, search and backup shell history with Atuin</div><footer></footer></article></li><li><label><a rel="external" href="https://gnusocial.jp/attachment/4221255">panel 1: your shell has a history of the commands you ransome ways to access history:* press the up arrow * run history * search it with Ctrl-R (in bash/zsh)panel 2: how long does your shell store history for?in bash, the default is 500 commands (not enough!)in fish, the default is 256,000 commandsif you're using bash, you might want to configure it to store more historypanel 3: when does your shell save history?by default, bash and zsh only save history to a file when you exit the shellfish saves the history continuouslypanel 4: where is history stored?bash: .bash_historyzsh: run echo $HISTFILEfish: mine is in ~/.local/share/fish/fish_historyperson (thinking): “sometimes I copy over my shell history when setting up a new computer!”panel 5: a useful history tool: atuinatuin lets you:* save unlimited history * search history more easily * save commands as soon as you run them * sync your history (optionally)panel 6: gotcha: history in zsh only shows 15 entriesYou can run history 0 to see all the historypanel 7: commands that start with a space don't go in your history. good for passwords! (might depend on your shell's config)</a></label><br><a href="https://cdn.masto.host/socialjvnsca/media_attachments/files/114/083/614/669/333/476/original/286bc1f4b097c725.png" rel="external">https://cdn.masto.host/socialjvnsca/media_attachments/files/114/083/614/669/333/476/original/286bc1f4b097c725.png</a></li></ol></footer></blockquote>
Corresponding Notice
Embed this notice
Julia Evans (b0rk@social.jvns.ca)'s status on Saturday, 01-Mar-2025 12:33:28 JST
Julia Evans
shell history
(with a shoutout to
https://atuin.sh
)