A Menu Based Linux Shell Script To Display Local And Public IP Addresses Of The System

Listing local ip address of the system
When connected to the internet, the computer in use has a public ip address (or external ip address) that is assigned by the ISP and which is how it appears to the visiting websites and then there is the local ip address (or internal ip address) which is how it can be identified locally to other systems. Let’s suppose that we need a simple Linux shell script that offers a menu based choice like...

Linux Mint Shell Scripting Primer : Part V

[ This is the final part of the five part series that covers the very basics of Linux shell scripting. For the very beginning, start from Part I here.] Previous parts discussed the structure of a Linux shell script, how to use Terminal commands effectively through scripts, how to use variables and how loops are useful in doing cool things. This final part will cover user interaction using shell scripts....

Linux Mint Shell Scripting Primer : Part III

[ This is a five part series that covers the very basics of Linux shell scripting. For the very beginning, start from Part I here.] In the previous part, we had seen how to display user friendly messages and information using the echo command along with popular Terminal commands. From this part onwards, there will be lots of fun stuff, the heart of shell scripting using variables, loops and user interaction....

Linux Mint Shell Scripting Primer : Part I

[ This is a five part series that covers the very basics of Linux shell scripting. ] The most powerful thing Linux offers is the shell. The shell is a command line interpreter similar to the command prompt in Windows. It helps in managing processes, run programs and tons of other important stuff. The command prompt is the interactive part of the shell. When you copy files, delete directories, check...