diff --git a/README.md b/README.md index f8409d3..8f12f4d 100644 --- a/README.md +++ b/README.md @@ -785,9 +785,15 @@ TCP establishes a connection between the client and the server to guarantee the You can use the commands cron and at. With cron, tasks are scheduled using the following format: +*/30 * * * * bash myscript.sh Executes the script every 30 minutes. + The tasks are stored in a cron file. + + +Alternatively if you are using a distro with systemd it's recommended to use systemd timers. +
@@ -813,9 +819,11 @@ Using the `chmod` command. * 644 * 750
-777 - means you are lazy -644 - owner has read+write permissions and everyone else can only read -750 - owner can do anything, group can read and execute and others can do nothing +
+777 - You give the owner, group and other: Execute (1), Write (2) and Read (4); 4+2+1 = 7.
+644 - Owner has Read (4), Write (2), 4+2 = 6; Group and Other have Read (4).
+750 - Owner has x+r+w, Group has Read (4) and Execute (1); 4+1 = 5. Other have no permissions.
+
@@ -827,8 +835,23 @@ Using the `chmod` command.
-What is systemd?
-
+What is systemd?
+ +Systemd is a daemon (System 'd', d stands from daemon). + +A daemon is a program that runs in the background without direct control of the user, although the user can at any time +talk to the daemon. + +systemd has many features such as user processes control/tracking, snapshot support, inhibitor locks.. + + +If we visualize the unix/linux system in layers, systemd would fall directly after the linux kernel. + +Hardware -> Kernel -> Daemons, System Libraries, Server Display. + + + +
On a system which uses systemd, how would display the logs?