![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux cmd
Safin
这个作者很懒,什么都没留下…
展开
-
Search and replace string
We can use sed to replace some string for example: sed -i s/new_string/old_string/g use grep to search files so: sed -i s/new_string/old_string/g `grep old_string -rl --include="*.html" ./`原创 2015-09-17 13:34:07 · 523 阅读 · 0 评论 -
debian apt-get update GPG error for NO_PUBKEY
apt-get update #W: GPG error: http://debian.cn99.com squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA NO_PUB原创 2015-09-19 10:51:03 · 458 阅读 · 0 评论 -
linux install kernel headers
#install kernel headers with right version apt-get install linux-headers-$(uname -r) #query headers weather install correctly dpkg-query -s linux-headers-$(uname-r) #list kernel version原创 2015-09-19 17:25:28 · 968 阅读 · 0 评论