Common text conversion and Processing command TR command under LinuxTR: replacing, compressing, or deleting charactersFormat: TR [OPTION] ... SET1 [SET2]Options:
-C complement uses character set 2 to replace characters not contained in
Sort compares each line of a file as a unit, comparing it from the first character backwards, to the ASCII value in turn, and finally outputting them in ascending order.-B ignores the front-most whitespace part-D does not ignore the first whitespace
1. Open Folder command: CDCd/dirExample: Opening the ETC directorycd/etc/2. View current directory command: PWDExample: Current Location/tmptmp]# pwd/tmp3. View all files and folders under current path: LSExample: currently under
Regular expressionsIn Linux, wildcard characters are interpreted by the shell, and regular expressions are interpreted by commands. The main text processing tools are grep,sed and awk.grep matching patterngrep accepts options and parameters as
[Email protected] kubedns]# VI ab.txt111222Add a line at the end of the file to add the Hello character channeling:[[email protected] kubedns]# sed-i ' $a hello ' ab.txt[email protected] kubedns]# cat Ab.txt111222HelloDisplays the last line of the
No access to another Linux service via SSH under LinuxWe use SSH login on 192.168.5.21 's computer 192.168.5.20 prompt error650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-
Task target: Binary installation NFS, as shared storage mounted in three Web site root directory, on any one of the Web modified results, the remaining two can be seenFirst to install the NFS Service, NFS as the name implies, is the need for speed,
Three barriers for technician growth:The ancients succeeded in the three sentences, the ancient people to become major events, the need to go through the triple State:First goal: Find the direction, set the targetThe second goal: tireless, support
First of all, the guiding process here is relatively simple, does not involve kernel inside the detailed guide steps, I hope to have just learned Linux friends to help.1, power-on self-testThis is basically all the computer boot needs to go through
Prerequisite: CentOS SystemOperation with Root privileges
#yum Install "@Chinese support", according to the prompt, "y/n" in the "Y", until the prompt "complete"
Menu item System->preferences->input method
If not, click the user name in
Job One:1) Merge user information database files and group information database files vertically into one file/1.txt (overwrite)Cat/etc/passwd/etc/group >/1.txt2) Merge user information database files and user password database files vertically into
Tag:existing system administrator
View, modify host name hostname View host name, temporarily change hostname, permanently change host name vi/etc/sysconfig/network Change the hostname field to the user's desired
Job One:1) Merge user information database files and group information database files vertically into one file/1.txt (overwrite)2) Merge user information database files and user password database files vertically into one file/2.txt (append)3)
ls command: Lists the files under the directoryLS-A lists all files under the file, including "." Hidden files at the beginningLs-a listed in addition to "." and ".." Other than the fileLS-D Displays the directory's own properties without displaying
First, the basic principles of Linux system1, all documents.2. The configuration file is saved in plain text format.3, consisting of a single small program, combined with a number of small programs to complete complex tasks4, try not to capture the
Analyzing the System_call interrupt processing processThe goal this time is to track the uname system call selected last week through GDB. GDB cannot debug native system calls because system calls are implemented through interrupts in the kernel
Alternatives use notes, alternatives notes
The X64 ora23 X64 system has multiple versions of python. The default version is python2.7.
$ ls -l /usr/bin/python*lrwxrwxrwx. 1 root root 24 Mar 26 15:49 /usr/bin/python -> /usr/bin/python2lrwxrwxrwx. 1
Linux Kernel version uname command GNU Project Linux release version, unamegnu
1. the kernel version is uniformly encoded and released by the Linux kernel community. The format is as follows:
Major. minor. patch-build.desc
Main version number.
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