How to dry-run svn update?
Answer:
In your working directory, type
svn status -u
It will check the diff of your contents with the data in the current svn's HEAD
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to dry-run svn update?
Answer:
In your working directory, type
svn status -u
It will check the diff of your contents with the data in the current svn's HEAD
How to flush data stored in memcached?
Answer:
Assume memcached is listening at port 11211 of localhost
Use the following simple command to flush all data:
echo "flush_all" | nc 127.0.0.1 11211
In fact, you can also issue other commands as well, e.g.
echo "stats" | nc 127.0.0.1 11211
How to extract RPM package without installing it
Answer:
Assume you have foo.rpm, type the following command to extract the rpm's contents
rpm2cpio foo.rpm | cpio -idmv
Change password in Linux
Answer:
passwd (Change your own password)
passwd john (Change john's password)
passwd -d john (Delete john's password)
Turn off ETag in Apache
Answer:
ETag should not be used in Apache unless you know what they are really for.
Edit the Apache configuration: vi httpd.conf
Add:
FileETag None
Then restart Apache.