Linux

terminal in browser.

2014/05/09

Quite a lot of time, we are spending most of the time on Browsers and during this time, leaving the browser just to do some ls or some command for quickly checking something does not look productive …

Some nice linux tutorials

2014/05/05

Some very nice articles and tutorials on Linux, find here. Pretty nice collection.

Sandbox Firefox – First step to security

2014/03/19

First we will setup cgroup to limit cpu and memory usage, so here we go: Add the configuration in /etc/cgconfig.conf #------start cgconfig---------------- #new group group firefox { perm { task { …

mpd – change the music directory context for selinux.

2014/01/10

For running mpd with different use, you may find necessary to change the SELinux context of your music directory. For this, you would need to run the below command: chcon -R -t mpd_user_data_t Music/ …

cgroups – use to control your cpu and memory

2014/01/06

cgroups is a kernel feature and with userspace utilities, we can use the feature to control the cpu and memory for per process. So, lets first install the required tools. sudo yum install …

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

Thumbnail

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: …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it