10 kasulikku juhuslikku Linuxi intervjuu küsimust ja vastust
Väikeseks üllatuseks ei paku me seekord intervjuuküsimust ühelegi konkreetsele teemale, vaid juhuslikele teemadele. Need küsimused aitavad teil kindlasti intervjuusid lõhkuda lisaks oma teadmistele.
# zcat f phpshell2.4.tar.gz
Rakenduses syslogd töötades genereeritakse logifail asukohas '/ var/log/syslog'. Rakendus syslogd on väga kasulik Linuxi süsteemide tõrkeotsinguks. Logifaili näidis näeb välja nagu allpool.
Avage fail '/etc/hosts.deny'.
# vi /etc/hosts.deny
Lisage faili lõppu IP-aadress, mille soovite blokeerida.
# # hosts.deny This file contains access rules which are used to # deny connections to network services that either use # the tcp_wrappers library or that have been # started through a tcp_wrappers-enabled xinetd. # # The rules in this file can also be set up in # /etc/hosts.allow with a 'deny' option instead. # # See 'man 5 hosts_options' and 'man 5 hosts_access' # for information on rule syntax. # See 'man tcpd' for information on tcp_wrappers # vsftpd:172.16.16.1
# find /home/ name '*.tar' | xargs rm rf
# find -name “*.txt” | xargs grep “Tecmint”
# echo please save your work, immediately. The server is going down for Maintenance at 12:30 Pm, sharply. | wall
Praeguseks kõik. Olen jälle siin, huvitava artikliga varsti. Siiani olge Tecmintiga kursis ja ühenduses. Ärge unustage, et annate oma väärtuslikku tagasisidet allpool olevas kommentaaride jaotises.