Last active
August 15, 2016 05:09
-
-
Save pinkeshbadjatiya/b76214879e428c8a935bbd0d2a7e32e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Must do or understand | |
===================== | |
- Absolute path (Full path) and relative path | |
- Following commands: | |
- ls, ls -a, ls -l | |
The students should be able to tell whether something is a regular | |
file or a directory using first column of "ls -l" output. | |
- mkdir, mkdir -p | |
- rmdir | |
- rm, rm -rf | |
- touch | |
- pwd | |
- cd, cd .. | |
- About home folder. One can go to home folder using: | |
- cd | |
- cd ~ | |
- cd $HOME | |
- Vi editor. Students should be able to | |
- Create a text file using vi and save it. | |
If possible ask them to write hello-world program in C. | |
Make them compile and execute this program. | |
- Re-open saved file and continue editing | |
- Copy/Paste/Delete lines of text. Word level or till end of line | |
etc. are optional. | |
- Repeat command to delete more number of lines | |
- Undo | |
- Tell students about swap file in case they do not close vim | |
properly. Tell how to deal with swap files. | |
Optionally | |
========== | |
- Additional commands from lecture 02 on filesystem and shell as per | |
availability of time, in the order they appear in the lecture slides |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment