Day2: Basics Linux command

Day2: Basics Linux command

Navigating the Linux Environment: Essential Commands for Effective Command Line Interaction

Table of contents

Introduction:

In the world of Linux, command-line interaction is a fundamental skill for navigating the operating system efficiently. In this context, we will explore three common tasks and their corresponding Linux commands.

Task 1: Check your present working directory.

Check your present working directory

The "pwd" command stands for "print working directory." When you execute the "pwd" command in a Linux terminal, it displays the absolute path of the current working directory. This is the directory in which you are currently located within the file system.
This command is useful when you need to confirm the exact location within the directory structure.

Task 2: List all the files or directories including hidden files.

List all the files or directories including hidden files

To list all files and directories, including hidden files, you can use the "ls" command with the "-a" option. The "-a" option stands for "all" and includes all files and directories, including those with names starting with a dot which indicates they are hidden in Linux

Task 3: Create a nested directory A/B/C/D/E.

Create a nested directory A/B/C/D/E

A nested directory refers to a directory that is located inside another directory, creating a hierarchical structure. It means having directories within directories, forming a tree-like structure.

These are just a few examples of basic Linux commands. There are many more commands available, each serving different purposes. You can explore and learn more about Linux commands by referring to online documentation or using the "man" command to access the manual pages.

#linux #AWS #Devops

Did you find this article valuable?

Support Chandresh Patle's Blog by becoming a sponsor. Any amount is appreciated!