I’ll be here again with another interesting topic soon. Please keep in mind that all comments are moderated and your email address will NOT be published. All Rights Reserved. For instance, if we have two directories, Another "useless" command, but one that illustrates the way you can use the double-dot notation, is this one:...which will place us in the directory one level above the subdirectory Your home directory is the directory you're placed in, by default, when you open a new terminal session. to search or browse the thousands of published articles available FREELY to all.If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.How do i remove the cd course its stuck there and i tried everything like it always shows You will go 5 step back of that directory (If Available) or it will show you “/” cd command in Linux/Unix cd is a Linux command to change the directory/folder of the terminal's shell. In fact, cd stands for ‘change directory’. For instance, if your documents folder is named After you change directory, you can change back to the previous working directory by representing it with a dash ("Using a slash at the end of a directory name is optional. As soon as popd is fired, it fetch the saved directory location from memory and makes it current working directory.This is our attempt, to make you aware of Linux Workings and executions in least possible words and with as much as user friendliness as it used to be before.That’s all for now. In other words, it would do nothing.What's actually happening is the dot represents the "assumed" directory; it's a placeholder, and you can use the dot anywhere in a directory name. Use it to move around in the hierarchy of your file system. All other directories are subdirectories of the root directory.The root directory is represented by a single slash ("To change into the root directory, making it your working directory, use the command:You will not be able to make any changes to the root directory on your system unless you are logged in as The current directory, regardless of which directory it is, is represented by a single dot ("...would change us into the current directory. If You Appreciate What We Do Here On TecMint, You Should Consider:The material in this site cannot be republished either online or offline, without our permission. It enables you to change the working directory from the current directory to the desired directory that you wish to navigate to. Millions of people visit TecMint! You can use it as a placeholder anywhere you want to tell the shell that a directory goes in that place, and to assume the appropriate value.The parent directory of the current directory — in other words, the directory one level up from the current directory, which contains the directory we're in now — is represented by two dots ("The double-dot ("..") directory notation can be used anywhere in a directory name to represent going up one level. So, the command:In all of these examples, the dot represents "the directory assumed to be there". You can press the tab button in order to auto complete the directory name. cd is among the commands you will use most often on the command line. For example, if there is a subdirectory in the current directory named The second form of the command explicitly states that The above example would change the working directory to the The above example would traverse up one level to the parent directory and then down into the directory Traverse two directories up the directory tree. In Linux ‘cd‘ (Change Directory) command is one of the most important and most widely used command for newbies as well as system administrators.For admins on a headless server, ‘cd‘ is the only way to navigate to a directory to check log, execute a program/application/script and for every other task.For newbie it is among those initial commands they make their hands dirty with. Pushd and popd are Linux commands in bash and certain other shell which saves current working directory location to memory and bring to the directory from memory as current working directory, respectively as well as changes directory.The above command saves the current location to memory and changes to the requested directory. So, in contrast to the example above, the directory name "To change into this directory, making it our working directory, we would use the command:The root directory is the first directory in your filesystem hierarchy. It has a special representation: a ...and we can always access the subdirectories of our home directory by placing the tilde as the first component of the directory name. In other words, only change into the specified directory if it actually exists as named; symbolic links will not be followed. It changes your working directory. Please leave a comment to start the discussion.