Author

Deepak Prasad

Deepak Prasad

R&D Engineer

at · 1111 articles published

Founder of GoLinuxCloud with more than 15 years of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive experience, he excels across development, DevOps, networking, and security, delivering robust and efficient solutions for diverse projects.

Areas of expertise

Certifications & credentials

  • Red Hat Certified System Administrator in Red Hat OpenStackID: 180-246-001
  • Certified Kubernetes Application Developer (CKAD)
  • Red Hat Certified Specialist in Ansible Automation
  • Go: Data Structures, Algorithms and Design Patterns With Go
Author profile illustration for Deepak Prasad — technical writer at GoLinuxCloud

Articles by Deepak Prasad

tools

How to configure port forwarding in VirtualBox for NAT Networking

Configure port forwarding in virtualbox NAT Networking using command line CLI using VboxManage GUI. ssh into virtualbox from windows port forwarding computer

Deepak Prasad8 min read
linux

Configure FTP server and pam.d to authenticate users with AD (CentOS/RHEL 7/8)

Configure FTP Server and authenticate users from Active Directory for VSFTPD server in CentOS/RHEL 7 and 8 Linux. Connect FTP Server from AD user in Linux

Deepak Prasad4 min read
programming

NumberFormat Class in Java Explained

Some of the task performed by the NumberFormat class in Java are Formatting Numbers, Setting number of Digits in Fraction part, Rounding Numbers, Formatting Percentage, Formatting Currency

Deepak Prasad6 min read
system-administration

How to PROPERLY boot into single user mode in RHEL/CentOS 7/8

linux single user mode, centos 7 single user mode, rhel 7 single user mode, single user mode linux, how to boot into single user mode linux, centos single user mode, single user mode

Deepak Prasad4 min read
devops

How to assign Pods to Nodes | Kubernetes Node Affinity

In this tutorial we'll show how we can use node affinity to schedule application pods as per our needs.

Deepak Prasad7 min read
programming

5 ways to check if a string is an integer in Python

When operating with numbers and strings, many times while fetching the data from the text box, we fetch it as a string. Now, on back-end this data may be

Deepak Prasad6 min read
devops

Kubernetes subPath Examples | MountPath vs subPath Explained

The Kubernetes subPath property prevents overwriting of existing data by mounting a single file from the volume instead of mounting the whole volume. We'll

Deepak Prasad6 min read
linux

Different Kali Vulnerability Scanner Tools [Explained]

Kali Linux is one of the most popular Linux distributions used for Security auditing and Penetrations testing. It comes pre-installed with numerous (300+)

Deepak Prasad8 min read
programming

How to Paginate with Mongoose in Node.js [Practical Examples]

It is a traditional way to paginate with mongoose. Here, It simply uses limit and offset in SQL queries to paginate the data from database. If you are working

Deepak Prasad6 min read
security

Complete Shodan Tutorial | The Search Engine for Hackers

Shodan is a search engine but very different from regular search engines like Google, Yahoo, Bing, etc., which search the web for standard websites. Shodan

Deepak Prasad7 min read
programming

How to implement 3 stacks in an array

A Stack is a Last in First out(LIFO) data structure. Push and pop operations are used for insertion and deletion of a value from the stack respectively. In

Deepak Prasad6 min read
programming

Find merge point of two lists in Java

In this article we explored three different methods which can be used in Java to find merge point of two lists i.e Brute Force Approach, Marking Node as visited and Using HashSet

Deepak Prasad8 min read
programming

How to find a height of a tree data structure in Java

The Tree is a non linear data structure consisting of nodes and edges. Depending upon the type of tree, it can have 0 or more child nodes. There are two ways to calculate the height of a tree using Recursive Approach or …

Deepak Prasad6 min read
programming

4 ways to convert char to int in Java

In this tutorial, we covered four different approaches to convert char to int in Java, Using ASCII Values, Integer.parseInt() method, Character.getNumericValue() method and Subtracting '0'

