Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I suddenly open recent directory. I press Ctrl+L to see, what is its path directory. and I saw recent:/// is that a path? So where is recent directory?

Update:

or better to say:

In terminal if I want to cd recent directory. what do I should inter ?

share|improve this question
    
similar askubuntu.com/a/470091/202806 –  Avinash Raj Jun 27 at 9:21
add comment

1 Answer 1

up vote 3 down vote accepted

No, it's a Nautilus-specific fake path, similar to the about: protocol in Firefox and chrome: in Chrom{e,ium}.

If you want a command line history (to see where you've been recently on the command line) you can run history | grep cd but this is specific to your shell (zsh and bash should work) and it won't factor in your recent directories.

Recent files (not directories) are stored in ~/.local/share/recently-used.xbel by a number of desktop applications (including Nautilus) so if you just need a list of those, you can extract them with:

awk -F '[ |"]' '/<bookmark / {print $5}'  ~/.local/share/recently-used.xbel
share|improve this answer
    
Is stored a copy of original file in recent directory or just a link of original file? thank you. –  KasiyA Jun 27 at 8:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.