How to start shell script writing


This is actually, I want to share, how I learned the shell scripting. It may be helpful for beginners. I am writing it step by step so that it will easy to understand: STEP 1: Do your task manually & prepare the steps. If you know the basic Linux commands, it will help you to…

Configure syslog to print the Security violation alarm on user terminal (via Linux Explore)


Open the /etc/rsyslog.conf file for syslog configuration in fedora Linux (some linux like CentOS has /etc/syslog.conf). It will show the something similar as given below: # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.*                                                 /dev/console # Log anything (except mail) of level info or higher. # Don’t…

Umount a busy partition


Check & close the applications which are using any mounted partition or folder If you are using a separate partition for your applications, you need to mount that partition to a folder. Then only you can store & run the application. But if you want to umount that partition again, first you need to close…

Configure syslog to print the Security violation alarm on user terminal


Open the /etc/rsyslog.conf file for syslog configuration in fedora Linux (some linux like CentOS has /etc/syslog.conf). It will show the something similar as given below: # Log all kernel messages to the console. # Logging much else clutters up the screen. #kern.*                                                 /dev/console # Log anything (except mail) of level info or higher. # Don’t…

SFTP (Secure File Transfer Protocol) With Dropbear


Configure Dropbear SSH server SSH server can’t work independently, it require SSH server (like dropbear) to run. Dropbear require libz & libcrypto to run, so please first install them (if not install already). To install the dropbear SSH server, follow the steps given below. -bash-3.2# tar –xvf dropbear-0.52.tar.bz2 -bash-3.2# cd dropbear-0.52 -bash-3.2# ./configure -bash-3.2# make…