Category Linux

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…

2 ways to Delete Files in Linux

Deleting a file in Linux is simple, but doing it safely takes a little know-how—because on the command line, deletion is usually permanent. In this guide we’ll cover two ways to delete files in Linux: the rm command and the unlink command, plus how to remove…

3 Ways to Find MAC Address in Ubuntu Linux

How to list MAC address on Ubuntu Linux is a commonly asked question during a Linux job interview. Here are 3 methods to get the MAC address in Ubuntu Linux. These commands are safe to run without changing anything.  …

4 Ways to Check File Size in Linux

Many Linux users ask questions like: “How can I check the size of a file in Linux?” or “What’s the best way to find out how much space a directory occupies?” In this guide, we’ll cover four practical methods to check file size…

5 Useful Kubeconfig Examples and kubectl config Commands

we can use kubeconfig configuration file to store information about different clusters, users, namespaces, and authentication mechanisms. Understanding kubeconfig A context element in a kubeconfig file is used to group access parameters under a convenient name. Each context has three…