how to open directory in linux using command

C++
Just use "open [path_to_dir]" in Unix or "start [path_to_dir]" in Windows as:
open .	#Open current directdory in Unix
start . #Open current directory in Windowscd /mnt/e/username/folder1/folder2
Source

Also in C++: