How do I find my path in Linux?

Danh Trịnh

New member
How do I find my path in Linux?
Answer
Use echo $PATH to view your path variables. Use find / -name “filename” –type f print to find the full path to a file. Use export PATH=$PATH:/new/directory to add a new directory to the path.
 

Tìm kiếm

Back
Top