cgroup_namespaces.7: Remove redundant use of 'sh -c' in shell session

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-10-14 13:37:02 +02:00
parent 38a6fda1e6
commit e39f614f9f
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ hierarchy, and put the shell into that cgroup:
# \fBmkdir \-p /sys/fs/cgroup/freezer/sub\fP
# \fBecho $$\fP # Show PID of this shell
30655
# \fBsh \-c \(aqecho 30655 > /sys/fs/cgroup/freezer/sub/cgroup.procs\(aq\fP
# \fBecho 30655 > /sys/fs/cgroup/freezer/sub/cgroup.procs\fP
# \fBcat /proc/self/cgroup | grep freezer\fP
7:freezer:/sub
.EE