LINUX DATA STRUCTURE
What is the data structure difference linux from windows?
Windows structure we know it already which looks like this:
Let’s see how does it look like for the similar data:
By linux we have central root. All partitions and any extern volume would be define under that.
How does the folder address look like in windows and linux?
so First with the one we know Windows:
In linux we don’t have any other partition. We put all our folders under “home”:
PS: If you see ~ that’s for home Directory
General Stuff you should know:
THE COMMAND STYLE
In Linux we have a command like this:
command flag argument. For example:
mkdir -p d1/d2
command : what you wanna do
flag: gives you more options how to do that
argument: your file/folder you wanna apply changes on
PATH OF YOUR DIRECTORY
If you have a path , ask yourself if it’s a relative to absolute path. Absolute path could be used anywhere but relative path just makes scene as long as you are in your current directory.
Relative Path: myfolder/mytext.txt
Absolute Path: /myfolder/mytext.txt
Do you see the difference?
HOW TO GET MORE INFORMATION ABOUT THE COMMANDS?
It gives you all the information , you need about the command . you use it like this:
man <your command>
Your command gives you some output but you don’t know ,what it exactly means. whatis gives you this information:
These are the basics you need to know to feel safe and not being lost!