Linux For DevOps (Part-2)

In the last blog, we discussed about OS and Virtualization.


  1. Virtualization software(VMware Workstation Pro and Virtual Box) installation
  2. Installation of Ubuntu in VMware
  3. Basic Linux Commands

Virtualization software(VMware Pro)

VMware is a virtualization company that provides both Type-1(VMware ESXi) and Type-2 hypervisors(VMware Workstation). From Wikipedia, VMware Workstation Pro is a hosted hypervisor that runs on x64 versions of Windows and Linux operating systems; it enables users to set up virtual machines on a single physical machine and use them simultaneously along with the host machine.

VMware Installation steps:

  1. Visit this website to download VMware
  2. After downloading install the VMware on your laptop. Keep everything default click Next, Next, Next, install.
  3. That’s it, now you have installed VMware on your laptop.

Virtualization software(VirtualBox)

Note: You don’t need to install both VMware and VirtualBox. Install either one of these software's.

From Wikipedia, Oracle VM VirtualBox is a free and open-source hosted hypervisor for x86 virtualization, developed by Oracle Corporation. VirtualBox may be installed on Windows, macOS, Linux, Solaris, and Open Solaris

VirtualBox Installation steps:

  1. Visit this URL to download the Virtual box.
  2. After downloading install the VirtualBox on your laptop. Keep everything default click Next, Next, Next, install.
  3. That’s it, now you have installed the VirtualBox on your laptop.

Differences between VMware Workstation and VirtualBox

  1. VMware is paid software(We need to buy a license key) and VirtualBox is open source.
  2. In VMware, we can take snapshots, but in VirtualBox, we can’t take snapshots.
  3. VMware won’t support MAC systems, VirtualBox can install in MAC OS.
  4. On some systems, VirtualBox can make hardware issues, but in VMware, there are no issues.

Installation of Linux(Ubuntu) in VMware

In Linux there are many software’s mostly nowadays people are using Ubuntu, Kali Linux, Red Hat Linux, etc.,

Here, we are going to install Ubuntu Debian-based Linux distro. From Wikipedia, Ubuntu is a Linux distribution based on Debian and composed mostly of free and open-source software. Ubuntu is officially released in three editions: Desktop, Server, and Core for Internet of things devices and robots. All the editions can run on the computer alone, or in a virtual machine.

Installation Process:

  1. Download the Ubuntu ISO file.
  2. Now open VMware.
  3. Select “Create a New Virtual Machine.”
  4. Select installer disk image file and browse for the file that you have downloaded on your laptop.
  5. Then you will that Easy install and critical install — Go with Easy install, it will take care of the hard work that you need to configure and it is recommended. Click Next.
  6. Now it will ask for your Full Name, User Name, and Password. Then hit enter.
  7. Now you need to configure the system requirements.
Recommended requirements

8. You can customize your requirements, by clicking customize.

9. Now you need to confirm that everything that you have configured. Now click Finish.

10. Automatically it will download VMware tools, if not download it manually.

11. Now run ubuntu by clicking the power button.

12. Connect to the WIFI when it asks So that it will download some of the required files.

13. Now it will restart automatically, After that login into the virtual machine.

14. Congrats! You successfully installed the Ubuntu on your VMware.👏👏

Note: If you find any issues while installing contact me on LinkedIn or else you can comment below.

Basic Linux Commands

Now you have successfully installed Ubuntu, I just want to see how the home screen will look like after login.

Ubuntu Home screen
  • On the left-hand side, you see at the end nine dots, which is the menu. Click on that search for the terminal.
  • Now on the terminal, you can see user@ubuntu:~ right! The name that you are seeing is user-name and after that you can see the computer name. The tilt sign means you’re at the home directory.
  • Home directory means! whenever you create a user it will automatically create a home directory for you. for me it’s /home/bhanu
  • pwd: It’s a Linux command and it will print the current working directory. It means print working directory. Currently, I’m in the home directory so it shows me the home folder.
pwd command
  • ls: It means list contents. When you run this command on the Linux terminal it will list the contents.
ls command
  • cd: It means change directory. Now if we want to change the directory? at that, we use the cd command. Now I'll change the directory to Downloads.
cd (Change directory)
  • touch: This command will be used for creating a file. Now create a file using the touch command. I’m inside downloads and I ran the touch test.txt It created me a file called test.txt, then I used the ls command to list files.
touch command
  • cd ..: If we want to come back then we use cd .. see the difference from the below image. Changed from the Downloads folder to the home folder.
  • ls -a: If we want to see hidden files, then we use this command.
ls -a
  • clear: If we want to clear the screen then we use the clear command.
  • ls -la: If we want hidden files in a list order then we use the ls -la command. It will list all files.
ls -la
  • ls -lh: This command is used for listing human reading, so that we can understand easily bytes etc.,
ls -lh
  • ls -lah: This command list all human-readable files.
ls -lah
  • man: This command will show the manual of almost all commands used in Linux.
man ls

Note: In Linux terminal, every command that you run is case sensitive.

That’s it for this part, If you haven’t read part-1, once study that for understanding OS and virtualization.

In the future, we will talk about more Linux commands. In the next module, we will talk about the Linux File system and File permissions.

Don’t forget to follow me on Medium

Thank you guys for reading this module. If you find any mistakes let me know on LinkedIn or else let me know in the comment section. Don’t forget to share the Feedback.

About me, My name is Bhanuprathap Reddy. I’m a cybersecurity researcher, CTF Player, Student. I’m having certifications like CompTIA Security+ and Azure Fundamentals Certification etc., You can connect with me on LinkedIn and Twitter.

If you would like to buy me a coffee ☕ that will be appreciated.

Thanks again for you’re time.




Cybersecurity Student || Security Researcher || Security+

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Manually Installing Wordpress on a Synology NAS

Introduction to Serverless Applications on Red Hat Openshift using Knative

What I Have Learned at Encora — 6

What are EDIs and why are they important for efficient supply chains?

What are EDIs and why are they important for efficient supply chains?

Maximum Subarray Product Performance: Divide and Conquer vs Kadane’s Algorithm

6 Important Details Every Witnet Testnet Node Operator Should Know

C# Programming — Variables (Lesson 01)

Tips for Completing Troubleshooting on a Computer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bhanuprathap Reddy

Bhanuprathap Reddy

Cybersecurity Student || Security Researcher || Security+

More from Medium

Linux Series Part 1: Boot Process

The Linux Commands Series: Part V

Linux Core Concepts For DevOps & Cloud (Part-2)

Guided Fundamentals of Git for Beginners

Guided Fundamentals of Git for Beginners