$ find ~ -iregex ".*foo" /home/tux/Documents/examples/foo /home/tux/Documents/examples/Foo 查找近一周修改过的文件 要查找近一周修改的文件,使用 -mtime 选项以及过去的天数(负数): $ find ~ -mtime -7 /home/tux/Documents/examples/foo /home/
没有人会觉得 正则表达式(regular expression)(简称 “regex”)很简单。然而,我发现它的名声往往比它应得的要差。诚然,很多人在使用正则表达式时“过于炫耀聪明”,直到它变得难以阅读,大而全,以至于复杂得换行才好理解,但是你不必过度使用正则。这里简单介绍一下我使用正则表达式的方式。
pdf 来代替执行 zathuracheat_sheet_ssh_v4.pdf 命令 cheat_sheet_ssh_v4.pdf #3.查看别名 alias sd alias sd='shutdown -h now' #4.取消别名(永久和临时) unalias sl \sl #4.PS:别名中无法参数化 #你应当考虑使用的是函数。另一方面,别名可能覆盖真实的命令,从而误导你原本想要执行命令的意图。 type...
lua./usr/local/openresty/lualib/resty/core/exit.lua./usr/local/openresty/lualib/resty/core/hash.lua./usr/local/openresty/lualib/resty/core/misc.lua./usr/local/openresty/lualib/resty/core/ndk.lua./usr/local/openresty/lualib/resty/core/phase.lua./usr/local/openresty/lualib/resty/core/regex...
Kali Linux Web 渗透测试秘籍(全) 译者:飞龙 第一章:配置 Kali Linux 作者:Gilberto Najera-Gutierrez 译者:飞龙 协议:CC BY-NC-SA 4.0 简介 在第一章中,我们会涉及如何准备我们的 Kali 以便能够遵循这本书中的秘籍,并使用虚拟机
man 7 regex – 介绍正则表达式。 man 7 suffixes – 常见文件后缀名的列表跟解释。 man 7 time – Linux的时钟机制解释。 man 7 units – 数值单位及其数值的解释。 man 7 utf8 – 描述UTF-8编码。 man 7 url – 解释URL、URI、URN等的标准。
//www.ditig.com/256-colors-cheat-sheet#If your terminal emulator has truecolor support, you can also use RGB and hexadecimal colors like "145, 255, 0" or "#3dff59".#Special values:#- "default" The background color of the (xterm compatible) terminal emulator.[global]#This will be ...
importjava.io.*;importjava.net.Socket;importjava.util.*;importjava.util.regex.*;importjava.applet.Applet;publicclasspocextendsApplet{/*** Author: daniel baier alias duddits * Licens: GPL * Requirements: JRE 1.5 for running and the JDK 1.5 for compiling or higher ...
+[azA-Z0-9.-]{2,4}$/; if ( email_regex.test(input) ) { result = true; } return result; } 对于SQL 注入,避免拼接输入值为查询十分关键。反之,使用参数化查询。每个编程语言都有其自己的版本: PHP MySQLLi: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 $query = $dbConnection->...
ripgrep - Ripgrep is a line-oriented search tool that recursively searches the current directory for a regex pattern. slides - Terminal based presentation tool. The Silver Searcher / Ag - A code-searching tool similar to ack, but faster. Starship - A minimal, blazingly fast and infinitely cust...