10 noderīgi nejauši izvēlēti Linux intervijas jautājumi un atbildes


Šoreiz par nelielu pārsteigumu mēs nesniedzam intervijas jautājumu par kādu konkrētu tēmu, bet gan par nejaušām tēmām. Šie jautājumi noteikti palīdzēs jums uzlauzt intervijas un papildināt savas zināšanas.

# zcat ­f phpshell­2.4.tar.gz

Palaižot “syslogd” lietojumprogrammu terminālā, žurnāla fails tiek ģenerēts vietā “/ var/log/syslog”. Lietojumprogramma syslogd ir ļoti noderīga Linux sistēmu problēmu novēršanā. Žurnāla faila paraugs izskatās līdzīgs zemāk redzamajam.

Atveriet failu “/etc/hosts.deny”.

# vi /etc/hosts.deny

Pievienojiet bloķējamo IP adresi faila apakšdaļā.

#
# 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

Tas pagaidām ir viss. Es būšu atkal šeit, ar ļoti interesantu rakstu pavisam drīz. Līdz tam sekojiet līdzi un sazinieties ar Tecmint. Neaizmirstiet sniegt vērtīgas atsauksmes komentāru sadaļā zemāk.