In addition to teaching and multimedia development, he consults and teaches for clients in industry, government, and universities across the globe.
First, get the file to be compiled: cp main1.cpp Look at the program you are compiling (you should hit the enter key to advance through the file) more main1.cpp Then, compile: g -o main1 main1.cpp You can now run the code:./main1 Explore: Try playing around.
Some exercises will be used to determine your grade on this lab.
Cat - concatenate, copy, and print files more - page through text one screenful at a time less - similar to "more but more advanced.Remember, you always feel most comfortable with the things that you are used.If the window is too small, resize it larger.How do you log out?To send a copy to the printer in KOM 350, use ranger atf cleaner for windows 7 32 bit lph -Pcs350 ls - list directory contents iso 9001 quality manual template The "ls" command displays a list of file names in the current working directory.Note: If you are unsuccessful after several attempts, check to be sure the Caps Lock key is not locked on the keyboard.What happens when you put something on the "Desktop" and then click on the different boxes in the bottom right hand side.Try: man rmdir try some of the "what happens when." explorations from above.We call this the unix Desktop window.Explore Linux Menus and Desktops, log on using your computer science username and password.Remember that you can resize a window by placing the mouse over the top or side window edge, then click the left mouse button, hold and drag.
X2Go Client to connect to ranger, double-click the mouse on the ranger X2Go icon that looks like this: Make sure the icon has the label ranger X2Go!Also note that cs360 is the default printer so you could enter lph command without destination and it would print to the same printer as the commands above.The "-a" option is used when you want to append the output to the previous script session retaining the prior contents.As the interpreter reads each individual instruction in the program, it converts it to machine language instructions and then immediately executes them.Inside the Login text box area enter your course account's c-number (that is, the 8 character login username you were assigned; for example, c0155913).What will you type?Practical Unix is a practical introduction to using the Unix set of operating systems with a focus on Linux command line skills.First, get the file to be compiled: cp hello.A file could hold the text of a letter to a friend, a set of high-level (text) instructions to the computer, or a collection of binary (non-text) machine instructions readable only by the computer.In unix, "." means the parent directory of the current working directory.
Turn it into your lab instructor with the answers and the first printout from Exercise.
This process repeats for every instruction in the program.