CS 604 Assignment 1 Solution BC 210410285
CS 604 Assignment 1 Solution BC 210410285
BC210410285
Please carefully read the following instructions before attempting the assignment.
You should consult the recommended books to clarify your concepts, as handouts are insufficient.
You are supposed to submit your assignment in Doc or Docx format.
Any other formats like scanned images, PDF, ZIP, RAR, PPT, BMP, etc. will not be accepted.
Topic Covered:
Browsing UNIX/Linux directory structure
Useful UNIX/Linux commands
Topic Covered
Lecture 01 to Lecture 09
NOTE
No assignment will be accepted via email after the due date (whether it is load shedding, internet
malfunctioning, etc.). Hence, refrain from uploading assignments within the last hour of the deadline. It is
recommended that the solution be uploaded at least two days before its closing date.
If you find any mistakes or confusion in the assignment (Question statement), please consult your instructor
before the deadline. After the deadline, no queries will be entertained in this regard.
Solution:
i) Change the directory to the Desktop.
ii) Show the absolute path name of the working directory (Desktop).
Solution File
BC210410285
vi) Create a file with the name student_id.txt (replace student_id with your student id) and write your student id as
the file's content.
viii) Move back to the Desktop directory and show the contents of the Desktop.
Following is the output for the contents of the Desktop, considering that your ID is BC12345678.
x) Show the contents of the Desktop again, but also show the contents of the subdirectories.
Following is the output for the contents of the Desktop after removing the directory with your student ID.
Solution File
BC210410285