MajorAssignment 1 2019
MajorAssignment 1 2019
MAJOR ASSIGNMENT-1
UNIX Systems Programming (CSE 3041)
Submission guidelines
The following points should be strictly followed for submission. Any deviation from the rule may lead to
zero credit for the assignment.
• Copied assignment is not allowed. If the assigment is found to be copied, all peers may be awarded
zero mark.
• Type the commands you have issued against each question and the subsequent subquestion if any.
Write the description and explanation for each question if it require so.
—————————————————————————————————————————
1. Starting from your HOME/REGISTRATION directory, describe what commands you would use to
do the following:
2. One of the programs you are running prints out a huge stream of text, forcing you to scroll up and
down on your terminal. What Keyboard shortcut can you use to force the output to stop and again
resume the printing flow?
1
Department of Computer Science and Engineering
Institute of Technical Education & Research, SOA, Deemed to be University
3. Your C program is stuck in an infinite loop. Describe how you would terminate your program: a)
using a key sequence b) using the kill command.
4. If you had a directory full of text named TXT 0001.txt ,TXT 0002.txt ...TXT 9999. how would you
do the followings:
6. You are currently in your working directory. Print the long list of all files and directory in reverse
sorted order. And also counts the total number of files and directories.