Skip to main content

You can use Export to assign your directory paths to variables and then reference them.

export dir1=/Project/Warnest/docs/
export dir2= ~/Dropbox/Projects/ds/test/
cd $dir1
cd $dir2
Fahad Naeem
  • 193
  • 1
  • 1
  • 6