Sometimes in Linux, you want to clear older file than x day in a directory.
In this article, I show you how to create a script and set crontab in this case.
Step 1: Script
#!/bin/bashfind /tmp/* -mtime +5 -exec rm {} \;
find: the command will search for the files/folders
/tmp/*: the direcroty to start searching
-mtime +5 files older than 5 days.
-exec: what to do with the files we found.
rm...
Anniversary
Hello Sunday :)
* pageviews - 89 posts, last published on Apr 18, 2014That's day I wrote the first post on a personal blog about technology.Enough for me to see the difference, met a few people, new ones. There is fun, there is something I really like, there is one love I like this blog. I will continue to post here. Writing is a way of maturing, sharing.All is well&nbs...
[HOW TO] Pictures do not display as thumbnail preview
In Windows 7, I can't get pictures to show as thumbnail previews. I've tried three different methods suggested on this site. Why is this so difficult?
The three methods I've tried are as follows:
1. Open the folder in Windows Explorer and click the down arrow next to Views at the top. ChooseMedium icons and see if the thumbnails start working again.
2. If not, click on Organize,...
[WHAT] is RandR?
Tonight, I have a little think about XUBUNTU. I'm googling about this.
Link and link, keyword and keyword and ... I have seen RandR. Ok, it aslo need for me to update the information about technology.
I need to notice into here. I don't want missing it :D
RandR is a communications protocol written as an extension to the X11[2] and Wayland[3] protocols for display servers. Both, XRandR...
[HOW TO] install MySQL Workbench in Linux
In the morning,
Developer told me: please help him install MySQL Workbench.Ok, one question, what is a MySQL Workbench?MySQL Workbench is a unified visual tool for database architects, developers, and DBAs. MySQL Workbench provides data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. MySQL Workbench is available...
[HOW TO] change password Postgres
Hello Dude,
Today is the last of working day. I'm here with two monitor and one PC. Working as everyday.
Developer told me about postgre database. He could not connect to Postgres from PhpPgAdmin because don't know password's Postgres.
Ok, I like it. Yesterday, I just worked with Postgress installation.
Now, what's next step?
1. Check Postgres status as below:
~ # service postgresql...
[HOW TO] fix Bacula Windows Client and error 1067
This article details how to fix the error: Windows could not start the bacula File Service service on Local Computer.
Error 1067: The process terminated unexpectedly
This error appears when you tried start the Bacula Service on Windows Services. I googled about this but don't result. Nobody show how to fix this error.
Gruzzz!
Luckily, I found the solution to fix it. Now Bacula Service is running stability.You...
[HOW TO] fix ALT + PrintScreen doesn't work properly.
Hello Dude,
"ALT + PrintScreen" doesn't work properly in Ubuntu/Xubuntu/Lubuntu/Kubuntu. When you tried to use the PrintScreen keyboard to capture an image. What's happen?
It's bug in Ubuntu. In this article, I will show you how to fix:
You open a terminal windows and type the command as below:
cremia@Tbilixi:~$ sudo sysctl -w kernel.sysrq=0[sudo] password for cremia: kernel.sysrq =...