网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下面的命令可以实现只能往/var/log/messages里面追加数据,但不能删除的功能。 chattr +a /var/log/messages


参考答案和解析
本地磁盘
更多 “下面的命令可以实现只能往/var/log/messages里面追加数据,但不能删除的功能。 chattr +a /var/log/messages” 相关考题
考题 记录用户错误登录情况的日志文件是()。 A、/var/log/lastlogB、/var/log/wtmpC、/var/log/btmpD、/var/run/utmp

考题 以下哪个日志记录有用户登录信息() A、/var/log/boot.logB、/var/log/xferlogC、/var/log/wtmpD、/var/run/utmp

考题 Which command will display messages directed to thesystem console?() A.alog -t console -oB.cat /var/adm/ras/conslogC.cat /var/log/all/console.logD.grep CONSOLE /var/adm/messages

考题 ASystempadministratorneedstoruntheannualreval.shscript,directingstandarderrorto/var/log/reval.err,andappendingstandardoutto/var/log/reval.log.Howcanthisbeaccomplished() A.annualreval.sh21/var/log/reval.log2/var/log/reval.errB.annualreval.sh1/var/log/reval.log2/var/log/reval.errC.annualreval.sh21/var/log/reval.log/var/log/reval.errD.annualreval.sh1/var/log/reval.log2/var/log/reval.err

考题 如何查看Linux系统的启动后,所产生的Kernel日志信息()。A、dmesgB、cat/var/log/messagesC、cat/var/log/boot.logD、cat/var/log/secure

考题 命令“grep’error’/var/log/messages”的作用是()A、在/var/log/messages文件中搜索并显示带有字符串“error”B、在/var/log/messages目录下搜索状态为error的文件C、修复/var/log/messages文件中包含的错误D、以root用户身份强行打开当前状态为error的/var/log/secure文件

考题 Which log file shows previous installation information? ()A、 /var/adm/ras/bosinstlog B、 /var/adm/ras/devinst.log C、 /var/adm/rshlog D、 /var/adm/sulog

考题 A system administrator noticed several error messages on the screen while the system was booting up; but was not able to write them down. Where should the system administrator look for the console log, assuming it is in the default location?()A、/tmp/conslogB、/etc/console.logC、/var/adm/ras/conslogD、/var/ras/console.log

考题 sendmail日志功能可以用来记录该服务的事件,其日志保存在哪个目录下。()A、/var/log/messageB、/var/log/maillogC、/var/mail/maillogD、/var/mail/message

考题 在HP-UX系统中,()不是查看errlog的正确位置。A、var/adm/syslog/syslog.logB、/var/opt/resmon/log/enevt/logC、MP卡下SEL查看D、/var/etc/hardwarE.log

考题 DNS的日志文件存放于哪个目录下?()A、/etc/log/B、/var/log/C、/var/adm/syslog/D、/etc/adm/log/

考题 默认情况下,()中指定了记录哪些日志信息以及这些信息的保存位置。A、/etc/syslog.confB、/etc/log.confC、/var/log/messagesD、/var/log/syslog

考题 下列哪些日志记录了系统的警告信息()。A、/var/log/vsftp.logB、/var/log/messagesC、/var/log/http.logD、/var/log/boot.log

考题 Which command will display messages directed to thesystem console?()A、alog -t console -oB、cat /var/adm/ras/conslogC、cat /var/log/all/console.logD、grep CONSOLE /var/adm/messages

考题 A System p administrator noticed several error messages on the screen while the system was booting up; but was not able to write them down.  Where should the system administrator look for the console log, assuming it is in the default location()A、/var/log/conslogB、/var/log/console.logC、/var/adm/ras/conslogD、/var/ras/console.log

考题 Where is the su log located?()A、 /var B、 /var/adm C、 /var/perf D、 /var/spool

考题 Which file does the errpt command pull its information from? ()A、 /var/adm/ras/errlog B、 /var/adm/ras/diag_log C、 /var/adm/ras/bootlogD、 /var/adm/ras/devinst.log

考题 What is the primary syslog file?()A、/var/syslog-fileB、/var/syslogC、/var/log/messagesD、/log-file

考题 A System p administrator needs to run the annualreval.sh script, directing standard error to /var/log/reval.err, and appending standard out to /var/log/reval.log.  How can this be accomplished ()A、annualreval.sh 21 /var/log/reval.log 2 /var/log/reval.errB、annualreval.sh 1/var/log/reval.log 2/var/log/reval.errC、annualreval.sh 21 /var/log/reval.log /var/log/reval.errD、annualreval.sh 1/var/log/reval.log 2/var/log/reval.err

考题 如何显示最近登录的用户列表()A、lastB、vi/var/log/wtmpC、whoD、tail/var/log/wmtp

考题 单选题如何查看过去的登入记录?()A lastB vi/var/log/wtmpC whoD tail/var/log/wmtp

考题 单选题下列哪些日志记录了系统的警告信息()。A /var/log/vsftp.logB /var/log/messagesC /var/log/http.logD /var/log/boot.log

考题 单选题Which log file shows previous installation information? ()A  /var/adm/ras/bosinstlog B  /var/adm/ras/devinst.log C  /var/adm/rshlog D  /var/adm/sulog

考题 单选题A system administrator noticed several error messages on the screen while the system was booting up; but was not able to write them down. Where should the system administrator look for the console log, assuming it is in the default location?()A /tmp/conslogB /etc/console.logC /var/adm/ras/conslogD /var/ras/console.log

考题 单选题A System p administrator noticed several error messages on the screen while the system was booting up; but was not able to write them down.  Where should the system administrator look for the console log, assuming it is in the default location()A /var/log/conslogB /var/log/console.logC /var/adm/ras/conslogD /var/ras/console.log

考题 单选题DNS的日志文件存放于哪个目录下?()A /etc/log/B /var/log/C /var/adm/syslog/D /etc/adm/log/

考题 单选题What is the primary syslog file?()A /var/syslog-fileB /var/syslogC /var/log/messagesD /log-file

考题 单选题sendmail日志功能可以用来记录该服务的事件,其日志保存在哪个目录下。()A /var/log/messageB /var/log/maillogC /var/mail/maillogD /var/mail/message