Email or username:

Password:

Forgot your password?
6 comments
paul
@itsfoss Nope!

paul@machine:~$ history | grep cd
...
1995 cd Downloads
2000 history | grep cd

And run the cd (or other command you want) using !<number>

paul@machine:~$ !1995
cd Downloads
paul@machine:~/Downloads$

:-)

#Linux #Bash #History
@itsfoss Nope!

paul@machine:~$ history | grep cd
...
1995 cd Downloads
El Minuto

@deciago very usefull indeed! If that doesn't work than history | grep
@itsfoss

diesUndDas

@itsfoss looks like the future of people using autonomous driving cars "am awake, am awake, am awake"

saxeee

@itsfoss ...in a comment below this post (on IG 🫣) I discovered CTRL+R, and that changed my history 🙏

Go Up