Skip to main content

Posts

Showing posts with the label Script

Shebang...... an magic of unix

Hello, Thanks for visiting RvKmR.blogspot.in In this post, I am going to explain about shebang line. We see many of script starts with #! special characters. We are aware of # as a comment but at the start of the script if we use #! then it is not an ordinary comment. It is an instruction to program exec which execute our script. The shebang #! is humanly readable instance of a magic number consisting of the byte string 0x23 0x21. This is passed to exec() to determine the file to be executed is a script or a binary. When shebang line #! is used exec runs the script with executable specified after shebang #!. Ex. #!/bin/bash This is an instruction to exec to start execution of the program with /bin/bash.

R1soft CDP-agent deployment script

Hello, Thanks for visiting RvKmR.blogspot.in . In this blog, I am going to explain about my script for“Idera's R1soft CDP-agent installation ” written in bash. To understand this script you must be familiar with Bash scripting and Linux environment. Q   : I wan to install R1soft cdp-agent on clients server, but I don't have time to execute all commands manually.  OR  I am not familiar with Linux Operating System but I have to install R1soft CDP-agent on client server. Ans :   I have written bash script to install Idera's R1soft cdp-agent on Linux Operating System Launch Terminal with cltr+alt+T in ubuntu or from accessories menu in other Linux OS.There are some prerequisites needed before running this script. We need to know IP address or registered hostname of R1soft cdp-server. Below are steps to use R1soft cdp-agent deployment script: Download or copy r1soft.sh file to client/targeted server. Consider R1soft CDP-server ip address is :192.16...