In: Computer Science
I have a question about C++ programming Language class.
I am confused with these terms and what they are for.
1. Unix
2. Terminal
3. Git
4. CLOC
5. Linux
Please explain each words and what's their jobs for C++.
Also, if you know some good sources/websites, could you please provide me a link where I can learn how to use Unix, Terminal, Git, etc.
UNIX is an operating system which is written in C language.The Unix operating system works on CLI (command line interface) and GUI( graphical user interface ) of unix is under development. You must have used windows operating system, it is similar to windows but only available in command line interface. Command line interface is text based user interface which is used to manage and view files. for example MS DOS and command shell in windows operating system.
Linux is a family of open source operating system which are like UNIX and based on Linux kernel( kernel of an operating system . It was first released on September 17, 1991. Linux is packaged in linux distribution which includes linux kernel and supporting libraries and system software and many of them are provided by GNU Project.
Terminal is system console which is provided in linux kernel, it acts as a medium for input and operations. terminal provides the text based interface applications and other kernel messages. CLI and terminal are the same things in linux.
Git
Lets take an example, if you are making an project and you are continuously making changes and saving files. by mistake you save the wrong code and your project stops working and you cannot retrieve the previous code. Here GIT plays very important role, what it actually do is that it keep track of all the changes you make in different files and if something went wrong, it provide you the option to get the previous code.
Basically CLOC count the blank lines, physical line and commented lines, it can also tell change that are made in any file(if two version of a file is given)
Just like windows, Linux is a another platform to write code. Here you can compile and execute code easily..