Ask Question
24 December, 01:12

You are managing an FTP server installed in Ubuntu Server. The server has created a very large log le, vsftpd. log. Which command is appropriate to search the log le for activity of the user charlie?

a. sudo cat / var/log/vsftpd. log

b. grep "charlie" / var/log/vsftpd. log

c. sudo grep "charlie" / var/log/vsftpd. log

d. cat / var/log/vsftpd. log

+4
Answers (1)
  1. 24 December, 04:29
    0
    c. sudo grep "charlie" / var/log/vsftpd. log

    Explanation:

    sudo is used to access / var/log files since it requires superuser access grep command is used to search for a string of characters in a specified file "charlie" is the string searched in the log files / var/log / is where the log files are in linux systems
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “You are managing an FTP server installed in Ubuntu Server. The server has created a very large log le, vsftpd. log. Which command is ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers