![]() ![]() ![]() Under Linux the system actually ignores the extension and looks inside the file to determine what type of file it is. In other systems such as Windows the extension is important and the system uses it to determine what type of file it is. ![]() file.png, file.gif, file.jpg - an image.file.exe - an executable file, or program.A file extension is normally a set of 2 - 4 characters after a full stop at the end of a file, which denotes what type of file it is. This one can sometimes be hard to get your head around but as you work through the sections it will start to make more sense. To begin with, this won't affect what we do too much but keep it in mind as it helps with understanding the behaviour of Linux as we manage files and directories. A text file is a file, a directory is a file, your keyboard is a file (one that the system reads from only), your monitor is a file (one that the system writes to only) etc. Ok, the first thing we need to appreciate with linux is that under the hood, everything is actually a file. After that it will start getting interesting, I promise. That is what this section and the next intend to do. We will get to that shortly but first we need to cover some theory so that when we do start playing with the system you can fully understand why it is behaving the way it is and how you can take the commands you learn even further. After the previous section I'm sure you're keen and eager to get stuck into some more commands and start doing some actual playing about with the system. ![]()
0 Comments
Leave a Reply. |