Table of contents
No headings in the article.
#90DaysofDevops - Day 2 Challenge
Task: What is the Linux command to
Check your present working directory.
pwd - It is the command used for checking the present working directory.
List all the files or directories including hidden files.
ls -a - Command for listing files including hidden ones.
Create a nested directory A/B/C/D/E
mkdir -p A/B/C/D/E - Command for nested directory
Additional Commands
1. cd ../.. - Going two levels back
- mkdir B C D - Making multiple directories
3. ls - i - List the files with index numbers
4) ls -d */ - List only the directories