Search Results for: ftp

How To Create A Daemon In Linux?

Recently we struck up with a problem. The problem is to run a script continuously in background and continuously check for a folder content changes. If any modifications are done in that folder, the script once again should start one more script. We thought of doing this by using crontab. But the problem with crontab is we have to wait at least one minute to run our script. One minute is too long for my requirement. We require a solution which runs continuously in background at every micro second, it should be similar to a normal Linux daemon such as httpd, ssh, ftp etc. I have searched in Google for creating daemons in Linux. But most of the people suggested to write a daemon in C language, which is alien to me(I have learnt C language some 9 years back but now totally forgot it 🙁 ). Here is one such link which will describe you how to create a daemon in Linux using C programming. http://www.netzmafia.de/skripten/unix/linux-daemon-howto.html. I went through many documentations and other stuff but come to a conclusion to go with Shell script. Which will work same as daemon. Here is the code for the daemon which we accomplish using while loop while true; do if [ -f /testing/*.txt ] then echo “file created” mv /testing/*.txt /tst/ fi done This while loop continuously runs because we give...

Read More

How to: Linux Group Disk Quota Implementation

Click here If you are looking for Linux User Disk Quota Implementation in Linux. Here in this post we are going to discus how to implement Linux Group quota. Many people will ask why we require group quota if we have user quota? I will explain this with an example. In companies people will work on projects/groups where they want to share their data in a common location (a ftp server) and accessed by any user from that group. It is some thing like group store where they will be dumping data in single location i.e. in to a...

Read More

How To : Linux Terminal Server Project (LTSP)

Guest post by Sandeep Yadav(http://linuxarea.webs.com/). He is having 2+ years of experience in Linux administration and he is a good at automating system admin task through shell scripting. You can reach him at sandeeprhce5@gmail.com.Now I will tell you how we can configure LTSP server for our lab with telnet, rdesktop, shell and startx ( for Linux log in).Step1 :a. Make sure DHCP server is installed and running properly on your systemb. Now install tftp server also on your machine and you can find it’s rpm on your Redhat DVD (5.0)c. Now install rdesktop rpm and it is also you can find on your redhat DVD (5.0)d. Configure your windows xp system with full terminal and remote desktop support for distribute rdesktop also over the network so that client can be run windows xp.e. Now download ltsp-4.1.0-1_2.iso image from it’s website (http://ltsp.mirrors.tds.net/pub/ltsp/isos/) and my package size is 100MB (apprx.).f. Now I am making dir test in filesystem (/) and extract this package in test directoryg. Now open readme file from test folder and read instructions carefully on how to install this package.h. After installation complete you need to configure ltsp server . Step 2 :Configure tftp for ltsp serverTFTP : TFTP is a simple file transfer protocol, used by ltsp to transfer the kernel to the workstations.XINETD : Xinetd is a powerful replacement for inetd, with advanced features, used by...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.