1. Display the files or directories in the /etc directory that start with a non-letter followed by a letter and any other characters of any length.
2. Copy all files or directories starting with p and ending with non-digits in the /etc directory to the /tmp/mytest1 directory.
3. Convert the contents of the /etc/issue file to uppercase and save it to the /tmp/issue.out file
4. Please summarize and describe the usage of user and group management commands and complete the following exercises: (1) Create a group named distro with a GID of 2019.
(2) Create user mandriva, whose ID number is 1005; the basic group is distro;
(3) Create user mageia, whose ID number is 1100 and whose home directory is /home/Linux;
(4) Add a password to the user mageia, the password is mageedu, and set the user password to expire after 7 days
(5) Delete mandriva but keep its home directory;
(6) Create user slackware, whose ID number is 2002, basic group is distro, and additional group is peguin;
(7) Change the default shell of slackware to /bin/tcsh;
(8) Add an additional group admins for user slackware;
The above are all the relevant knowledge points introduced this time. Thank you for your learning. I hope that the content compiled by 123WORDPRESS.COM can help everyone. You may also be interested in:
|
<<: A brief discussion on the principle of Vue's two-way event binding v-model
>>: Win10 64-bit MySQL8.0 download and installation tutorial diagram
Table of contents forEach() (ES6) method map() (E...
By default, the reading and writing of container ...
Preface: MySQL master-slave architecture should b...
Border Style The border-style property specifies ...
html <div class="totop" v-show="...
One of the most important features of a style she...
As a newbie who has just come into contact with t...
<iframe src="./ads_top_tian.html" all...
mysql 5.7.21 winx64 installation and configuratio...
After spending half the night on it, I finally ma...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML ...
Table of contents Updatable Views Performance of ...
The background color of the table can be set thro...
HTTP Status Codes The status code is composed of ...
When inserting a set of data into the MySQL datab...