Reference no: EM134012024
Question: This week will begin by going to this site: Linux Survival is a free tutorial designed for people who have little or no experience with the Linux operating system. Even though Linux has hundreds of commands, there are only about a dozen which you need to know to perform most basic tasks. These are the commands you will learn in the first and second modules.
We begin by exploring the basic Linux file structure. Microsoft Windows users will find the Linux file system to be virtually the same. It starts with the drive itself. If you were to add two directories and call them Windows and Linux that would give you to big containers to which other file folders could be added. Imagine for a moment that you wanted to separate all of your Microsoft programs into folders you could add Windows 7, Windows XP and Office folders inside your Microsoft folder. Now let’s add some folders to the Linux folder. You might add Debian, Ubuntu and Redhat folders there. That’s the directory structure. Visually it looks like a mountain. The drive is the summit and Microsoft and Linux would be above the timberline up by the snow cap. The folders would be the base. It isn’t very complicated.
Now we should discuss some particulars. Linux is CaSe SeNsItIvE. If you screw this up it won’t work right when giving commands. To get the directories listed you use a lower case “ls” which is list minus the i and t. By typing that in my example, it would return Microsoft and Linux. The next command is more. It is called "more" because after it has displayed a page of text, it pauses and puts "-- More --" at the bottom of the screen to let you know that there is more text yet to be shown. To see the next page of text, you just hit the spacebar.
This is incredibly tough isn’t it? The command to create a directory is "mkdir" which is short for "make directory". For example, to make a new third type of directory called macintosh, you would type “mkdir mcintosh”. The next command "mv" is shorthand for move. Now, let''s move redhat files into our newly created directory. To move a file, you just use the "mv" command. For example, to move a file called "redhat" into directory "mcintosh", you would type “mv redhat mcintosh”. Renaming files is simply a case of "moving" a file from one name to another. For example, to rename file "redhat" to "OSX", you would type “mv redhat OSX”.
Now, we want to go into the "mcintosh" directory and see our changes. To change directories, use the "cd" command, which stands for "change directory". For example, to change to directory "dogs", you would type “cd OSX”. To find out where you are, use the "pwd" command, which stands for "print working directory". These concepts are commonly covered in Operating System studies and practical command-line environments.
Please work through Modules 1, 2, 3 and 4. Make sure to take a screenshot after each module’s quiz. Upload these to the Assignment dropbox. They should be named as follows: {Your Name} - Module 1, ... Upon completion of these four modules you should have a rudimentary understanding of how Linux works. This foundational knowledge also supports broader concepts in Computer Science.