You can use the find command with -name option followed by the file name that you want to search.įor example, to search a file named file1.txt in the /etc directory, run the following command: find /etc -type f -name file1.txt The find command allows you to search a specific file by its name. Once all the packages are up-to-date, restart your server to apply the configuration changes. Once you are logged in, you should update all of your packages to their latest available versions. Change IP_Address and Port_Number according to your server’s IP address and SSH port number. Remember to replace root with your username if you are not using the root user. You can do that by entering this command: ssh _Address -p Port_Number A Linux VPS with root access enabled, or a user with sudo privileges.įirst, we’re going to need to log into our server using SSH.In this post, we will show you how to search files on the Linux terminal using the find and locate commands. This way you can search files and directories based on their size, date, type, and ownership. The find command allows you to search for files and directories based on an expression. The find and locate are the most popular command-line tool used to search files and directories in Linux. The simple and easiest way is to use the Linux terminal to search or locate files. There are several ways to search files and directories in Linux. Especially if you are working on the server operating system without a Desktop interface. You can report bugs on the FSearch Github issues page.Finding files and directories in Linux is a very difficult task compared to Windows operating system. Once installed, open FSearch from your preferred app launcher/app menu to get started. Then install the app: sudo apt install fsearch To install the latest stable release of FSearch on Ubuntu 16.04 LTS and above, add the FSearch PPA to your list of source softwares: sudo add-apt-repository ppa:christian-boxdoerfer/fsearch-stable You can download source code for FSearch on the GitHub project page. If you need a full-text search tool try something like Recoll. I should make one thing clear: FSearch does not search in files. In Preferences you’ll also find an option to enable a dark theme, as well as access advanced settings to control things like window size, column configuration, single-click opening, keyword highlighting, and more.įinally, you have complete control over what areas of your file system the app can and cannot access - so if you don’t want it to sift through that 2TB external backup drive for photos, you can tell it not to. ![]() But if you prefer client-side decorations you can enable a CSD option via the Preferences panel (though it requires a restart of the app to take effect). Oh yeah, and it’s UI is customisable too.īy default FSearch uses a traditional UI with menubar that looks right at home on MATE and XFCE. Include/exclude specific folders from indexing. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |