Podcast Beta
Questions and Answers
What command should you use to copy the "examples" directory to your directory?
How do you build an executable for LINUX using gcc?
What command should you use to transfer files from users.cs.umb.edu to tutor-vserver VM?
How should you download the test.lnx file to the tutor VM?
Signup and view all the answers
How do you execute the program in the tutor VM?
Signup and view all the answers
Study Notes
- Copy the "examples" directory to your directory using "cp -r" command.
- Navigate to examples/test_dir to find makefile and test.c.
- Build executables for LINUX using gcc and for Tutor using make.
- To run the LINUX executable, create it using "gcc -o test test.c" and execute it using "./test".
- To make a tutor VM executable, use "make C=test".
- Transfer files from users.cs.umb.edu to tutor-vserver VM using "scp".
- Download the test.lnx file to the tutor VM using "mtip -f test.lnx".
- Reboot the tutor VM by selecting the "Send Ctrl+Alt+Del" button.
- Download the test.lnx file to the tutor VM using "~d" command.
- Execute the program by typing "Tutor> go 100100".
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.