Best Answer: How Do I Search in Debian?
Contents How Do I Find in Debian? Use the Locate Command Debian and Ubuntu Sudo Apt-Get Install Locate. Centos Yum Install Locate. Prepare Locate Command for...
Contents
How do I find in Debian?
Use the Locate command
- Debian and Ubuntu sudo apt-get install locate.
- CentOS yum install locate.
- Prepare locate command for first use. To update the mlocate.db database before first use, run: sudo updatedb. To use locate, open a terminal and type locate followed by the file name you are looking for.
How do I search for a directory in Linux?
–
- To list all files in the current directory, type the following: ls -a This lists all files, including. dot (.) …
- To display detailed information, type the following: ls -l chap1 .profile. …
- To display detailed information about a directory, type the following: ls -d -l .