Category Archives: Server side scripting

Start programs or scripts at system bootup

The script /etc/rc.local is to be used by the systems administrator. It is executed after all the normal system services has been started. Administrators can use it to get the summary of the server(like memory status, hardware status, and others). The reports can be sent to personal mail ID. The following is an entry inside… Read More »

Find and remove duplicate file

It is a very common requirement to remove duplicate file. If you have a large collection of file, then finding and removing such duplicate file will be a tedious task. But this is where GNU/Linux makes the difference- it provides the ‘fdupes’ utility, which finds duplicate files by comparing their check- sum. Let us install… Read More »

How to switch between directories efficiently

Working on the Linux command line means switching between a lot of directories. Suppose you are in Directory ‘A’ and then move to Directory ‘B’. When you want to come back to Directory ‘A’, typing the complete directory path for ‘A’ can be cumbersome sometimes. Here’s a simple trick for this. You can use ‘cd-‘… Read More »

Mounting a remote file system with ssh.

Although running the scp or ssh command is very command is very convenient, mounting the remote servers filesystem on the local system has solved many problems for me. Here is how this can be done. To mount the remote filesystem to a local Linux workstation, you need to install the sshfs. To install, you can… Read More »

Changing port of ftp and ssh

Here is a simple tips to change the default portsof ftp ana ssh. To change the port of ssh,edit the file/etc/ssh/sshd_config and add the following line: port 222 Restart the service of ssh to make the changes effective.Now you need to specify the port number using option ‘-p’ whenever you want to access this system.… Read More »

Disabling USB in Linux

There are various ways by which you can disable a USB mass storage device. Here is how you can disable a USB device by editing grub.conf or menu.lst. Allyou need to do is open the file in a text editor and append nousb as one of the kernel parameters: kernel /vmlinuz-2.6.18-128.1.1.e15 ro root=LABEL=/ console=tty0 console=ttys2,19200n8… Read More »

Ten Open Source Security Tools..

Hi Good Morning, Toady I share one important article related to open source security tools. There are hundreds of open security tools are available. The transition from closed networks enterprise-wide IT networks is gathering speed but naturally raising the alaram about threats like viruses, spyware, adware, malware, rootkits, etc.. These security threats can cause a… Read More »