Find the specified content in the file look for the specified content in the file, all the information on the line where the content is printedgrep is searched for content file path name>grep var passwd//In the passwd file to output the contents of
Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work, the following first understand the use of SEDThe SED command
CP command to copy files or directories"-R" can copy folders"-V" displays the details of the replication, showing the replication processMV can move a file, or you can rename itDo not specify a directory, moving directly to each other in the current
One. Manually create the file:1. Change/etc/passwd file2. Change/etc/shadow3. Change/etc/group file4.mkdir/xiaoming5.cp/etc/skel/.bash*/xiaoming/6.chown-r Xiao(1)./etc/passwd file DetailedRoot x 0 0 Root/root/bin/bashUser name password user
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/9D/E3/wKioL1mIIt_CFY--AAGutYv93B8742.png-wh_500x0-wm_ 3-wmp_4-s_940056837.png "title=" system boot process. png "alt=" wkiol1miit_cfy--aagutyv93b8742.png-wh_50 "/>1. Switch on the power
1. Where are these useful documents?/usr/share/docExample:GRUB2 (New start-up management software)/usr/share/doc/grub2-tools-2.02 2.02 indicates version2. Ultra-Simple editor: NanoUsage: Nano test.txt//If there is no test.txt under the current
When we want to perform a task automatically at a specified time, you can use the at command Start the service atq The service that is checked first when used is startedService ATD Status # Check ATD State Service ATD Start # Start ATD
One: Swap zoning concept principleSwap partition: (Storage of memory overflow data)Functionally, the swap partition is mainly when the memory is not enough, the part of the memory of the data exchange to swap space, so that the system will not be
Today the company testing Linux server hard disk is not enough, mainly MySQL data file is too big, bought a 500G hard drive back, here to record the new drive methodPS test server motherboard is too bad, there is no redundant power interface, only
Linuxwildcard characters1.1 * all wildcard symbols ----Find a file 1.1.1 Creating an environment mkdir/oldboy/20170118cd/oldboy/20170118Touchstu{00..10}.txt Oldboy{00..10}.logToucholdboy.txt Stu.txt1.1.2 Find out the beginning of Stufind/oldboy/20170
1. Virtual Address to Physical addressThe X86 chip accesses memory and requires the use of the MMU function to achieve a virtual address to a linear address to a physical address.The fragmentation mechanism of X86 is mandatory, and the paging
1. Download tomcat, select tar.gz format2. Extract the Tomcat compression pack3. Open the terminal:1. Enter the Tomcat bin directoryCd.......... (self-extracting Tomcat after the bin path)2. Configure Java_home2.1 Modifying the Startup file:VI
Linux comes with Python is version 2.6, used to 2.7.x, so want to upgrade Python21. Download the source package, the following download link directly on the Python official website, if you want to install a higher version of the self-replacementwget
Transcription group entry (3): Learn about fastq Sequencing data and fastq sequencingSra file to fastq format
fastq-dump -h-- Split-3: If the SRA file contains only one file, this parameter is ignored. If the original file contains two files, it
Basic Shell operators and Shell OperatorsNative bash does not support simple mathematical operations, but can be implemented using other commands, such as awk and expr, which are most commonly used. Expr is an expression computing tool that can be
Linux File System mounting management, linux File MountingAttach
For example.
Mount
Practice: Mount/dev/sdb1 to/mnt.
Uninstall
Since it can be mounted, it can also be detached.
Practice:
Automatic mounting
We can also perform
Vim text editor, vim text editor download
There is a notepad for text processing in windows. How does one process text in Linux? That is, use Vim.Learn about Vim
Practice: Use vimto create a new inventory file and run the command testvim.
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