Trường Phan
New member
How do I remove a PATH in Linux?
Answer
If you have exported the path from a terminal
Answer
If you have exported the path from a terminal
- separate each dir in your PATH by line using tr.
- remove what you don’t want (path matching “raj”) using grep -v , and.
- collapse back into a long “:” delimited string using paste .