Skip to content
Sergey Chulanov's site
Posts Tags Categories Series About me
Sergey Chulanov's site
Cancel
PostsTagsCategoriesSeriesAbout me

Get absolute path for a file

Sergey Chulanov included in Linux Devops
 2023-08-10  25 words   One minute 
  • We need to install mlocate:
apt install mlocate
  • Update the db:
sudo updatedb

And find some file:

locate just-file-name.txt
locate or-part-of-file-nam

Example:

locate mcypr_lin___ovpn.ovpn
  /etc/openvpn/kz/mcypr_lin___ovpn.ovpn
Series: Guide
Updated on 2026-06-27
Read Markdown
 Useful
Back | Home
xsel for buffer Installing OpenVPN server
Powered by Hugo | Theme - LoveIt
2019 - 2026 Sergey Chulanov | CC BY-NC 4.0