I have a file that contains a snapshot of all the current files and directories. I am trying to remove several directories from this snapshot. What I have is:
sed '/\/tmp/ d' snapshot
The issue is that the sed command uses the same delimeter as the directory /. I've tried setting the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.