Unix – Section 1


Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

Warning: Undefined variable $ext in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/show-hidecollapse-expand/bg_show_hide.php on line 281

6. Which command is used to remove a directory?

A. rd
B. rmdir
C. dldir
D. rdir
E. None of the above

Correct Answer: B. rmdir
Advertisement

7. Which of the following keys is used to replace a single character with new text?

A. S
B. s
C. r
D. C
E. None of the above

Correct Answer: B. s
Advertisement

8. Which command is used to extract specific columns from the file?

A. cat
B. cut
C. grep
D. paste
E. None of the above

Correct Answer: B. cut
Advertisement

9. Which command sends the word count of the file infile to the newfile.

A. wc infile >newfile
B. wc <infile >newfile
C. wc infile – newfile
D. wc infile | newfile
E. None of the above

Correct Answer: A. wc infile >newfile
Advertisement

10. Which command is used to remove the read permission of the file ‘note’ from both the group and others?

A. chmod go+r note
B. chmod go+rw note
C. chmod go-x note
D. chmod go-r note
E. None of the above

Correct Answer: D. chmod go-r note
Advertisement

Warning: Undefined variable $in_same_cat in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27

Warning: Undefined variable $excluded_categories in /www/wwwroot/gkfeed.com/public_html/wp-content/plugins/EXP.GKFEED.COM/function.php on line 27
NEXT POST >Unix - Section 2

Leave A Comment?