Bash
Bash commands
📝 7 Prompts
📚 Prompts in this Group
Learn these prompts step by step to master this theme
1
$ cd ../..
What command do you use in the terminal to move up two parent directories at once, without changing into any new folder along the way?
~$ cd ../..~
2
$ cd ../2014
What command do you use in the terminal to leave your current directory, go up to the parent, and then immediately enter a different folder that sits alongside your current one — all in a single command?
~$ cd ../2014~
3
$ cd 2015/jan/memory
What command do you use in the terminal to navigate into a deeply nested folder structure by passing through multiple subdirectories in a single command, using forward slashes to separate each level?
~$ cd 2015/jan/memory~
4
cd ..
What command do you type in the Windows Command Prompt to move up one level to the parent directory?
~cd..~
5
cd ../directory
What command do you use in the terminal to go up one level to the parent directory and then immediately enter a different directory in a single step?
~cd ../directory~
6
wsl
🐧 Launching a Linux Shell on Windows
What is the shortest command you can type in a Windows terminal to immediately open your default Linux distribution's shell session?
wsl
7
wsl --install
What single command do you run in a Windows terminal to enable and install the Windows Subsystem for Linux with its default Linux distribution in one step?
~wsl --install~