Linux – Section 3


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

26. What command do you use to delete a file?

A. rename
B. delete
C. rm
D. cp
E. None of the above

Correct Answer: C. rm
Advertisement

27. Which of the following command lists the last 10 lines of a file?

A. grep
B. tail
C. head
D. cat
E. None of the above

Correct Answer: B. tail
Advertisement

28. What command is used to terminate a process?

A. kill
B. cancel
C. haltsys
D. shutdown
E. None of the above

Correct Answer: A. kill
Advertisement

29. What command is used with vi editor to delete three words?

A. 3$d
B. 3 dw
C. 3 x
D. 3 dd
E. None of the above

Correct Answer: B. 3 dw
Advertisement

30. What command is used to assign only read permission to all three categories of the file’letter’?

A. chmod u + r, g + r, o – x letter
B. chmod ugo = r letter
C. chmod a – rw letter
D. chmod go + r letter
E. None of the above

Correct Answer: B. chmod ugo = r letter
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
< PREVIOUS POSTLinux - Section 2

Leave A Comment?