linux guru
Thursday, February 14, 2013
sed find and replace all file
[root@govd drupal]# find /var/www/drupal/ -type f -exec sed -i "s/Any\ unauthorized/AnyUnauthorized/g" {} \;
[root@govd drupal]# find /var/www/drupal/ -exec grep -l "Any unauthorized" {} \;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Ruby on Rails Paperclip tutorial - rails 4.0.3, Ruby 2.1, Paperclip 4.1.1
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
gunzip: aaa.zip: unknown suffix -- ignored
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...
yum install pcap
yum install libpcap-devel yum install libnet
No comments:
Post a Comment