Linux will automatically start some services each time you boot, if you want to optimize the default boot system services, you can use the following two tools.1:NTSYSV command2:chkconfig commandOne, Ntsysv commandUse the NYSYSV command alone, only
The root user is required to view, modify, or execute certain commands, and you can use the sudo command if you do not want to switch directly to the root user. The sudo command is used to grant temporary permissions on a single command. sudo grants
Common system logs under Linux are usually placed in the/var/log/directory, the following is a common system log in this directory:
Log name
Description
Dmesg
Core Boot Log
Messages
System
In the Linux operating system, there is a system package that functions like "Add/Remove Programs" in Windows, but is much more powerful than Add/Remove Programs , which is red Hat package Manager (RPM). RPM Installation Operationcommand:Rpm-i The
The main record is the Linux find command way:Find find path matching standard processing actionFind path: Default is current pathMatch criteria: Default to all files under the specified pathHandling actions: Default to showMatching Criteria:-name '
Analysis and storage log (ii)1. Find Events by JournalctlThe SYSTEMD log stores the log data in a structured binary file with indexes. This data contains additional information related to log events. In Red Hat 7, the SYSTEMD log is stored by
1. First use switch to root user.2. Use the Fdisk-l command to view the disk information and find the U disk (can be determined according to the size shown)3. Create a mount point under/mnt, such as creating a USB directory: MKDIR/MNT/USB4. Mount
1. Local VariablesVar=xyz2. Local VariablesLocal VAR=XYZ3. Environment variablesCan work in a child shellExport VAR=XYZ4. Position variableThe $ A script name itself is the first parameter, the second parameter is $ ... ${10} tenth parameter ${11}
1. Find-name Find Files by name
* Wildcard all characters;
? Wildcard single character
2. Find-iname is case-insensitive by name3. find-size according to file size
Find/-size +2048000 greater than 100m;# + means more than
Download the Linux version of Foxitreader First, and then extract it as a run file with executable permissions. Direct./run perform the installation.If you want to uninstall, then to the installation directory, in the Unistall file can see point to
The free command displays system usage and idle memory conditions, including physical memory, interactive area memory (swap), and kernel buffer memoryParameters-B Display memory in bytes-K display memory in kilobytes-m display memory in units of
Copy of File: Scp–p (port number)./authorized_keys [Email Protected]:/home/berchinaCopy of folder: Scp-r-P (port number)/home/berchina/hadoop-2.2.0 [email protected]:/home/berchina/Note:The red font is my command to tap."#" is an annotated language[[
To install SSH:sudo apt-get updatesudo apt-get install Openssh-serverTo see if the SSH server is started:sudo ps-e | grep sshCheck to see that there are ssh-aget and sshd at the same time, the configuration is correct.To modify an SSH configuration
LockedThe organizational section of the Net_device structure shows that the Dev_base list and the Dev_name_head and dev_name_index two hash tables are protected by a dev_base_list lock. However, the lock is only used to serialize access to lists and
Install X: Hacker Typer, x: hackertyper
Yesterday I saw such an article on bole online, "I can finally write code like a Hacker in a movie." I think it's cool. I introduced a tool named Hacker Typer.
URL: http://hackertyper.net/
Open the URL
Linux multi-thread practice (5) Posix semaphores and mutex locks solve producer and consumer problems
The difference between Posix and System V semaphores:
System v semaphores can only be used for synchronization between processes, while posix
Install and deploy the Swift development environment on Ubuntu 15.10
Apple has recently opened up the Swift programming language, which means that anyone will be able to use the Swift programming language on any system. Now, Apple first brought
Differences between three network connections in VMware1. Overview
After the virtual machine is installed, two virtual NICs, VMnet1 and VMnet8, are installed by default. VMnet1 is the host Nic used to connect to the network in the host mode. VMnet8
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