Posts

Showing posts from November, 2017

Linux Shell Scripting

Image
How to create shell script in vi editor that prints ''Hello World'' ? What is Shell ? Shell is the operating system's command interpreter and  the set of commands you use to communicate with the system. Shell reads command from user and tells Linux OS what users want. What is shell script? Shell script is a program that is written in shell programming language and is interpreted by a shell process. A shell script is a file that contains ASCII text. In order to create a shell script, a shell text editor is required. There are many text editors available for Linux system. In this post I am going to use the vi editor. What is a vi editor? Vi stands for visual editor. It is a powerful Linux text editor which is available on all Unix / Linux system by default. How to start vi? Power on your virtual machine. Login with your username and password. Create a new file with .sh as extension. In order to do this type vi and the filename, e.g vi hello.sh N

Linux Installation on VirtualBox

Image
How to Install Linux on VirtualBox? This post is a  quick walkthrough  of how to install a Linux OS on VirtualBox. Required Downloads 1. First we need to download VirtualBox. This can be done on the below link.     https://www.virtualbox.org/     VirtualBox is a free open-source and cross-platform virtualization application.     Why is virtualization useful? Allows us to  run multiple operating systems simultaneously. Software installation is easier. Infrastructure consolidation. Testing and disaster recovery. 2 . Secondly we need to download the Linux ISO file. You may download it from the provided link.      https://www.centos.org/download/     Click on minimal ISO and select any link, it will prompt you to download the Linux ISO file. 3 . Creating a Virtual Machine on your VirtualBox To start virtual machine click on the "New" button at the top of the VirtualBox Manager window. A wizard will pop-up where you will need to p