[Music] hello and welcome to this very first video of this very first project of this pc you should have found by now how to connect to a computer watch the welcoming video and watch the internet presentation you may also have already registered for the very first project of this piecing shell zero zero so now it's time to start the real work in this specie you'll start with two projects about the show i'll tell you what that is in a little bit followed by many projects about the c programming language you'll also have an exam at
the end of each week a rush during the first three weekends so what is the shell the shell is a powerful tool that will become your main work environment for the next four weeks the first two projects aren't really about coding but about discovering the context needed for your coding projects in c to access the shell you need to open a unix terminal unix is a generic name for a type of operating system an operating system is wait i'm sure that you can start applying one of the fundamental rules of 42 search for your own
information don't wait for a video or for somebody to bring you the answers directly but actively go on the lookout yourself okay we're not going to end this video immediately however we know that the very first day of the scene can be scary terrifying horrible but great as well we're gonna give you some of the very first pieces needed to solve this first project of course not everybody will get the perfect suitable explanation for their state of mind so after this video you will probably need to look for more info on the new concepts also
some projects of this big scene will provide a tutorial to temporarily support you and offer an intermediate step this is the case for this shell zero zero project so after the video look for all the new concepts you're facing then start the tutorial and search for the missing info again also be sure to test the information that you get to fully acquire the mastery of your working environment okay back to our unix terminal a terminal is a special window in your graphical environment it only contains lines of text the text is printed by the unix
shell a shell is a command interpreter it means that you will write commands in your keyboard in the terminal window the shell will analyze and execute your command if it makes sense that is so what kind of commands can you write the very first set of commands you need to discover is the set of the file system commands the file system is usually the content of the hard drive on your computer it contains files and directories and files in directories directories and directories and so on some parts are dedicated to the operating system others are
your personal space in a unix environment the file system is like a tree with branches and sub-branches the root of the file system is noted by a forward slash and every program runs in a specific place in this file system described by your path time to type your very first command p pwd then press enter or return what this command will do is it will print the working directory meaning where are you in the computer what's your location we are this is root root users subdirectory codom subdirectory shell 0 0 another file system command that's
used a lot is ls what ls does is it lists the content of the current directory so you'll see the files and the subdirectories it's your job to understand how to distinguish the files from the directories you will need to add command line parameters to the command ls type ls dash or space dash la so you can see the change of behavior and much more information on the files and directories you will also notice a dot and a dot dot here i'm sure that you can find out what these two are please keep in mind
that almost all shell commands available in a shell can support many parameters to slightly influence their actions another important file system command is cd followed by the name of a directory you want to enter cd means change directory so it just tells the computer hey i want to go there let's say we want to go into directory1 cd directory directory directory1 and press enter after having done this we need to verify that our path has actually changed so how do we do that remember the very first command i showed you pwd which prints the working
directory our current location so let's see and indeed we're now in the subdirectory directory one to help you on your journey to shell excellency you'll need some support most classic shell commands come with their own manual page that's a text available directly on the system and in the terminal that describes all the features and actions for a specific command to access the manual for a command simply type man followed by a space and then the name of the command as a parameter for instance ls if we press enter we'll see the manual page for ls
the name description all the options very useful so enough talking it's now time for you to explore the tutorial for shell zero zero it will go through what we just saw in this video in a slightly different order and make you discover other useful show commands then you'll be able to start the exercises for the main subject of the project for this project you're about to discover much more than what we just saw in this video don't forget how peer learning works explore and search the web for concepts you don't understand yet debate with your
neighbors friends random students to see if your understanding matches others test dare trying something then fail at doing that test it again try again fail again test it again fail again and so on and so on until one day you think i have it i understand it but in order to get there you need to try a lot of things first so go for it debate with your neighbors friends random students about your way to solve each problem each exercise each small break in the puzzle test your new ideas again the ideas that you found
online or from other people in case they're wrong inaccurate irrelevant incomplete only be sure of something once you verified it yourself so thanks for watching this video and i hope you have a great experience during this pc