#90daysofdevops Day2 Tasks:
Check your present working directory -> pwd
List all the files or directories including hidden files -> ls -a
Create a nested directory A/B/C/D/E -> mkdir -p A/B/C/D/E
To check memory, will use 3 commands:
How to check for:
RAM
--> free
Disk
--> df -H
CPU
--> top
Few more commands:
man <command> | To get the manual of that command |
ls | list |
ls -al | to get more info |
ls -a | to show hidden files |
mkdir <new dir name> | create a directory/folder |
rmdir <dir name> | remove the empty dir/folder |
rm -rf <dirname> | remove the dir with files in them |
Will publish more day-to-day commands in the next blog.
Happy Learning! :)