# Basics Linux Commands

**Basic Overview**

Linux is the operating system in which we work in the Command Line Interface(CLI).

**Why Linux is Important for DevOps Engineers?**

Linux is the operating system if you are DevOps Engineer you will be responsible for managing the infrastructure needed at your company.

The folder in Windows in Linux is called the Directory

**Command to Create the Directory and to list the create the directory**.

**Syntax**\-

mkdir new

ls

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681107670508/6d6978fc-da12-4d69-add8-17401e99597f.png align="center")

**Change the Directory**

**Syntax**\-

cd new

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681107904201/f1abc5aa-46d7-436c-b703-b2a07644ed3a.png align="center")

**To check the present the working directory**

**Syntax-**

pwd

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681108010273/90eeaf7f-ea7a-46d4-a01e-2531e641c8db.png align="center")

**To create the file**

**Syntax**\-

touch filename

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681109873290/dc604883-61f9-48ca-9c19-db4e3f818600.png align="center")

**To view the content of the file**

**Syntax-**

cat file\_name

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681114728969/e9c6e19a-4196-4990-97f1-18db4132e398.png align="center")

**To print the contents**

**Syntax**\-

echo "Statement you want to print"

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1681114582897/811cbf4a-f1a9-4610-ad66-2394b91aef68.png align="center")

Thanks for Reading the Blog

Happy Learning 💫
