Skip to content

u/ish013

In this archive from Jun 2022 to Aug 2022

1
posts
66
comments
0
media
377
score

Top posts

Top comments

The bash history is effectively a text file listing the previously executed commands - it doesn't include any metadata saying what those commands are doing and which directory those commands were executed in.

I think the answer is no, there isn't any way to do this with bash.

Edit - You might be interested to see this.

16 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.