aboutsummaryrefslogtreecommitdiffstats
path: root/man7/mount_namespaces.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/mount_namespaces.7')
-rw-r--r--man7/mount_namespaces.72
1 files changed, 1 insertions, 1 deletions
diff --git a/man7/mount_namespaces.7 b/man7/mount_namespaces.7
index 12a3be38ee..bdc4c27c6c 100644
--- a/man7/mount_namespaces.7
+++ b/man7/mount_namespaces.7
@@ -524,7 +524,7 @@ in the first shell:
.EX
sh1# \fBmkdir /mntY/c\fP
sh1# \fBmount /dev/sda1 /mntY/c\fP
-sh1# \fBcat /proc/self/mountinfo | grep '/mnt' | sed 's/ \- .*//'\fP
+sh1# \fBcat /proc/self/mountinfo | grep \(aq/mnt\(aq | sed \(aqs/ \- .*//\(aq\fP
132 83 8:23 / /mntX rw,relatime shared:1
133 83 8:22 / /mntY rw,relatime shared:2
174 132 8:3 / /mntX/a rw,relatime shared:3