Deepak Prasad7 min read
programming

How to get sublist from a list in Java

In order to get sublist either in an ArrayList or LinkedList, we have to use the sublist() method which is a method of AbstractList class.

Deepak Prasad7 min read
programming

How to split String into Array

In this tutorial we will cover multiple examples to understand how to split string into array for different scenarios

Deepak Prasad6 min read
programming

How to return an Array in Java [Practical Examples]

There are three different ways to return an array from a function in Java as listed below: Return an array of primitive type, Return an array of objects, Return a multidimensional array

Deepak Prasad7 min read
programming

How to convert Set to list in Java [Practical Examples]

There are several ways to convert the set to list in java as listed below. Using looping, ArrayList Constructor, LinkedList Constructor, List.addAll() Method, List.copyOf() method, stream API, Apache Commons Collections

Deepak Prasad7 min read
programming

How to convert String to Date in Java [Practical Examples]

There are five ways to convert a String to Date in java as listed below. Using SimpleDateFormat Class, LocalDate Class, DateTimeFormater Class, Instant Class, Apache Commons Lang - DateUtils

Deepak Prasad6 min read
programming

How to Compare Characters in Java

There are several ways to compare characters in java as listed below, Using Relational Operators, Using Character.compare(), Using Character.hashCode(), Using compareTo() method, Using equals() method, Using charValue() …

Deepak Prasad6 min read
programming

6 ways to implement Hashing in Java

In this tutorial we cover following 6 different methods to implement hashing in java. Using Hashtable Class, HashMap Class, LinkedHashMap Class, ConcurrentHashMap Class, HashSet Class and LinkedHashSet Class

Deepak Prasad8 min read
programming

How to Copy a File in Java [Practical Examples]

The list below shows five different ways in which we can copy a file in Java. Using FileInputStream and FileOutputStream Using Paths and Files Using RandomAccessFile Class Using FileChannel Using Files.copy()

Deepak Prasad6 min read
programming

How to check if file exists in Java [Practical Examples]

In Java, there are three different ways to check if file exists or not such as Using exists method of Legacy I/O File class, Using isFile method of File class, Using exists method of NIO File class

Deepak Prasad6 min read
programming

How to get Current Date in Java

The list below shows eight different ways to get current date in Java Using java.util.Date, java.util.Calendar, java.time.LocalDateTime, java.time.LocalDate, java.time.Year, java.time.MonthDay, java.time.OffsetDateTime, …

Deepak Prasad6 min read
programming

How to reverse a list in Java [4 Different Methods]

We can reverse a list in Java using four different ways i.e. Using add and remove method, Using recursion, Using reverse method of Collections, Using ListIterator Interface

Deepak Prasad6 min read
programming

Return Multiple Values in Java [5 Different Methods]

We can use any of the five shown approaches as per the program requirement to return multiple values in Java. Return an array of specific type or object, Return using the Pair class of util package, Return a String …

Deepak Prasad7 min read
linux

SOLVED: How to PROPERLY rename file(s) in Linux

There are multiple ways in Linux to rename single or multiple files using one line commands or in script

Deepak Prasad6 min read
programming

SOLVED: Check if path is subdirectory of another in Node.JS

In this tutorial we learned how to check if path is subdirectory of another directory using Node.JS. Tutorial on NodeJS Path module.

Deepak Prasad6 min read
linux

Setup local YUM/DNF repo server Rocky Linux 8 [Step-by-Step]

Step by Step instructions to configure local and offline yum or dnf repository server using Nginx on Rocky Linux 8

Deepak Prasad7 min read
programming

Node.Js forEach() statement Explained [Practical Examples]

In this article, you learned how you can use the Node.Js forEach() to iterate over an iterable in JavaScript. When iterating over array elements, you should opt for forEach() whereas using map() and reduce() would work …

Deepak Prasad6 min read