Đ Đức Lưu New member Jan 17, 2022 #1 How do I remove a path in Linux 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 .
How do I remove a path in Linux 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 .