David Cao

David Cao

David is a Cloud & DevOps Enthusiast. He has years of experience as a Linux engineer. He had working experience in AMD, EMC. He likes Linux, Python, bash, and more. He is a technical blogger and a Software Engineer. He enjoys sharing his learning and contributing to open-source.

20 Basic Linux Commands for developers

FILE AND DIRECTORY COMMANDS S.No Description Commands 1 List all files in a long listing (detailed) format ls -al 2 Display the present working directory pwd 3 Create a directory mkdir 4 Remove (delete) file rm file 5 Remove the…

3 Ways to Find File Owner in Linux

In Linux, every file and folder belongs to a user and a group. In this blog post, we will discuss three different ways to find the owner of a file or folder in Linux. Let’s get started! The following Linux…

understanding os.path.basename method in Python

The Python os.path.basename method is used to extract the base name of a pathname. This is useful when you want to process only the filename or directory name from a full pathname. Understanding os.path.basename method The os.path.basename() method in Python,…

understanding os.path.join in Python

The os.path.join() method is a versatile tool that can be used in several ways. In this blog post, we will look at 5 examples of how to use the os.path.join() method in Python. We will start with a basic example…

2 ways to Delete Files in Linux

In Linux, deleting a file is a pretty simple process. However, there are a few things you need to know in order to delete files safely and securely. In this blog post, we will discuss  2 ways to delete files…

3 Ways to Delete a File in Python

There are a few different ways to delete a file in Python. In this blog post, we will discuss the 3 best methods for deleting a file. Each method has its own benefits and drawbacks, so it is important to…

3 Ways to Get Current Time in Python

Python has a few different ways to get the current time. In this blog post, we will explore three of them. Each method has its own benefits and drawbacks, so it’s important to understand them all before deciding which one…

10 Tips to use Python os Module

Python os module is a powerful tool that allows you to do many things, including manipulating files and directories, reading and modifying environment variables, and checking the status of your system. In this blog post, we will discuss 10 tips…