The Find command can search for files in a given directory (and its subdirectories) based on the various attributes of the file.Command formatFind [-h] [-l] [-p] [-D debugopts] [-olevel] [path ...] [Expression]Command parameter test item-cmin
1. Starting from line No. 3000, display 1000 rows. The 3000~3999 line is displayedCat FileName | Tail-n +3000 | Head-n 10002. Display 1000 rows to 3000 rowsCat filename| Head-n 3000 | Tail-n +1000* Note the order of the two methodsDecomposition:Tail-
The Linux swap partition is used to ensure memory overload and is an extension of memory at the disk level, and the swap partition must be a separate partitionTo create a process:1. Create a new partition with the Fdisk command and adjust the
Tagged with: Linux wildcard character globbingFirst, wildcards are a way for the shell to extend functionality. In the shell of Linux, the difference between the expressions of the wildcard wildcards regular is to be distinguished.Simply understood,
[state-Embedded notes] [008] [Telnet to Linux]1.windows and Linux can ping each other2. Turn off the Linux firewall/etc/init.d/iptables stop3. Telnet via SSH (character interface) protocol4. Telnet via VNC (graphical interface) protocol1. Installing
Some garbled files can not be managed by ordinary RM commands.can be removed by deleting the I node.[[Email protected]_168_100_35 musicwap]# ls??,? K?k?? A *.? J]?k?φ?? P??? Z?b? A? R??? X?? U??.????? *[email protected]? T??? xs* viewing I nodes of
Boot installation StepsRelated introduction:Development Board Software Composition: Bootloader, embedded operating system, embedded file systemJtag interface is often used to program flash and other devices, the common JTAG download line has the
First: In Linux, the regular expression is for the content of the file. Check in the Shell's grep,sed, awk and other related commands.Metacharacters of regular Expressions:. : Represents any characterNumber of characters anchor:*: Indicates that *
Working under Linux, how can I make more convenient backups of previous work? Every time we go to the command pack? The best way of course is to use the powerful shell under Linux.Here is a simple example I wrote to back up the shell scripts for two
Linux file systemBin directory: Executable programBoot directory: Files related to Linux startupDev directory: Devices are stored as filesETC Directory: Configuration fileHome directory: User filesLIB Directory: library-related filesRoot directory:
Optimization of Btrfs File System on SSD
Optimize Mounting Parameters
You can use various parameters to optimize the btrfs attached to an SSD in Linux:
#
UUID = /btrfs defaults, ssd, discard, noatime, compress = lzo, subvol = @ 01
These
Linux swap spaceLinux memory uses virtual memory to manage the entire memory. physical RAM physical memory and swap space are the total amount of virtual memory. Swap application scenarios: swap has two main functions: 1. When the system needs more
Socket programming practices in Linux (6) Unix domain protocol and socketpair file descriptor Transfer
The UNIX domain protocol is not an actual protocol family, but a method for executing Client/Server Communication on a single host, the APIs used
Common Linux commands and linux commands
A linux cainiao, this blog post only records some common commands encountered in normal work for later use...
I. disk management:
1.1Common Methods:Mkdir/usr1/liushaofeng/test
Syntax:Mkdir [-p] [-- help] [--
Linux: deploy apache configurations for multiple projects on an apache serverStep 1: Get the code to the/var/www/html directory (this is the default directory, depending on apache settings). Multiple projects can be stored in this directory, for
Shell basics-environment variable configuration file,
Shell basics-environment variable configuration file
Source configuration file or. configuration file:
After the environment variables are written to the configuration file, You need to log on
Use logs in Linux to troubleshoot
The main cause of log creation is troubleshooting. Usually you will diagnose why the problem occurs in your Linux system or application. Error messages or a series of events can provide you with clues to identify
Use Raspberry Pi to build your own web server (2) set up Apache1. get Server IP Address: ifconfig2. change the local hosts file. If you want to enter a domain name in your browser, you can also access your server. You need to change the hosts file
Nginx will add a dynamic module for users to modify the server
Nginx will add a dynamic module function and an SaaS-based monitoring tool Amplify to make its Web server more flexible and better managed. This dynamic module and Amplify technology
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