, its GID is 2016;Groupadd Distro-g 2016(2), create user Mandriva, whose ID number is 1005; basic group is distro; Useradd mandriva-u 1005-g distro(3), create user Mageia, whose ID number is 1100, home directory is/home/linux;Useradd mageia-u 1100-s-d/home/linux(4), to the u
convert their names to uppercase and save them to the/tmp/etc.conf file.ls/etc | grep '. conf$ ' | Tr ' A-Z ' A-Z ' >/tmp/etc.conf7. Displays the total number of sub-directories or files in the/var directory.[Email protected] ~]# Ls/var |wc-w21st8. Remove the names of the 10 groups with the smallest number of the third field in the/etc/group file.[Email protected] ~]# cat/etc/group |sort-t:-n-k3|head-10|cut-d:-f1RootBinDaemonSyscd/TtyDiskLpMemKmem9, the contents of the/etc/fstab and/etc/issue f
convert their names to uppercase and save them to the/tmp/etc.conf file.ls/etc | grep '. conf$ ' | Tr ' A-Z ' A-Z ' >/tmp/etc.conf7. Displays the total number of sub-directories or files in the/var directory.[Email protected] ~]# Ls/var |wc-w21st8. Remove the names of the 10 groups with the smallest number of the third field in the/etc/group file.[Email protected] ~]# cat/etc/group |sort-t:-n-k3|head-10|cut-d:-f1RootBinDaemonSyscd/TtyDiskLpMemKmem9, the contents of the/etc/fstab and/etc/issue f
. Displays the total number of sub-directories or files in the/var directory.[Email protected] ~]# Ls-r/var | Wc-l6. Remove the names of the 10 groups with the smallest number of the third field in the/etc/group file.[Email protected] ~]# sort-nr-t ': '-K-3/etc/group | tail-10 | Cut-d ': '-F 17, the contents of the/etc/fstab and/etc/issue files are merged into the same content and saved to the/tmp/etc.test file.[Email protected] ~]# cat/etc/fstab/etc/issue >/tmp/etc.test8. Summarize the methods
the/var directory.
~]# ls -d /var/* | wc -l
8. Remove the name of the 10 group with the lowest numerical value in the third field in the/etc/group file.
~]# sort -t: -k3 -n /etc/group | cut -d: -f1 | head
9. The contents of the/etc/fstab and/etc/issue files are merged into the same content and saved to the/tmp/etc.test file.
~]# cat /etc/fstab /etc/issue > /tmp/etc.test
10. Summarize the methods used to describe user and group management commands and complete the following exercises:
(1)
as far as Linux OS concern "RHCE" crown jewel of Linux certifications ", so I started working on Redhat certification. after finishing RHCE, I got the idea about other distro of Linux available in the market and used in production. once I started using other flavor of Linux
commands:GroupaddGroupmodGroupdelgpasswdnewgrp Pre-logon user temporarily added to an existing groupSu:switch UserTo switch users:Su Username-L--login make the shell a login shell-C--command ' command ' pass a single command to the shell With-c# su-l User1-c ' ls-l-a 'Practice:1, create a user Mandriva, whose ID number is 2002, the basic Group is distro (group ID 3003), the additional group is Linux;# Gro
password for groupNEWGRP Group name: Log in to the new group and exit with exitPractice:1 Create user Mandriva,id for 2002, Basic Group distro (group id3003), additional group Linux# groupadd-g 3003 distro#groupadd Linux#useradd-u 2002-g distro-g
logon Organization
-K
Must be used with-m to copy the contents of a directory to the user's HOME directory.
-M
Create a user's HOME directory
-M
Do not create the user's HOME directory
-N
Create a new group with the same username and name
-R
Create a system account
-P passwd
Specify the default password for the user account
-S shell
Specify the default logon shell
-U uid
Specify a unique UID for the
Brief introduction:Cobbler can be used to quickly establish a Linux network installation environment, it has installed the Linux network Technology threshold, from the college level of education, success down to junior high school, even the shoemaker can learn.Network installation Server suite Cobbler (cobbler) Once upon a time, we have been working as a promising career for migrant workers. Since Red Hat l
curve because it uses the familiar WIMP interface. linux Mint has taken the great Ubuntu base and created a desktop environment that borrowed the best features from Gnome 2. it's as easy to install and maintain as Ubuntu.
Pros:Every application that's available for Ubuntu wowould technically work on Linux Mint.They have forked the file manager so it has more features that the file manager of Ubuntu.Unlike
number of the third field in the/etc/group file.SORT-T:-k3n/etc/group | Head-n 10 | Cut-d:-f19. Merge the contents of the/etc/fstab and/etc/issue files into the same content and save to/tmp/etc. Test file.Cat/etc/fstab/etc/issue >/tmp/etc.test10. Summarize the methods used to describe the user and group management commands and complete the following exercises:(1), create group distro, its GID is 2016;Groupadd-g d
propertiesFormat: chage option USERNAME-M: Minimum use time-M : Maximum use time-I: Inactivity periodSuch as:#chage-M 2 testing9. IdView your account informationFormat: ID option USERNAME-U UID: View account ID-G GID: View Group IDSuch as:# Id-u Testing10, SuSwitch usersFormat su option USERNAMESuch as:# Su-rootComprehensive Exercises:1 , create users Mandriva, its ID to be 2200 , the Base Group is distro, the group ID is 3300, and the additional gr
Tags: Linxu automation system Installation System automationAutomatic operation and maintenance of Linux Automation installation systemFor CentOS and Rhel1 Setting the Epel sourcerpm-ivh?http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmDownload your own installationRPM-IVH epel-release-6-8.noarch.rpmRPM--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6Installing Cobbler-related packagesIf you want cobbler to manage dhcp,dns, you
.
3D Video card with OpenGL acceleration Support (min 64M RAM)
ALSA and OSS Sound backend.
Linux Kernel v2.6+ and glibc v2.2.4+ is recommended. (part of the most modern Linux distro)
DOOM3 PC Retail Windows version DVD/CD.
The following instructions is tested on both Fedora and Ubuntu Linux 8.04 (b
/wKioL1f4YGTz7zuuAAAQ_ 49-0r8076.png "alt=" Wkiol1f4ygtz7zuuaaaq_49-0r8076.png "/>(2), create user Mandriva, whose ID number is 1005; basic group is distro;Command Useradd-u 1005-g distro Mandriva650) this.width=650; "title=" 5809.png "src=" http://s1.51cto.com/wyfs02/M00/88/74/ Wkiom1f4ynxjqylmaaaljhgf3is146.png "alt=" Wkiom1f4ynxjqylmaaaljhgf3is146.png "/>(3), create user Mageia, whose ID number is 1100,
) Slackware
Web: http://www.Slackware.com
Comment: The only dissatisfaction with this site is that there are too many images and slow download speeds. Relatively speaking, the Slackware site is a beautiful, clean, black and white image
Design
And links are created for all important materials.
5)
Linux
-Mandrake
Web: http://www.Linux-Mandrake.com
Comment: The Linux-Mandrake website is indeed an e
Blkid (8) for more info#/DEV/MAPPER/CENTOS_LPZ-ROOT/XFS Defaults 0 0Uuid=8e1071af-f465-40a6-945a-eaf70eff0b05/boot XFS Defaults 0 0/dev/mapper/centos_lpz-swap swap swap defaults 0 0\sKernel \ r on an \msummarize the methods used to describe the user and group management commands and complete the following exercises:
Create a group distro with a GID of 2016
[Email protected]/]# Groupadd distro
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.