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 -"

4.6
5
Captain O 120 points

                                    /
* 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 -"

4.6 (5 Votes)
0
3.7
10
TJ W 75 points

                                    cd /mnt/e/username/folder1/folder2

3.7 (10 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
go to specific directory linux navigate to a directory in shell script how to navigate a directory in linux go to last directory linux ubuntu go back to last directory how to navigate to a folder in ubuntu windows 10 linux commands to go back in directory linux go back to previous working directory how to navigate to a folder in ubuntu go back directory linux command linux how to go a directory navigate to a folder linux how to navigate linux directories how to navigate directoriesin linux change back to previous directory linux navigate to a directory in linux linux navigate to folder terminal get back to previous directory linux go back 1 directory linux how to go into directory in linux how to go back to previous directory in bash linux command to go back in directory command to go back one directory in linux linus navigate to directory comando linux go to directory how to navigate to the directory in command prompt in linux how to go to another directory in linux how to go back to last folder in linux return to previous directory in linux command how to navigate directory linux navigate into folder linux command for going back to previous directory in linux bash command to go back to previous directory linux how to navigate to a directory ubuntu windows navigate to folder unix command go back to previous directory linux ubuntu navigate to folder linux go to previous directory linux shell navigate folder command to go back directory in linux terminal how to go back in directory in linux bash go back to last path go to the directory in linux command go to the directory in linux command to go to previous directory in linux linux command go to directory linux how to go into a directory linux terminal go to directory go back on directory linux go to previous directory in linux go back to previous directory linux how to navigate windows directories with ubuntu terminal how to go back in a directory in linux ubuntu navigate directory navigate to a folder in linux navigate directory linux go to directory linux go back to previous folder in linux go to previous directory linux return to previous directory linux back to previous directory linux navigate to directory linux linux navigate to command folder linux go to directory command linux terminal navigate to a folder go to a directory in linux how to get back to previous directory in linux how to go back to directory in linux navigate to folder linux shell go back to previous directory go back to previous folder linux linux command to go back to previous directory linux command go back to previous directory linux go back to last directory how to go back in previous directory in linux how to go back to the previous working directory in linux go into a directory linux how to go back directory in linux going back a directory linux how to go back to the previous directory in linux how to go back a directory linux How to go back to a previous directory in linux how to go to directory in linux navigate in windows ubuntu linux go to directory folder linux navigate directly to directory linux go back previous directory go back a directory linux linux go back to previous directory line to get back to previous directory linux linux commands to go back a directory how to go back in linux directory linux going back to previous directory open directory linux command line ubuntu cd to home directory going back a directory in bash how to navigate to a folder in ubuntu terminal bash navigate to a directory go back cd linux command linux return to the last folder how to move back to previous directory in linux change the root directory in linux how to navigate to etc folder on ubuntu folder one step back ubuntucommand linux previous directory ubuntu ls click on folder to navigate ubuntu how to change directory in terminal cmd navigate to folder how to go back in terminal ubuntu command for going E: command run folder from root directory how to get back to old directory in cmd how to enter into a folder in ubuntu go inside your directory in linux up a directory linux what we call the file that come after in terminal going back directorys linux to set directory in ubuntu go directly to a path in ubuntu how to move between directory rapidly ternimal linux how to access a directory in linux linux command open directory linux cmd open directory how to exit folder in ubuntu terminal how to go back a directory in terminal linux how to go back a directory in terminal linux how to return to home directory how to go to folder in ubuntu bash linux command to home directory how to go to a directory in ubuntu lunux come out of fodler how do I change directory from home ubuntu ubuntu go back to previous directory file directory ubuntu ubuntu cd to home folder nagivation for ubuntu server command to go home directory in linux change folder terminal linux debian how to go up a folder terminal cd root directory linux ubuntu cd command file system the command to go back to home directory in linux how to navigate to folder in ubuntu terminal how to get out of directory in linux linux command prompt how to go to a folder linux return to home directory cd to previous folder ubuntu bash how to go to folder go back in ubuntu terminal linux cd go to previous directory linux back to previous directory linux go back command how to access home directory from anywhere unix how to acess directory unix ubuntu terminal directory in ubuntu directory as file cd - linux command linux cd parent back directory in linux linux go to directory mac how to cd back linux change to previous directory how to go back one directory in terminal navigate linux folders go back to directory in linux access home directory bash bash access home directory how can i chose th edirectory in ubonto command terminal next directory go to the previous directory linux change to home directory linux how to go back in terminal mac back from directory linux command go to another user home directory linux how to change folder in ubuntu terminal go folder in current terminal ubuntu dir in ubuntu terminal cd ../.. command in linux get out of directory linux linux terminal commands go back directory linux return to previous directory how to go to home directory in terminal linux how to jump to previous directory command to go to parent directory in linux ubuntu path to directory cmd linux go to home directory how to set a directory in terminal ubuntu back directory command ubuntu linux console cd back ubuntu changing directory back folder path in linux how to get to a home file using cd in linux how to go back up in folder in console linux how to move to previous directory in cmd ubuntu linux command back to previous directory how to go directly to home route terminal ubuntu take directory back in mac ubuntu how to navigate directories ubuntu cd using $ linux cd command command to change directory in ubuntu unix go to directory linux go up directory change directory linux ubuntu how to back in linux command cd back how to go up a directory in linux how to open directory in linux terminal ubuntu back folder how to open folders in linux linux go up a directory go to directory ubuntu how to cd in linux terminal move to a dirctory in liunux ubuntu cd into how to go back from selected files ubuntu linux commnad cd ~ how to get back a directory bash open directory linux back to one folder cmd ubuntu ubuntu opening R goes inside a folder how to move into a directory in linux cd back linux ubuntu change working directory navigating through directories in terminal ubuntu ls when changing directory how to open a directory in linux how to give path for previous direcotryin shell change directory in ubuntu windows how to navigate to folder in command in linux how to navigate in ubuntu windows 10 how to open another directory in linux linux back out of file go back to previos dir using terminal how to navigate in ubuntu how to go back in ubuntu move to different directory in unix go to back directory in linux how to navigate a directory linux change directory shortcut how to go back to root directory in linux shell go back one directory go to parent directory ubuntu how to enter a directory in ubuntu linux how to go to home directory wsl change loading directory navigate to folder in cmd ubuntu how to go to next directory linux how to go back to the last directory in linux ubuntu run command in directory navigate dir linus how to go back a directory in linux terminal linux terminal navigate to folder how to shift from root directory to user directory in linux how to change directory in linux with cd command how to navigate through directories in linux how to open directory in linux using terminal find directory ubuntu how to search for app directory in linux ubuntu terminal get into a directory in terminl how to navigate in linux terminal linux command for previous directory back fploder ubundu command line how to navigate to a folder in terminal on mac close dir using command prompt ubuntu how to go back in bash what is the command to leave 1 directory in linux how to go back one folder in ubuntu terminal unix navigation commands how to change directory disk in ubuntu how to change directory in debian terminal ubuntu go to home directory how to navigate to root folder in ubuntu how to back folder ubuntu terminal how to go in folder in ubuntu navigate on folder to ubuntu how to find root directory in linux go back dir linuux navigate through linux terminal command to go back to previous directory in linux go to root directory through files ubuntu windows 10 ubuntu move to current forlder cd command in ubuntu how to go to certain folder ubuntu linux back everything out of directory ubuntu navigate to directory go to specific folder in ubuntu command to navigate to a directory in linux how to navigate in ubuntu terminal specific folder how to navigate in ubuntu terminal directory how to navigate in ubuntu terminal cd file dir linux ubuntu go to directory ubuntu server navigatiin move to root directory in linux how to go into root directory in linux how to change directory in ubuntu in windows 10 how to find folde from treminal ubuntu use cd in linux how to put a file in the root of a terminal directory navigate directories linux how to open a directory linux linux terminal navigation back to home directory linux command how to open a folder in linux how to change directory in cmd linux go to file ubuntu from terminal open directory linux command directory navigation commands go back to previous folder navigate back to user console ubuntu enter directory linux command to go to the previous directory linux command to go to the parent directory linux command to go to the parent director how to get out of a directory in linux how to go inside a directory in linux home directory at linux cmd linux command to place you in your home directory change to current directory linux navigating in ununtu bash how to use cd command linux changing directory change directory on unbuntu how to navigate to files in linux linux cd up a level how to get into a directory in linux how to go to the previous directory in linux how to go back to previous directory in command prompt windows cd back one level folder navigate to ubuntu linux cd previous directory return directory command how to cd to the place you were at ubuntuu cd back to the home directory which command is there to go back in the previous directory in linux command line move up one level how to open foldr in linux how to get into directory in linux cd to home directory linux refer to directory cd ~ in ubuntu cd parent folder linux linux how to change directory linux how to access the directory in linux bash back directory termianl ubunte bash back directory ibuntu shell changer dir how to go to a file in linux terminal ubuntu cd how to show list of files stored in the root folder in ubuntu how to check same code in which pages in terminal cd to windows directory throuth linux console linux command "cd ./" how to go back using cd how to get to root directory in ubuntu in desktop mode go up a directory open dierctory command linux open directory in linux how to go back to previous directory in linux dir terminal ubuntu terminal chnage directory cd to previous directory go one directory back in cmd Navigation in Linux how do I get into a folder using ubuntu terminal open folder from terminal ubuntu by root how to come out from folder in linux command how to cd to root show directory in linux terminal linux command to go up one directory level mac terminal go back one directory ubuntu how to go to a directory cmd back to previous directory bash command to go one folder up navigate folders linux cd.. in linux windows ubunto go to etc how to change in to a directory in linux how to change directories in linux linux move to directory how to get out of a directory in terminal go back one directory terminal navigate to folder from root in ubuntu terminal cmd how to go back a directory ubuntu |"&" command has reverse behaviour cd in linus how open directoru in fodler linux how to go inside a file in linux linux transfer current location between terminal command to change a directory on linux unix go back to directory come out of directory in linux how to point to a an file directory in linux change directory linux terminal ubuntu home command ubuntu command navigate to /etc director how to go back to root directory in command prompt use of cd ~ in linux go back to home directory linux how to go out of a directory in cmd go to prev directory linux cd in linux ubuntu cd home change directory shell script ubuntu get folder command line command line go back one directory how to go up a directory in cmd ubutu how to cd to root change directory to root linux schange directory linux linux command to change to previous directory change directory to root how to got inside a folder using bash cd back to user directory go back in directory cmd linux how to go back a directory go back in bash linux shell go back to previous directory how to go to parent directory in linux how to change directory in linux got back command directory in terminal mac open a folder on command line linux move up folder ubuntu return to directory change working directory ubuntu terminal jump direclty to directory linux command jump to directory linux command go to directory linux command mac terminal cd back how to go in an application directory terminal ubuntu ubuntu cd commands change directories in linux ubuntu terminal commands to change directory view directory in ubuntu linux navigate how to change directories in ubuntu move to current directory linux one directory up in cmd how to go into directory terminal previous directory cmd ubuntu navigate to folder how ro cahnge directory lunux cd - command in linux how to go back a file in linux how to go back in directory in ubuntu ubuntu shell folder come back how to go to root map in ubuntu unix go back to home directory go up directory cmd bash go up a directory file navigation terminal ubutnu move thru directories linux terminal back one directory home command linux change dir in linux command linux go up one directory linux go to subdirectory command to go into a folder in linux entering the home dir in linux ubuntu terminal how to change directory how to go to the folder in linux how to cd into a folder in ubuntu linux cd last directory how to open a directory in unix how to open directory in linux using command cmd cd to home i can eit files in ubuntu home dir bash navigate to directory navigate to a specific folder linux go to folder linux how to go to directory linux directory navigation linux how to find your home folder ubuntu how to change directory using terminal Navigate to directory command to get out of a folder command prompt go back to previous directory linux cd back how to go back one directory in terminal ubuntu how do i go to the home directory in linux back folder in the terminal ubuntu how to get directory linux how to change the current path to another dir in linux linux how to navigate to a user directory from root how to backout a folder in terminal go to root directory in cmd what folder does changes in terminal save to linux bash command to back previous directory how to return to root directory in command prompt command back parent directory linux command cd to home directory of user linux how to open '.' directory in linux how to open . directory in linus ubuntu show directory command how to go to previous directory in cmd navigating directories in ubuntu for beginners go back directory linux browse linux commands toggle between directories in linux terminal home directory how to change a curren directory in linux how to change a directory in linux how to go to a folder in linux terminal bash cd back cd command in linux where is root directory in linux cmd up one level change directory command in linux how to miv fowrad in linux cd cd / command in linux bash cd into directory how to go up one directory in linux linux change directory command how to open folder in linux ubuntu hange directory to the repo root folder. how to return to parent directory in shell script how to enter a folder in terminal linex command go to folder for command move to a directory + linux cpommand using cd in linux how to navigate on linux command line ubuntu terminal home folder get out of home directory ubuntu ubuntu access directory how to go inside a folder in terminal command to go back to previous directory unix go back folder command on unix go to folder command on unix goto home directory linux linux cd parent directory how to go to a directory in linux how to go back one directory in bash terminal move up one directory How do you go back to your computer’s home directory? linux cd back to previous directory how to navigate in terminal linux linux command to go one step back how to return back from directory in linux how to access root directory in linux server previous directory terminal how to get into home directory in linux how to use cd in linux go into the directory in linux command enter the directory in linux command back to previous directory cmd command to open a directory in linux linux how to navigate to a home directory move to directory in linux how to go back one directory in linux navigating the linux terminal terminal command to go back a directory change a file from a directoryy in ubuntu terminal navigate to a folder in a diferent directory cd to root how to navigate in folder as owner in ubuntu ubuntu how to change directory navigate in a linux how to open ubuntu home directory how to access directories ubuntu go to home directory linux how to move to root directory in linux ubuntu how to see directory how to go to a file in linux linux navigation change drive windows ubuntu linux command navigate to folder how to navigate to a folder in cmd on linux bash go into directory cd backwards ubuntu go one folder up in linux command to go back home go to previous directory cmd cd command to go back a directory command go back one directory how to go back in directory in cmd go back one directory linux how to go to parent dir linux linux server folder back command linux go to root folder cd command for linux in cmd How to use the cd command in Linux? cd to directory in ubuntu under windows navigate to downloads in linux terminal from root navigating in ubuntu bash go back n folders linux how to cd somewhere using ubuntu how to come one direcry out in linux how to change directory to home in linux linux go back one directory navigate in linux terminal how to navigate folders in ubuntu how to back directory in linux go back one directory mac terminal how to go back to home in linux install nuavwou display directory ubuntu how to use cd in ubuntu go up one directory bash bash go back to previous directory command to change to previous directory in linux linux go up one level ubuntu terminal getting out of a deirectory back to last cd linux how to cd into local machine using ubuntu subsystem ubuntu command to see files ubuntu terminal commands change directory previous directory linux navigate to folder in ubuntu terminal cd command linux go back in linux command go to directory bash go to folder bash terminal go to root directory linux terminal change directory hwot o go to file directory linux files how do you go backwards in a file directory ubuntu script to navigate to folder ubuntu where do i setup back directory navigate to folder in linux change directory in cmd linux bash cd root directory cd parent directory linux how to navigate a directory in linux cli navigate a direcotry in linux cli how to navigate linux command ubuntu bash cd into documents cd into folder in ubuntu terminal cd to parent directory linux mac terminal go back to root mac terminal go back a directory linux goto previous directory go to home directory in ubuntu how to go to the root directory in linux bash go to root directory cd.. ubuntu how to go back to home directory in terminal linux change to home directory ubuntu terminal back from a folder in linux how to go back up a file in terminal linux browse directory linux cd back one level how to open a directory directory in linux how to go to user folder in linux how to go home directory in ubuntu goto root directory in bash linux cd to root linux terminal previous level how to navigate to a file on linux command how to navigate to a file on linux cmd command to come out of a directory in linux move directory up linux go back in folder mac cmd linux commands cd make the terminal go haiwire in linux ubuntu navigate to directory in windows ubuntu navigate to directories how to go back linux terminal navigate to a directory at startup in linux ubuntu cd up linux navigate to root how to go into file directory terminal How to access different folders through ubuntu ubuntu change directory folder how to navigate linux using just command line how to go inside home directory through terminal linux script folder navigation linux navigate to file in linux cd back a directory linux linux how to get to the root directory How to access folders from a linux ubuntu cmd change directory how to change directory in ubuntu linux command root directory go back ubuntu terminal linux refer to previous folder file + cli find my home directory in linux ubuntu cd to location how to go in previous directory in linux how to change dir in ubuntu change directory linux directory change in linux home directory in linux command how to direct to folder in linux how to use home directory in linux ubuntu directory commands go to a folder in ubuntu terminal how do you go back a file in linux how to go in file in cmd temilar linux how to go to a specific directory in terminal run command in linux home directory ubuntu go to directory command linux command change directory linux navigate directories ubuntu go directory ubuntu nevigation file in terminal linux return to root directory up directory linux go back to home directory ubuntu go back in unix how to cd in ubuntu how to go one directory back in linux console how to go back in the directory in linux change directory ubuntu linux command to navigate to a folder how to cd in linux linux move folder up one level cd home in linux ubuntu step back a directory how to cd into linux bin directory what is the home command in ubuntu how to navigate to directory in linux how to move to directory in linux cd into last place linux ubuntu navigate to specific directory ubuntu navigate directory in terminal go to folder terminal linux how to go back in ubuntu terminal cd linux commands ubuntu cd command linux navigate to directory navigate linux linux terminal folder back use cd in ubuntu command line in windows and go to file how to go home directory in linux navigating linux ubuntu cd org folder how to go back a dir linux command line cd in ubuntu how to go back a directory in linux navigating ubuntu changing directory in ubuntu how to go home in linux how to go back one directory in ubuntu how to check any directory in ubuntu cmd bash script how go in to directory and go out how to navigate directories in bash linux go one directory down go to root directory in linux ubuntu command line up one directory linux navaigate and executre commandline how to go to home directory in linux go back in linux terminal ubuntu commands document get to root directory linux how to change directory in terminal ubuntu linux directory navigation ubuntu terminal navigate to folder how to look home directory in linux go to root directory linux how to go to $ from # in linux ubuntu command go back directory get out of directory ubuntu how to get to linux home directory cd home directory in ubuntu how to change directory above me in linux cd ubuntu write a command to change directory linux command for changing directory in linux linux up one directory how to navigate on linux command how to go to root directory in linux linux terminal cd home how to see directory in linux cli version how to go back in terminal ubuntu change directory in linux how to go one folder back in linux change ubuntu directory bash terminal navigate back to root directory ubuntu server cd commands how to get back at linux root directory command how to change folder in linux terminal how to navigate to a folder in terminal ubuntu directory navigation commands in linux linux go to file \ linux command line get root directory change directory in ubuntu ubuntu terminal folder how to open c directory in linux terminal using command how to change directory in linux terminal how to go into directory in ubuntu terminal how to cd to home directory linux move between directories linux how to enter a folder in terminal linux navigate to root directory linux change directory in ubuntu bash how to go to a path with linux cmd how to go inside a directory using terminal cd command in linux ubuntu accessing root folder through terminal in ubuntu how do you get out of a directory cd.. command in linux cd ../ command in linux cd .. command in linux navigate to a long directory in terminal going to root directory in linux how to cd straight into home directory shortcut to find the directory in linux go to directory in linux how to change to previous directory list directory and stay ubuntu server how to address a directory in terminal ubuntu cd enter a directory bash go backwards in linux root linix command to go to a directory how to cd into a directory ubuntu change directory how to change directory to root directory in linux how to go to root directory in bash ubuntu go to root directory linux move up directory linux terminal directory navigating between directories in linux linux command to change directory unix command line how to back one directory how to change directory in linux ubuntu terminal linux ubuntu change directory ubuntu terminal change directory linux go to root directory go to last few directories terminal cd terminal commands move to directory linux how to call a command in the the root path in linux how to go to my documents through ubuntu how to go to previous directory in linux how to get to home directory linux accessing home in linux how to get out of a folder in linux how to navigate to folder in linux get back to previous folder in linux termina; use master ubuntu server in specific directory linux file chose how to execute a file in the root directory linux how to go to home in ubuntu without termina linux go back directory going to directories in linux navigating use command line linux how do i nav to documents in ubuntu linux navigate to folder browsing folder in the linux linux shell directory navigation how to go inside a folder in linux how to navigate linux terminal how to get to a directory in linux in one command how to get to a directory in linux how to go directory in linux navigate to path linux navigating in linux terminal how to navigate to a folder in linux linux navigating files in console navigate to a directory linux
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source