diff --git a/Documentation/cgroups.txt b/Documentation/cgroups.txt
index 824fc02744719ecb02b29177c11c55034229af35..d9014aa0eb68b469836b29afe932532b168a63ee 100644
--- a/Documentation/cgroups.txt
+++ b/Documentation/cgroups.txt
@@ -390,6 +390,10 @@ If you have several tasks to attach, you have to do it one after another:
 	...
 # /bin/echo PIDn > tasks
 
+You can attach the current shell task by echoing 0:
+
+# echo 0 > tasks
+
 3. Kernel API
 =============