commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
We all know...
for low CPU priority.
for low I/O priority.
nocache can be useful in related scenarios, when we operate on very large files just a single time, e.g. a backup job. It advises the kernel that no caching is required for the involved files, so our current file cache is not erased, potentially decreasing performance on other, more typical file I/O, e.g. on a desktop.
To undo caching of a single file in hindsight, you can do
To check the cache status of a file, do
There is 1 alternative - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.