Unix – 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

1. The File that contains a set of instructions which are performed when a user logs in, is

A. .exrc
B. .profile
C. .autoexec
D. autoexec.bat
E. None of the above

Correct Answer: B. .profile
Advertisement

2. The octal representation 652 indicates

A. Execute permission for the owner
B. Write permission for others
C. Read and write permission of groups
D. All of the above
E. None of the above

Correct Answer: B. Write permission for others
Advertisement

3. Which of the following command is used to count just the number of lines contained in a file?

A. wc -l
B. wc -c
C. wc -w
D. wc -r
E. None of the above

Correct Answer: A. wc -l
Advertisement

4. Which of the following command is used to go to home directory?

A. cd..
B. cd/
C. cd
D. cd HOME.
E. None of the above

Correct Answer: C. cd
Advertisement

5. Which command is used to move all files to the bin sub-directory of the parent directory?

A. mv *.* /bin/
B. mv * /bin/*
C. mv * ../bin
D. mv * ../bin *.*
E. None of the above

Correct Answer: C. mv * ../bin
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 2

Leave A Comment?