Unix – Section 2


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

1. Which of the following files contains information related to password aging?

A. Shadow
B. password
C. profile
D. All the three
E. None of the above

Correct Answer: B. password
Advertisement

2. Which command will be used with vi editor to replace text from cursor to right?

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

Correct Answer: B. R
Advertisement

3. Which of the following commands is used to rename a file?

A. rename
B. remove
C. mv
D. ren
E. None of the above

Correct Answer: C. mv
Advertisement

4. Which of the following is not a filter?

A. cat
B. grep
C. wc
D. sort
E. None of the above

Correct Answer: E. None of the above
Advertisement

5. Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory?

A. copy programs/wb misc/wbx
B. cp programs/wb misc/wbx
C. tar programs/wb misc/wbx
D. copy a:programs/wb b:misc/wbx
E. None of the above

Correct Answer: B. cp programs/wb misc/wbx
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 POSTUnix - Section 1
NEXT POST >Unix - Section 3

Leave A Comment?