WebYou can modify it accordingly as it will take you up back two directories. First reach to root directory then access the required directory. E.g. You are in root/inc/usr/ap and there is another directory root/2nd/path. You can access the path directory from ap like this: ../../2nd/path first go to root than desired directory. If not working ... WebTo return to the home directory immediately, use cd ~ OR cd. To change into the root directory of Linux file system, use cd / . To go into the root user directory, run cd /root/ …
How to go to home directory in Linux using cd command
WebOct 7, 2024 · In order to go back to your desktop in Linux, you can use the “cd” command to change your current directory back to your home directory. Alternatively, you can … WebNov 19, 2024 · 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 -". razor custom css not working
command line - How to navigate to Home Directory? - Ask Ubuntu
WebOct 30, 2024 · So if you're in directory A: A> cd ../../../../../../../ B> // Now you're in directory B and want to go back to A B> cd - That will move right back to directory A. - expands to the previous directory you were in. Share Improve this answer Follow edited Nov 1, 2024 at 14:26 user7682826 answered Aug 30, 2012 at 13:43 Florin Stingaciu 8,015 2 23 45 4 WebNov 7, 2024 · To find the parent directory of a given directory, you would use the following command: find / -name -printf ‘%h\n’ This will search through the entire file system for a directory with the given name and print out the path of its parent directory. Dino 9 64x is compatible with Linux Enterprise Server 2007 R2 (32bit). WebJun 27, 2024 · The cd (“change directory”) command is used to change the current working directory in Linux and other Unix-like operating systems. It is one of the most basic and … razor curls hamstrings