This is Day2 of 90 days of DevOps
In today’s blog, we will solve some tasks using basic Linux commands.
Task: What is the Linux command to
Check your present working directory
To check your present working directory we use
pwd
command
List all the files or directories including hidden files
- To list down all the files and directories including hidden file we use
ls -a
orls -la
- To list down all the files and directories including hidden file we use
Create a nested directory A/B/C/D/E
To create a nested directory we make use of a
-p
flag which is parent flag.The command we use is mkdir -p A/B/C/D/E
Conclusion: In this blog post, we explored a few basic Linux commands. In further blogs, we will see more advanced Linux commands.