Linux
get systemd journal entries on web interface.
2013/12/12
Just in case you need it, you can get the journalctl entries from systemd in the web page. First install : yum install systemd-journal-gateway Once you have done this you can get the journal entries …
cvs add files recursively – not already in repository
2013/11/12
When you have a lot of files in some repository and you have added a couple of new, in CVS there is no command to add just the new ones to the repository, so here is a workaround for that. cvs status …
Home grown mail scheduler with bash script and cron
2013/10/04
If you are using Linux (Fedora/Ubuntu or anything else) then you do get a lot of tools and one of them is cron. Very very useful. Just write some script that can do the task for you, put it in cron …
force recheck on reboot – fsck
2013/09/27
If you want to force a fsck re-check on reboot, then just touch /forcefsck Related articles Set some disk params to be safe Improve Boot Performance Ext4
find more information on ext2/3/4 filesystem
2013/09/20
In my previous post on check filesystem regurlarly, I mentioned tune2fs. That tool give quite a lot of information. But just in case, you did not find what you are looking for in the output, then you …
findmnt – find all the mounts and their source
2013/09/16
If you are looking for the source of a mount and the various options used in the mount, then the quickest way to get that is :: findmnt By default, with no parameters, it lists all the mounts in a …
Set some disk params to be safe
2013/09/05
It is always “Better safe than sorry” so, here are some things you should do.. First check fstab, if you have partitions other than root then use UUID instead of device: …
pkgwat -search packages for Fedora.
2013/08/23
pkgwat is a nice utility to search the fedora packages websearch. Description : Pronounced "package WAT", pkgwat is a fast CLI tool for querying : the fedora packages webapp. : …
power save mode for battery in Fedora 19.
2013/08/20
I was getting really bad battery life on my Fedora 19 system, and did not find much on how to tune it. Finally I found something that just does not need much configuration but works pretty well. So, …
Fedora – Ramdisk creation
2013/05/10
In Fedora, ramdisks are not created by default as is the case with RHEL. So, if you need to get Ramdisks on Fedora, then you can do this: sudo yum install MAKEDEV This will create some default …
Manage your servers the easy way with perl script over ssh with no remote client.
2013/05/06
For a long time I have not posted any script. So, its not that I have not written anything new, but just that did not put them here in lack of time. So, here is one interesting one. The original idea …
cksum – compare for multiple files.
2013/04/30
If you have to compare cksum for couple of files, the you know how cumbersome it is. So, I wrote a simple script, wherein you can create a file called cksums in the current directory and copy paste …