Ask Question
21 November, 17:31

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

+1
Answers (1)
  1. 21 November, 19:36
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers