Siódme_21

 0    21 flashcards    michalesq
In chơi tự kiểm tra
 
câu hỏi - câu trả lời -
How to display where doc files about program is
bắt đầu học
rpm -qd <packagename>
How to look in directory /etc/ file with name motd
bắt đầu học
find /etc -name motd
How to look in directory /etc/ files owned by root
bắt đầu học
find /etc -user root
How to look in entire system files owned by user
bắt đầu học
find / -user user
How to look in entire system files modified in last 3 days?
bắt đầu học
find / -mtime -3
How to display data about the file?
bắt đầu học
stat <nazwa pliku>
How to look in entire system files modified older than in last 3 days?
bắt đầu học
find / -mtime +3
How to display id of user mary?
bắt đầu học
id mary
Look in the entire system files and directories owned by a user with id 1002
bắt đầu học
find / -uid 1002
How to look in entire system files owned by Jeff and open them
bắt đầu học
find / -user jeff -type f -exec cat {}\;
How to look in entire system files owned by Jeff and copy them to /home/mary
bắt đầu học
find / -user jeff -type f -exec cp {} /home/mary \;
How to reboot the system with systemctl command?
bắt đầu học
systemctl reboot
How to reboot the system with shutdown command?
bắt đầu học
shutdown -r
How to poweroff the system with shutdown command?
bắt đầu học
shutdown -p
How to reboot the system in 5 minutes and inform users about it?
bắt đầu học
shutdown +5 shutdown messages goes here
How to cancel rebooting the system with shutdown command?
bắt đầu học
shutdown -c
How to schedule a reboot at certain hour with shutdown command?
bắt đầu học
shutdown -r 00:00
How to reboot the system NOW with shutdown command?
bắt đầu học
shutdown -r now
How to stop the ststem with systemctl command?
bắt đầu học
systemctl halt
How to schedule halt of the system with shutdown command?
bắt đầu học
shutdown -H 00:00
Where targets are located in the system
bắt đầu học
/usr/lib/systemd

Bạn phải đăng nhập để đăng bình luận.