# Day 2 Task: Basics linux command

1.PWD("print working directory")

The `pwd` command is a commonly used command in Unix-based operating systems, including Linux. "pwd" stands for "print working directory." When you run the `pwd` command, it displays the full path of the current directory you are in.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1689516269862/921c2cc0-6dcc-4014-8e51-e838ba545aff.png align="center")

2.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 it includes all files and directories, including those whose names start with a dot (which indicates they are hidden files or directories).

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1689516317153/92ad2508-b980-41e1-b03b-3ae81c4b123f.png align="center")

This will display a list of files and directories in the current directory, including any hidden files or directories. Each entry will be shown with its name.

3.Creating a nested directory A/B/C/D/E

To create a nested directory structure A/B/C/D/E, you can use the `mkdir` command with the `-p` option. The `-p` option allows you to create parent directories if they don't exist.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1689516573719/bd82cafa-818e-4d04-a6ee-0704f925c8a8.png align="center")

THANK YOU FOR READING!

[**Do follow me on <mark>LinkedIn </mark> for further blogs.**](https://www.linkedin.com/in/manasa-j-03b633238)

[**linkedin.com/in/manasa-j-03b633238**](http://linkedin.com/in/manasa-j-03b633238)
