Programming Tutorials

linux Tutorials

21. getopts tutorial in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script shows how to use getopts in shell script to get command line options in your own shell scripts. In this example, the following options are programmed.


22. Calculator tutorial in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script shows a simple calculator application.


23. Decimal to hexadecimal converter in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script converts decimal to hexadecimal.


24. Finding factorial in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script demonstrates finding the factorial of a given number.


25. Check if file exists in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script demonstrates to check if the given file exists or not.


26. Formating text in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script demonstrates how to display text in different colors, blinking text, bold text etc.


27. Digital Clock in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script shows how to display a digital clock in linux.


28. Menu based programs in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script shows how to script menu-based programs in linux. This sample program implements menus using dialog utility. Menu-items and action according to select menu-item is as follows


29. Getting System Information in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script shows how to get system information in a script in linux. This sample program shows various system configuration like


30. Check for leap year in Shell Script

By: Vivek G : 2011-01-29

Description: This shell script accepts a year and checks if the entered year is leap year or not.