ITeye博客

Ubuntu Command Line Trick ¶

eonbell · 2011-02-25 13:34 · 编程语言 · Markdown

grep -r mysite * | grep -v svn --- find out all files including "mysite" except svn folder

screen -R screenname --create a screen named screenname or entry a screen named screenname

tail -f xxx.filename -- realtime to display file content

crontab -e -- edit the cron

Command about crontab?

how to delete all svn files

find . -name *svn|xargs rm -rf

Kill the instance of python

netstat -a -p tcp|grep 8089 kill -9 pid

Search files contain specified strings

grep -n "test" *.py

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。