Log into Lab46 by opening a terminal. To do this open the start button for Windows and type in CMD for command prompt. On Linux, travel to Applications, System, and open a terminal. Then, input the command “ssh user@lab46.g7n.org”, where “user” is your username. It'll ask you to verify connecting to the host, respond yes. It will ask for a password afterwards and it won't show anything as you type it for security purposes. Congratulations! You are now logged into Lab46. You may disconnect by typing the “exit” command.
The version control we use is mercurial, so the command is “hg” rather than “git”. The other commands, such as “clone”, “pull”, “push”, and etc. are the same. The commands in order to clone (credit to Jess) are below:
hg clone ssh:/ /USER@lab46.g7n.orgvar/repos/hg/user/USER into ~/src hg clone ssh:/ /USER@lab46.g7n.orgvar/repos/hg/user/USER/fall2023 into ~/src/fall2023
In order to get into src, input cd src.
Then, you're going to want to make the directories for CPROG. You can do this using the mkdir command. “mkdir cprog”. You can verify you've done this correctly by putting in ls, which will list the directories. :)
In case of explosion, you can also use the command “fixrepo” which will automatically make everything nice, so…
You can do this by doing echo “whatever you want” > textfilename.txt
The journal is to the left of the screen and underneath content on the left side of the screen towards the top of this web page.