User groupsEach user in Linux must belong to a group and cannot be independent of the group. Each file in Linux has the concept of owner, group, other group-Owner-Group-Other groups-Change the group where the user is locatedOwnerTypically the
Script learning has not been the discipline, before all swallowed-style learning, now decided to comb the next idea, to see exactly where is the weakness. Before asking an architecture Normal University God, ask the shell script how to learn, others
Recently re-reviewed the knowledge of Linux, intends to launch a blog here to backup and knowledge restudying.1. linux file system and file type:/boot: Boot file directory, kernel files (vmlinuz), boot loader (bootloader,grub) are stored in this
Transferred from: http://151wqooo.blog.51cto.com/2610898/1162118If you want to find "hello,world!" in the current directory String, you can do this:Grep-rn "hello,world!" **: represents all files in the current directory, or it can be a file name-R
Course Outline? Unix/linux Development History? Free software? Linux application areas? Linux Learning MethodsUNIX Development History(1) 1965, Massachusetts Institute of America (MIT),General Electric Corporation (GE) and Bell Labs in the
Linux system Boot process: kernel boot, run init, system initialization, terminal Setup, user Login systemkernel boot : The computer starts up and then the BIOS posts, starting with the boot device (usually the hard disk) set up in the BIOS.After
Recently on the Wi-Fi hotspot driver, the startup parameters have been debugged, verify that the data can be connected to transfer.First, plug in the WiFi driver in the system startup script, configure the IP of the Wlan0insmod/system/vendor/modules/
mount 磁盘分区功能Syntax format: mount "option" "Device" "dir" mount [options] [device] [directory]Attention:
There must be at least one space between each element in the Mount command and in the following options, devices, and directories
Linux file Special permissions and additional permissions1. Special permission SuidScope: Only for binary command filesRole: Let ordinary users have the permissions of the binary command file ownerExample 1: Normal user using passwd command to
1. Account number and password1.1 Disabling or deleting unused accountsReduce the system useless account, reduce the security risk.Operation Steps
Use userdel the command to delete unnecessary accounts.
Use passwd -l the command to
"Rotatelogs"
Rolatelogs is a tool inside the apache2-utils. Installation commands under Ubuntu Server 18.04:
sudo apt install apache2-utils
Fixed log file with a maximum volume of 1 m: (see https://unix.stackexchange.com/a/3746
1. Download the JDK:wget--no-check-certificate--no-cookies--header "Cookie:oraclelicense=accept-securebackup-cookie"/HTTP/ Download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz2. Move the package
Installing Vsftp
Installing vsftp with the Yum command
#vsftpd-yadd FTP account and directory
First check the location of the nologin, usually under/usr/sbin/nologin (*nologin role is to restrict some users to the Shell
purpose : Copy the. BASHRC from the WI home folder to/tmp and rename it to BASHRC. There is a question about adding "~" to the code on the book.CP ~/.BASHRC/TMP/BASHRCThe following attempt was made to the command:Why not add "~" will go wrong, find
ConceptLimit the use of disk space for a user or a groupConditions to implement disk quotasRequires Linux kernel supportInstalling the Quota PackageFeatures of Linux disk quotasScope: For the specified file system (partition)Restricted objects: User
This section then explains the various folders under the root of the kernel source code, and explains the functions of some important folders.(1) Arch. Arch is an acronym for Architecture, meaning architecture. The Arch directory is a subdirectory
help command--help get help with ' command ' commandsDirectories and filesCd/home into ' home ' directoryCd.. Return to the top level directoryCD into your personal directoryCD-Back to top level directoryPWD Displays the current pathLS View files
Linux system directory Structure tree diagram:The following is an explanation of these directories:
/bin:The bin is the abbreviation for binary, which holds the most frequently used commands.
/boot:Here are some of the core files used when
All commands in the history output operationCtrl+p the output History command to scroll up.The CTRL + N output History command scrolls down.CTRL+B cursor Shift LeftCTRL+F Cursor Right ShiftCTRL + A cursor moves to the beginningCtrl+e cursor moves to
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service