Sunday, May 5, 2024
126
rated 0 times [  126] [ 0]  / answers: 1 / hits: 105058  / 3 Years ago, sun, july 25, 2021, 4:18:41

I was wondering if anybody knew a command that would allow me to open a Nautilus (if that's the right name for the Ubuntu graphic/window explorer) window from the command line at the current directory that the user is at.



So, if I open a command line, and type:



cd /home/myUser/some/long/path/to/a/directory


Then, I'd like to be able to issue some command:



nautilus open-sesame


And have a graphic window opened to /home/myUser/some/long/path/to/a/directory. Is this even possible?


More From » command-line

 Answers
4

You can type in the terminal:



cd /home/myUser/some/long/path/to/a/directory


and then:



nautilus .


The above command will open nautilus in the folder /home/myUser/some/long/path/to/a/directory (the period is the current directory)



Or in the Terminal just type:



nautilus /home/myUser/some/long/path/to/a/directory

[#33804] Tuesday, July 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rstride

Total Points: 305
Total Questions: 112
Total Answers: 118

Location: Mali
Member since Sat, Dec 26, 2020
3 Years ago
;