单选题It has been determined that print jobs from an application are not being removed from the system after they have been printed. To remove these jobs from the /var/spool directory, which cron entry will remove files more than 7 days old?()A  find /var/sp

题目
单选题
It has been determined that print jobs from an application are not being removed from the system after they have been printed. To remove these jobs from the /var/spool directory, which cron entry will remove files more than 7 days old?()
A

 find /var/spool/lpd/qdir -mtime -7 -type f -exec rm -f {}/

B

 find -name /var/spool/* -f rm {}/

C

 find -name /var/spool/lpd/* -exec rm {}/

D

 find /var/spool/lpd/qdir -mtime +7 -type f -exec rm -f {}/

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

After applying a new ACL on a device, its CPU utilization rose significantly and many messages startingwith "%SEC-6-IPACCESSLOG" appeared on the Syslog server.What can be done to resolve this situation?()

  • A、Increase memory allocation for ACLs.
  • B、Remove all entries from the ACL and use a single permit ip any any statement.
  • C、Remove the log keyword from each ACL entry.
  • D、Reboot the device after the ACL has been applied.

正确答案:C

第2题:

An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()

  • A、cd /var/spool
  • B、lcd /var/spool
  • C、cd /usr/bin /var/spool
  • D、lcd /usr/bin /var/spool

正确答案:A

第3题:

An operator wants to view all the scheduled jobs on a system. Which of the following locations would house scheduled jobs?()

A. /etc/var/spool

B. /var/spool/cron

C. /var/sched/jobs

D. /usr/sched/crontabs


参考答案:C

第4题:

A System p administrator suspects they are receiving an error from one of their nightly cron jobs. The  job is: 0 1 * * * /usr/local/bin/nightlycheck.pl Where should the administrator first look for errors reported by  this cron job()

  • A、/var/log/syslog.out
  • B、var/log/cron.log
  • C、/var/spool/cron/logs
  • D、mail

正确答案:D

第5题:

ou have a computer that runs Windows 7. A printer is installed on the computer. You remove the Everyonegroup from the access control list (ACL) for the printer, and then you share the printer. You need to ensurethat members of the Sales group can modify all the print jobs that they submit. You must prevent Salesgroup members from modifying the print jobs of other users.  What should you do?( )

  • A、From the printer s properties, assign the Print permission to the Sales group.
  • B、From the printer s properties, assign the Manage Documents permission to the Sales group.
  • C、From the local Group Policy, assign the Increase scheduling priority user right to the Sales group.
  • D、From the local Group Policy, assign the Take ownership of files or other objects user right to the Salesgroup.

正确答案:A

第6题:

A System p administrator needs to document system changes that have occurred recently. The company has a policy of making all possible changes via the smit interface.  Which of the following files would show the commands that have been performed from within smit and their resulting output()

  • A、/smit.log
  • B、/smit.script
  • C、/var/log/smit.log
  • D、/.history

正确答案:A

第7题:

An administrator needs to document system changes that have occurred recently. The company has a policy of making all possible changes via the smit interface. Which file would show the commands that have been performed from within smit and their resulting output?()

  • A、/smit.log
  • B、/smit.script
  • C、/var/log/smit.log
  • D、/var/log/smit.script

正确答案:A

第8题:

An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()

A. cd /var/spool

B. lcd /var/spool

C. cd /usr/bin /var/spool

D. lcd /usr/bin /var/spool


参考答案:A

第9题:

A patch has been applied to the operating system.  After rebooting, the system is hung.  Which of the following commands should have been performed to prevent the system from hanging?()

  • A、 lppchk, bosboot 
  • B、 lslpp -l, oslevel 
  • C、 installp -C, lppchk 
  • D、 bosboot, synclvodm 

正确答案:A

第10题:

After a system has rebooted from a system crash, which of the following commands should be run to find the location of the dump?()

  • A、 lsvg -l rootvg 
  • B、 sysdumpdev -e 
  • C、 sysdumpdev -L 
  • D、 cd /var/adm/ras

正确答案:C

更多相关问题