Answers for "linux go back one directory"

1

__dirname go back one directory

let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.
Posted by: Guest on February-02-2021
6

how to step back in the path in temrinal

cd ~ or cd -
Posted by: Guest on March-04-2020
2

how to go back to the last directory in linux

/
* File & Directory Commands *

To navigate into the root directory, use */ "cd /" /*
To navigate to your home directory, use */ "cd" /*or*/ "cd ~" /*
To navigate up one directory level, use*/ "cd .." /*
To navigate to the previous directory (or back), use */ "cd -"
Posted by: Guest on December-28-2020
1

linux up one directory

use "cd .." ## To navigate up one directory level
Posted by: Guest on January-06-2021
0

ubuntu navigate to directory in windows

cd /mnt/e/username/folder1/folder2
Posted by: Guest on August-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language