Day 2 of 90DaysOfDevOps
Today's task is to perform the following steps:
- Check your present working directory.
Used Command pwd to check present working directory:
List all the files or directories including hidden files.
Using -a lists the hidden files while using -all lists all files with permissions and user account details
Create a nested directory A/B/C/D/E
As you can see, I was unable to create the directory using :
This is because /a would have created the directory in root folder and I am not logged in as root. Though same can be accomplished using "sudo" appended at the start of mkdir command.