Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux learns the sixth lesson (2019.9.15)

Shulou Source: shulou.com Published: 2022-06-03 08:04:17 10月02日 Update

Tonight, Lao Liu first told us about the conclusion of the fourth chapter, talking about the for loop statement, which is used to allow the script to read multiple information at once. Lao Liu gave us an example of creating a user; while is a conditional loop statement, which allows the script to loop continuously according to conditions; the case statement matches one data in multiple ranges; at the end of the fourth chapter, it also talks about the differences between the planning task commands at and crontab. Then come to the fifth chapter user identity and file permissions, useradd commands to create users, userdel delete users, usermod modify user attributes, groupadd create groups, groupdel delete groups, passwd commands are used to change user passwords; finally, we talk about the conversion and meaning of file permissions rwx.

Lao Liu said tonight that when it was time for the exam, he was suddenly nervous. After all, he was a rookie. After all, he had just come into contact with the IT industry for a year. After all, he was under a little pressure.

Lao Liu website address: linuxprobe.com

Tags: Users Liu commands statements loops multiple files permissions conditions scripts chapter 4 one-time continuous tasks functions examples information pressure meaning address Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MariaDB MySQL Shulou Technology NVidia