For context, I was selected for the post of Teaching Assistant for the introductory computer programming course at Bits Pilani.

Even though the course covers the basics of C programming and the Unix command line, I will spend about 15-30 min revising my concepts before each class, which would serve two purposes, the most important one being that I would n’t want the professor who selected me regretting his decision and secondly, so that I can work on some fundamentals which I may not have completely grasped.

The posts will have notes which would help in better understanding the fundamentals of the course.

Agenda

Unix command line basics — cd, cat, wc, ls, pwd, rm, mkdir, touch

Notes

$ \ $

  • Deleting directories

    rmdir works only for emtpy directories but rm -r works even for non empty directories. Sometimes, rm -rf would be required if “force” is required