sed [options] [action] FileOptions:-N: Silent mode. Using-n is the only line that has been processed by SED.-e: Allow multiple edits;-F: Results are output to the terminal by default, and the result is written in a file using-F-I: Modify the
What is a regular expression:The regular expression is the method that handles the string, he is the behavior unit to carry on the string processing behavior, the regular expression through some special symbol's auxiliary, may let the user easily
Linux Yum Command detailedYum (full name Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and Redhat and SuSE. Based on RPM package management, the ability to automatically download the RPM package from the specified
1. In the following network protocol, the connection-oriented protocol is: A.A Transmission Protocol B User Datagram Protocol C Internet Protocol D Inter-network Control Message Protocol2. In the file system load parameters specified in
1, the purpose of performance analysis1) Identify system performance bottlenecks (hardware, software)2) Provide performance optimization scheme (upgrade hardware, improve system structure)3) to achieve reasonable hardware and software configuration4)
fork Function header files:#include Function prototype :p id_t fork (void); (pid_t is a macro definition whose essence is that int is defined in the #include )Return value: Two values are returned if the call is successful, the child process
(1) Linux default a total of 6 virtual terminals, these 6 dummy terminal memory, the user use, when the process hangs, you can use ALT+FN (n corresponding to 1-6) key combination switch Another terminal, find the process number to kill the process,
No login (go to virtual machine, log in as root)Vi/etc/ssh/sshd_config(to ensure that these characters have no comment symbol "#" before them)Rsaauthentication YesPubkeyauthentication YesAuthorizedkeysfile. Ssh/authorized_keysPasswordauthentication
Disk is a very important resource in Linux system, how to effectively manage it directly affects the performance of the whole system. For Linux Disk Management There are a few learning and experience friends who should be aware of the three common
The CP command is used to copy files or directories and is one of the most commonly used commands in a Linux system. In general, the shell sets an alias, and when the file is copied at the command line, if the destination file already exists, it
1. SVN introduction2. Install SVN service3. Configure SVN Service1. SVN introductionSVN, full name subversion, is a cross-platform, open source version Management control tool. Manages various data changes over time, stored in a central data archive
View network management feature status → Enable this feature in REDHAT7 to edit the network configuration[Email protected]/]# systemctl status NetworkManagerNetworkmanager.service-network ManagerLoaded:loaded
In the terminal input Cat/etc/issue view Ubuntu half a poundWhen you do not know the password for Ubuntu privileged user root:Ubuntu is not enabled by default for root users, so this is not familiar to Linux command users in the file system
Common commands:Shutdown-h now shuts down immediately (under root) shutdown-r today reboot (under root) reboot Restart Su If the current user is a normal user, Enter this command to switch to the administrator user (root), and if you want to
In the Linux system device special file directory/dev/, terminal Special equipment files generally have the following:1. Serial port terminal (/DEV/TTYSN)The serial port terminal (Serial Port Terminal) is a terminal device connected using a computer
In Linux, use the PWD command to view the full path to the current working directory. To put it simply, you will have a current working directory every time you operate in a terminal.When unsure of the current location, PWD is used to determine the
Install the SVN server-side yum install subversion from the image download install SVN server side If you follow the "Svnadmin Create/usr/local/svn/sunny" prompt error: "Command not Found" , hang the phrase "mount/dev/cdrom/media/cdrom/" before the
Solution to process Kernel stack overflow caused by XFSSystem Environment
System Version: CentOS release 6.5
Kenel version: 2.6.32-431.20.3.el6.x86 _ 64
File System: XFS
Problem description
System panic and print the following calltrace
CentOS7 Network Configuration
Ifconfig has been canceled in CentOS7, replaced by nmcli, and service management has also been upgraded to systemd. Therefore, the previous network configuration operations on v6.x won't work on v7.x.The following
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