User Tools

Site Tools


notes:c4eng:fall2023:projects:abc0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:c4eng:fall2023:projects:abc0 [2023/08/29 13:14] – [Clone lab46 semester repo on lab46] cgaffne1notes:c4eng:fall2023:projects:abc0 [2023/08/29 19:09] (current) – [Clone lab46 semester repo on your system] jparrish
Line 42: Line 42:
 Once Mercurial is installed, you may proceed.  Once Mercurial is installed, you may proceed. 
 You should start by creating a directory anywhere you'd like, using the mkdir command, i.e. <code> mkdir NAME </code>  You should start by creating a directory anywhere you'd like, using the mkdir command, i.e. <code> mkdir NAME </code> 
-Where **NAME** is the name you'd like to give the directory. +Where **NAME** is the name you'd like to give the directory. do not freak out when the terminal spits back nothing. the directory is created, and you should be able to see it by typing "ls".
  
 After making this organizational directory, we will now clone the repo.  After making this organizational directory, we will now clone the repo. 
Line 66: Line 66:
 When you are finished editing the file, use the "Write Out" command and chose a format. Press enter to send the command. Then "Exit" the file.  When you are finished editing the file, use the "Write Out" command and chose a format. Press enter to send the command. Then "Exit" the file. 
 **Note, the ^ symbol correspond to the CRTL key and the M corresponds to the ALT key.**  **Note, the ^ symbol correspond to the CRTL key and the M corresponds to the ALT key.** 
 +
 +If you wish to view this information, you can use the cat command:
 +<code>cat info.text</code>
 +This displays the content of the file on the terminal. It is most useful when you wish to view text files.
 ====Create and execute hello.c==== ====Create and execute hello.c====
 Assuming we are still inside abc0, the next steps are writing a "Hello World" program in C, compiling, and then executing it.  Assuming we are still inside abc0, the next steps are writing a "Hello World" program in C, compiling, and then executing it. 
notes/c4eng/fall2023/projects/abc0.1693314843.txt.gz · Last modified: 2023/08/29 13:14 by cgaffne1