Shell commands for the lazy ECE344 student
- Copy the bin directory into your user directory.
- Add the bin directory to your path.
- Backup your .cshrc file. Next, open the .cshrc file and paste the following 2 lines:
#Shell Scripts:
set path = ( ~/bin $path)
- Logout and login once more.
- Test that the shell commands work. Open a terminal and enter
suhayb344
.- If you encounter an permissions denied error, give yourself execution rights by the following:
chmod -R 700 bin
- If you encounter an permissions denied error, give yourself execution rights by the following:
- This should display an output of all the available shell commands, and how to use them.
- Open VSCode and create a new build task:
- Click 'Configure Tasks...' from the 'Terminal' menu.
- Select 'Create tasks.json file from template entry' from the dropdown menu.
- Since we want to write our own custom task, select 'Others' from the list.
- This should open a pre-made
Tasks.json
file. Replace its contents with the one provided in this repo. - Notice the value
ASST3
as the argument to various commands. Replace that value with the current assignment #. This is case-sensitive!
- Now you should be able to directly click
Ctrl+Shift+B
to run the default build task (currently set to 'Build OS'). You can change the default build task to any task you wish by changing the 'isDefault' key to a 'true' value. - That's it.
For more information: https://code.visualstudio.com/docs/editor/tasks