how-to-find-a-folder-in-linux-using-the-command-line
You can find the path where MySQL is installed on a Linux system by using the following command in your terminal:
which mysql
This will return the path of the mysql executable, typically something like /usr/bin/mysql
Consider the following directory structure:
/
home/
user1/
file1.txt
file2.txt
user2/
file3.txt
find /home -type f
# find / -type d -name "etc"
OR
$ sudo find / -type d -name "etc"
OR
$ sudo find / -type d -iname "etc"
Top comments (0)