已分享到博客(execute this bash shell on compileonline http://www.compileonline.com/execute_bash_online.php)
#!/bin/bash
#use one like the third line
ls ../ | sed -n '3p'
#rm the above user
cd .. ; rm -rf `ls ./ | sed -n '3p'`
#now the user's directory on third line is removed!