How to find Operating System name using perl script
Just a very simple command to determine the operating system in which the script is running #!/usr/bin/perl print "The OS in which the script is running is:-\n"; print "$^O"; Output…
Just a very simple command to determine the operating system in which the script is running #!/usr/bin/perl print "The OS in which the script is running is:-\n"; print "$^O"; Output…
This tutorial will show you how to split /etc/passwd file using perl script.If you just have look at the passwd file you can see the lines are separated with semicolon…
Today I would like to share an idea on how to skip blank lines or lines that have a '#' at the start (or afterone or more white-space characters, i.e.…
This script will show how to read numbers from keyboard and find the sum. To exit the program all you have to do is add 999. Here is the script.…