Search Results

Search: Posts Made By: c00lsnoopy
2,154
Posted By c00lsnoopy
How do i use vi to substitute an expression that is part of a path?
Let say I have /home/user1/bin/ and i want it to be /root/bin
I tried : s/\/home\/user1/user2/
but it can't find the pattern user1.
I tried: s/*\/home\/user1*/user2/
as well same result

many...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 07:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy