Siódme_21

 0    21 Datenblatt    michalesq
Drucken spielen überprüfen
 
Frage - Antworten -
How to display where doc files about program is
Lernen beginnen
rpm -qd <packagename>
How to look in directory /etc/ file with name motd
Lernen beginnen
find /etc -name motd
How to look in directory /etc/ files owned by root
Lernen beginnen
find /etc -user root
How to look in entire system files owned by user
Lernen beginnen
find / -user user
How to look in entire system files modified in last 3 days?
Lernen beginnen
find / -mtime -3
How to display data about the file?
Lernen beginnen
stat <nazwa pliku>
How to look in entire system files modified older than in last 3 days?
Lernen beginnen
find / -mtime +3
How to display id of user mary?
Lernen beginnen
id mary
Look in the entire system files and directories owned by a user with id 1002
Lernen beginnen
find / -uid 1002
How to look in entire system files owned by Jeff and open them
Lernen beginnen
find / -user jeff -type f -exec cat {}\;
How to look in entire system files owned by Jeff and copy them to /home/mary
Lernen beginnen
find / -user jeff -type f -exec cp {} /home/mary \;
How to reboot the system with systemctl command?
Lernen beginnen
systemctl reboot
How to reboot the system with shutdown command?
Lernen beginnen
shutdown -r
How to poweroff the system with shutdown command?
Lernen beginnen
shutdown -p
How to reboot the system in 5 minutes and inform users about it?
Lernen beginnen
shutdown +5 shutdown messages goes here
How to cancel rebooting the system with shutdown command?
Lernen beginnen
shutdown -c
How to schedule a reboot at certain hour with shutdown command?
Lernen beginnen
shutdown -r 00:00
How to reboot the system NOW with shutdown command?
Lernen beginnen
shutdown -r now
How to stop the ststem with systemctl command?
Lernen beginnen
systemctl halt
How to schedule halt of the system with shutdown command?
Lernen beginnen
shutdown -H 00:00
Where targets are located in the system
Lernen beginnen
/usr/lib/systemd

Sie müssen eingeloggt sein, um einen Kommentar zu schreiben.