88.6k views
5 votes
Which command can be used to create a new command that will monitor the contents of auth.log as they get added to the file? a. alias showauth=’tail -f /var/log/auth.log’ b. ln showauth=’tail -f /var/log/auth.log’ c. new showauth as ‘cat -f /var/log/auth.log’ d. create showauth=’tail -f /var/log/auth.log’

User Shyla
by
3.7k points

1 Answer

4 votes

Answer:

a. alias showauth='tail -f /var/log/auth.log'.

Step-by-step explanation:

The alias showauth='tail -f /var/log/auth.log'. command can be used to create a new command that will monitor the contents of auth.log as they get added to the file.

User Jpopesculian
by
3.3k points