Ask 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 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. 29 November, 03:42
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers