BOOKING

2013年12月19日星期四

how to clean the recnet file in Unbuntu

Original Linux skills from Mingwei:
A lot of people used to asking me how to clear the recent files in Ubuntu 12. all those moives and files which you explored will be cleaned up without any track.
here i am going to share with you, this is a simple shell script:
step1: you can touch a file;
step2: in the file, you can write below
#!/bin/bash
cd ~/.local/share
rm -rf recently-used.xbel
touch recently-used.xbel
exit 0

Step3: :wq!
Step4: of course you have to grant the write access to this file.
Step5: you can run this shell once you start your pc. or you schedule it.depends on you.

Reasonable price for linux shell development and server management scripting

没有评论:

发表评论