0

I can open gedit using the terminal but I want to be able to open the folder that has gedit, how?

2 Answers2

0

Use whereis to locate the binary, source, and manual page files for a command

$ whereis gedit
gedit: /usr/bin/gedit /usr/lib/gedit /usr/share/gedit /usr/share/man/man1/gedit.1.gz
Mike
  • 5,691
0

For search files and directories use:

find / -name gedit

Just for searching directories:

find / -name gedit -type d

Source: General Command Manual FIND

Other example applying this command find ... that end with the characters "test":

find /home/enduser/ -name "*test"

or that begin with the characters"ged":

find / -name "ged*"

Don´t forget to checkout privileges or permission level when you´re looking for files or directories, sometimes require a Super User.

Hope this helps.

Gamaliel
  • 131