LINUX retrieves files based on time range
1. Find the files between the numbers 2023-01-05 and 2023-01-06 by using the following command:
find log/ -name 'abc.pdf' -newermt '2023-01-05' ! -newermt '2023-01-06'
2. Find files that were changed 3 days “ago”, 72 hours ago.
find /var/log/ -mtime +3 -type f -print
3. Find out the files that have been changed within 3 days (0 ~ 72 hours).
find /var/log/ -mtime -3 -type f -print
4. Identify files that have been changed in the previous 3 days (72 ~ 96 hours)
find /var/log/ -mtime 3 -type f -print
Hello! This is your first time usingMarkdown editor The welcome page shown. If you want to learn how to use Markdown editor, you can read this article carefully to know the basic syntax of Markdown.
new changes
We’ve made some feature extensions and syntax support for the Markdown editor. In addition to the standard Markdown editor features, we’ve added the following new points to help you blog with it:
- New interface design , will bring a whole new writing experience;
- Set your favorite code highlighting style in the creation center, MarkdownHighlighting style to display the selection as a code slice Make a display;
- increasedImage Drag & Drop function, you can drag and drop local images directly to the editing area to display them directly;
- brand newKaTeX math formula Grammar;
- Added support forThe mermaid syntax of Gantt charts1 Function;
- increasedMulti-Screen Editing Markdown article feature;
- increasedFocus writing mode, preview mode, concise writing mode, synchronized scroll wheel settings for left and right areas etc. The function buttons are located in the middle of the editing area and the preview area;
- increasedchecklist Function.
Function Shortcuts
Withdrawn:Ctrl/Command + Z
Redo:Ctrl/Command + Y
Bolding:Ctrl/Command + B
Italics:Ctrl/Command + I
Title:Ctrl/Command + Shift + H
Unordered list:Ctrl/Command + Shift + U
Ordered lists:Ctrl/Command + Shift + O
Checklist:Ctrl/Command + Shift + C
Insert code:Ctrl/Command + Shift + K
Insert link:Ctrl/Command + Shift + L
Insert picture:Ctrl/Command + Shift + G
Find:Ctrl/Command + F
Replacement:Ctrl/Command + G
Create headings wisely to help with catalog generation
Direct entry 1 time#and pressspaceAfter that, a level 1 title will be generated.
Input 2 times#and pressspaceAfter that, a 2-level header will be generated.
By analogy, we support 6 levels of headings. It helps to useTOC
syntax after generating a perfect catalog.
How to change the style of text
Emphasis on text Emphasis on text
bold text bold text
markup text
Delete text
Quoted text
H2O is is liquid.
210 The result is 1024.
Inserting Links and Images
Link.link.
Picture.
Pictures with dimensions:.
Centered image.
Centered and sized pictures:
Of course, we have added the image drag and drop feature to make it more convenient for our users.
How to insert a nice code snippet
to…Blog Settingspage, choose one of your favorite code-sheet highlighting styles, the following shows the same highlightedcode sheet
.
// An highlighted block
var foo = 'bar';
Generate a list that works for you
- sports event
- sports event
- sports event
- sports event
- Item 1
- Item 2
- Item 3
- Planned tasks
- finalize one’s mission
Create a table
A simple form is created like this:
sports event | Value |
---|---|
laptops | $1600 |
cell phone | $12 |
conduits | $1 |
Setting content to center, left, and right
utilization:---------:
centering
utilization:----------
be on the left
utilization----------:
be on the right
first column | second column | third column |
---|---|---|
Center the text in the first column | Second column of text to the right | Third column of text to the left |
SmartyPants
SmartyPants converts ASCII punctuation characters into “smart” typographic punctuation HTML entities. For example:
TYPE | ASCII | HTML |
---|---|---|
Single backticks | 'Isn't this fun?' | ‘Isn’t this fun?’ |
Quotes | "Isn't this fun?" | “Isn’t this fun?” |
Dashes | -- is en-dash, --- is em-dash | – is en-dash, — is em-dash |
Create a customized list
-
Markdown
- Text-to- HTML conversion tool Authors
- John
- Luke
How to create a footnote
A text with a footnote.2
Notes are also essential
Markdown converts text toHTML。
KaTeX math formula
You can use Rendering LaTeX Math ExpressionsKaTeX:
Gamma formula display Γ ( n ) = ( n − 1 ) ! ∀ n ∈ N \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N Γ(n)=(n−1)!∀n∈N It is through Euler’s integral
Γ ( z ) = ∫ 0 ∞ t z − 1 e − t d t . \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. Γ(z)=∫0∞tz−1e−tdt.
You can find more information aboutLaTeX math expressionhere.
New Gantt chart feature to enrich your posts
- with respect toGantt chart Grammar, cf.here,
UML Diagrams
It can be rendered using UML diagrams.Mermaid. An example is a sequence diagram generated below:
This will produce a flowchart. :
- with respect toMermaid Grammar, cf.here,
FLowchart Flowchart
We will still support flowchart flowcharts:
- with respect toFlowchart Grammar, cf.here.
Exporting and Importing
derive
If you’d like to try out this editor, you can edit as many times as you like in this post. When you’re done writing an article, find theArticle Export , generating an .md file or .html file for local saving.
import (data)
If you want to load a .md file that you have written, you can select the import function in the upper toolbar to import a file with the corresponding extension.
Keep up your creative work.
Explanation of footnotes↩︎