This command is performed by default in the CentOS environment, unless otherwise specified.1. View IP:Ifconfig2. Create a specified user and assign to a group: Create user users and assign to root groupUseradd-g Root User3. Modify the password for
The role of Linux directories will be supplemented and truncated later
Directory Name
Directory role
/bin/
The directory where the system commands are stored, which can be performed by both ordinary and super
1.cat (concatenate continuous)Cat [-abentv] files to viewCompare violence,,, will show it allParameter explanation:-A: equivalent to the effect of-vet parameters (that is, the various invisible symbols of the file are displayed.) );-B: Lists line
syntax yum (optional) (parameter)Options-H: Displays help information;-Y: Answer "yes" to all questions;-C: Specify the configuration file;-Q: Quiet mode;-V: Verbose mode;-D: Set debug Level (0-10);-E: Set error level (0-10);-R: Sets the maximum
/var/log/cronLogs related to system timing tasks are logged/var/log/cupsLogs of printed information are logged/var/log/dmesgThe information of the kernel self-test in the system is recorded, and can be viewed directly by DMESG
1. One of the simpler methods of interprocess communication is pipeline operation/* ============================================================================ Name : Test.c Author : Wangchuan Version : Copyright : Your copyright
LVM2:Lvm:logical Volume Manager, Version:2The Dm:device Mapper device mapping component, which organizes one or more underlying block devices into a logical device module:Pv1+pv2+...>>vg>>lvThe VG will be PV into several pe,pe by default to 4M.After
1. view commands for file contentsCat TAC less more head tail=======================================2. actions for users and GroupsUseradd -New User-U-Specify UID when creating new user-G-Specify user default group when new user-G-Specify
1.Shell: Command interpreter2.Linux Skill TreeThe 3.x11:x window system, which itself is just a toolkit and architecture protocol, xorg is an implementation of the X architecture specification, a server that provides a graphical interface for
Linux Directory Operations Command tree New Linux operations, Common command directory
Tree command
Grammar
Options
Parameters
Instance
Tree commandThe LS command displays the
FHS (Filesystem Hierarchy standard) defines the three-tier home directory:Root directory: related to boot system;/usr: related to software installation/execution;/VAR: Related to system operation process;1. root directory (/)All directories are
1. Add Userssudo adduser UserNameAbnormal:sudo adduser--force-badname Then add additional auxiliary information for this userSwitch User: Su UserNameSu JesseliView Current User: WhoAmIWhoAmIRemove password for password-free loginsudo passwd-d
Rwxr-xr-x
Each of the three groups is a group of front (RWX) groups that represent the group (r-x) in the middle of the owner (user Group) (Group of user groups); the latter group (R-X) represents other groups (other)
WhoAmI
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
/root directoryContains almost all of the file directories. Equivalent to a central system. The simplest way to enter is: CD/./boot boot, kernel, etc. directory to be storedThis directory includes the files that are required during the boot process.
RPM is a red Hat (REDHAT) package management tool that implements the Add/Remove Programs functionality similar to those in Windows. Below, we will introduce the use of RPM commands.1. Install the RPM package:RPM-IVH Package NameInstalls the package
Features of Grub1. Provide a choice of kernel or System 2 to boot. Provides an interactive interface. Enter GRUB after pressing the E key to enter the interface of grub, can already line Linux system Operation Basic Choice. 3. Password-based
Configure: error: Cannot find OpenSSL's libraries, openssllibraries
When compiling and installing PHP In Ubuntu 12.4.1 X64, the system prompts configure: error: Cannot find OpenSSL's libraries to check whether the openssl and libssl-dev packages
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