Where is is my C:\ disk ??
Posted: 20 Dec 2016, 10:14
When you are in a command window (CMD) in windows you can see your working directory or working drive by typing .
This will show you the letter of your drive (typically C:\) and your path.
To further explore the contents of your current path you can type to see the contents.
cd stands for change directory or folder.
Executing the cd command with no arguments does behave different in Linux and Windows:
Windows = shows your current working folder and path
Linux = goes to your home directory
"cd" in Windows = "pwd" in Linux.
you can go "back" in both systems by typing
The one thing that Windows users will miss the most is the drive letter C:\
You will not find it in Linux.
In Linux C:\ = /
Yes - no letter; simply a slash
This takes some getting used to.
Code: Select all
cd
This will show you the letter of your drive (typically C:\) and your path.
To further explore the contents of your current path you can type
Code: Select all
dir
cd stands for change directory or folder.
Executing the cd command with no arguments does behave different in Linux and Windows:
Windows = shows your current working folder and path
Linux = goes to your home directory
"cd" in Windows = "pwd" in Linux.
you can go "back" in both systems by typing
Code: Select all
cd ..
The one thing that Windows users will miss the most is the drive letter C:\
You will not find it in Linux.
In Linux C:\ = /
Yes - no letter; simply a slash
This takes some getting used to.