Friday, June 15, 2012

The tip of the day "xargs"

The command xargs can get multiple input and redirect the input one by one to any command,  for example: ' find . -type f  | xargs grep -l koko '  so like this we can search in every file the word koko ...

Friday, January 13, 2012

The Tip of the day "quota"

"When you are running your own web hosting, it is important to monitor how much space is being used by each user. This is not a simple task to be done manually since one of the users or group could fill up the whole hard disk, preventing others from availing any space. Therefore, it is important to allow each user or group their own hard disk space called quota and locking them out from using more than what is allotted.

The system administrator sets a limit or a disk quota to restrict certain aspects of the file system usage on a Linux operating system.

for more info read : http://www.firewall.cx/linux-knowledgebase-tutorials/linux-administration/838-linux-file-system-quotas.html