Tag: Technologies
-
How to get IP address in shell script
There is many ways to get IP address some popular and easier are mentioned below- In Example 2 we may get IP from particular interface. Example 1: !/bin/bash IPADDRESS=`ifconfig | awk -F’:’ ‘/inet addr/&&!/127.0.0.1/{split($2,_,” “);print _[1]}’` echo “Machine IP address is: $IPADDRESS” Example 2: !/bin/bash IPADDRESS=`ifconfig eth0 | grep ‘inet addr:’ | cut -d: -f2…
-
HTTP Error 500.21 – Internal Server Error
Problem: Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list Detailed Error Information Module IIS Web Core Notification ExecuteRequestHandler Handler PageHandlerFactory-Integrated Error Code 0x8007000d Requested URL http://Demo.com/index.aspx Physical Path C:\Demo\index.aspx Logon Method Anonymous Logon User Anonymous Most likely causes: Managed handler is used; however, ASP.NET is not installed or is not installed completely.…