Siódme_21

 0    21 フィッシュ    michalesq
印刷 遊びます 自分をチェック
 
質問 - 答え -
How to display where doc files about program is
学び始める
rpm -qd <packagename>
How to look in directory /etc/ file with name motd
学び始める
find /etc -name motd
How to look in directory /etc/ files owned by root
学び始める
find /etc -user root
How to look in entire system files owned by user
学び始める
find / -user user
How to look in entire system files modified in last 3 days?
学び始める
find / -mtime -3
How to display data about the file?
学び始める
stat <nazwa pliku>
How to look in entire system files modified older than in last 3 days?
学び始める
find / -mtime +3
How to display id of user mary?
学び始める
id mary
Look in the entire system files and directories owned by a user with id 1002
学び始める
find / -uid 1002
How to look in entire system files owned by Jeff and open them
学び始める
find / -user jeff -type f -exec cat {}\;
How to look in entire system files owned by Jeff and copy them to /home/mary
学び始める
find / -user jeff -type f -exec cp {} /home/mary \;
How to reboot the system with systemctl command?
学び始める
systemctl reboot
How to reboot the system with shutdown command?
学び始める
shutdown -r
How to poweroff the system with shutdown command?
学び始める
shutdown -p
How to reboot the system in 5 minutes and inform users about it?
学び始める
shutdown +5 shutdown messages goes here
How to cancel rebooting the system with shutdown command?
学び始める
shutdown -c
How to schedule a reboot at certain hour with shutdown command?
学び始める
shutdown -r 00:00
How to reboot the system NOW with shutdown command?
学び始める
shutdown -r now
How to stop the ststem with systemctl command?
学び始める
systemctl halt
How to schedule halt of the system with shutdown command?
学び始める
shutdown -H 00:00
Where targets are located in the system
学び始める
/usr/lib/systemd

コメントを投稿するにはログインする必要があります。