From c37460625b4d91a03831b3d68d44f29ecb427792 Mon Sep 17 00:00:00 2001 From: Akshay Ithape Date: Sat, 8 May 2021 21:04:14 +0530 Subject: [PATCH] Added explanation about absolute and relative path --- docs/02-Working-With-Shell-Part-I/02-Basic-Commands.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/02-Working-With-Shell-Part-I/02-Basic-Commands.md b/docs/02-Working-With-Shell-Part-I/02-Basic-Commands.md index 68dfc8c..d25ed48 100644 --- a/docs/02-Working-With-Shell-Part-I/02-Basic-Commands.md +++ b/docs/02-Working-With-Shell-Part-I/02-Basic-Commands.md @@ -56,6 +56,10 @@ $ cd ![Absolute_and_relative_path_working_with_shell_I](../../images/Absolute_and_relative_path_working_with_shell_I.PNG) +**Difference Between Absolute and Relative Path** + +- **Absolute Path** : An absolute path is defined as specifying the location of a file or directory from the root directory(/). +- **Relative Path** : Relative path is defined as the path related to the present working directly(pwd). To change to a directory with absolute path. Run **`cd `** ```