Bca 2 Os Unit-4 Assignment Quiz
Bca 2 Os Unit-4 Assignment Quiz
`mkdir`
`rmdir`
`touch`
`newdir`
`start`
`login`
`connect`
`enter`
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 1/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
`help`
`man`
`info`
docs`
`exit`
`logout`
Both A and B
`quit`
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 2/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
`file name.txt`
`file_name.txt`
`file:name.txt`
`file*name.txt`
`du`
`df`
`diskusage`
`size`
`/usr`
`/home`
`/var`
`/tmp`
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 3/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
Only directories
Hidden files
Disk usage
How can you specify a file with spaces in its name? * 1/1
Use quotes
Both A and B
`chmod`
`chown`
`cp`
`mv`
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 4/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
Concatenates files
Both A and B
Deletes files
What command would you use to search for a specific text in files? * 1/1
`find`
`grep`
`locate`
`search`
Notepad
Word
vi
Excel
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 5/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
Backup files
Encrypt data
`cmp`
`diff`
Both A and B
`compare`
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 6/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
`cat`
`more`
`head`
`tail`
Gives read, write, execute permissions to the owner and read, execute
permissions to others
Which command is used to list all files including hidden ones? * 1/1
`ls`
`ls -a`
`ls -l`
`ls -h`
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 7/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
Current directory
Parent directory
Home directory
Root directory
File permissions
Network connections
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 8/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
What command would you use to view the first 10 lines of a file? * 0/1
`tail`
`head`
`cat`
`more`
Correct answer
`head`
`who`
`users`
`whoami`
`id`
Both A and B
`command | file`
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZN… 9/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
`stop`
`kill`
`terminate`
`end`
Removes a file
Removes a directory
Renames a file
Moves a directory
`search`
`find`
`locate`
Both B and C
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZ… 10/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
`top`
`ps`
`htop`
Both A and C
Displays the last few lines of a file and waits for new lines
A copy of a file
A temporary file
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZ… 11/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
`chmod`
`chown`
`chgrp`
`mv`
Copies a file
Removes a directory
Moves a file
Correct answer
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy
Forms
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZ… 12/13
10/15/24, 8:04 PM BCA 2 OS UNIT-4 ASSIGNMENT QUIZ
https://docs.google.com/forms/d/e/1FAIpQLSernWNUj_jHo7PvEifIc0_UMoSFJ38VzpidMRSnbkKNJ38scg/viewscore?viewscore=AE0zAgBddeRpxZ… 13/13