PrepAway - Latest Free Exam Questions & Answers

Which TWO commands will find the path for the binary vim?

Which TWO commands will find the path for the binary vim?

PrepAway - Latest Free Exam Questions & Answers

A.
man vim

B.
whereis vim

C.
apropos vim

D.
which vim

Explanation/Reference:
man displays the manual pages of a command, and apropos shows related commands

Examples:
$ which vim
/usr/bin/vim
$ whereis vim
vim: /usr/bin/vim.basic /usr/bin/vim.tiny /usr/bin/vim /usr/bin/vim.gnome /etc/vim /usr/share/vim /usr/share/man/man1/vim.1.gz


Leave a Reply