On our CentOS 4.4 box, I set up the nfs mount by putting the setting in fstab.
10.0.0.2:/export/files /files intr
After that I tested the setting by typing: mount /files Everything worked as expected and files was mounted successfully. At this point I wanted to make sure server will [...]
Read the full article...
Let us say that you want to rename all of your “.php3″ files to “.php” files. How you do this with minimal effort? Answer lies in for loop.
for old in *.php3; do cp $old `basename $old .php3`.php; done
Thats all there is to it. Let us say you need to rename index.php3 [...]
Read the full article...
If you run Linux server, there are times you probably wonder how much traffic is flowing through your server. It could be you got a fat bill from your ISP because you used too much bandwidth (good problem to have most of the time). At that point, you probably want to monitor how [...]
Read the full article...