Results 1 to 3 of 3
Hi, Am pretty sure that most of the commands in Linux does caching of information. where it does the caching, is it will be human understandable ?? Any persuasion is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-04-2008 #1
cache of commands, du -sh, find, grep
Am pretty sure that most of the commands in Linux does caching of information.
where it does the caching, is it will be human understandable ??
Any persuasion is appreciated.
- 12-04-2008 #2
The history of commands you have run is located in ~/.bash_history. This maybe different if you are not using the bash shell.
- 12-05-2008 #3
sorry, if am not clear already
actually my question is not about history, it is about cache.
Which you are speaking about the commands which i have executed already can be again got by using the navigation keys.
Which i am telling is, the result of the command is cached, and it is given while executing the next time.
when you execute du -sh ~, it takes 3 minutes and tells that your home directory is 4.3 GB at first time, and from then onwards for some time it will tell 4.3 with in some 1 or 2 seconds, in the next executions ???? how it is ???
And for how much time the cache will be used ?? this is my question?? GOT IT ???