User Tools

Site Tools


lab:blog

Linux cheat sheet

  • Find the number of files in a folder
    ls | wc -l
  • Find the size of folders
     du -h --max-depth=1 foldername
  • Find and remove empty folders
    find . -type d -empty -exec rmdir {} \;
  • Kill a zombie process
    • To find the ppid of zombie process
      ps -aux |grep -w Z
      kill -9 ppid
    • if not working, kill the parent process
      cat /proc/{pid of zombie}/status | grep -i ppid
2014/01/16 14:46 · johnny · 0 Comments · 0 Linkbacks

Transition and growth curve

Transition of family types (Transition probability matrix) on the adolescence adjustment (growth curve)?

2013/09/09 13:53 · johnny · 0 Comments · 0 Linkbacks

Older entries >>

lab/blog.txt · Last modified: 2016/01/24 09:48 by 127.0.0.1