通配符 Globbing赏析
什么是 Globing?
https://www.techopedia.com/definition/14392/globbing
Definition - What does Globbing mean?
Globbing is the process of using wildcard characters to request or evaluate sets of files with the same partial names or sets of characters. Users make the wildcard represent an unknown character or string to search for a wider set of filenames on a particular domain.
Techopedia explains Globbing
Two of the most common forms of globbing are using a question mark to represent a certain unnamed character in the file, and using an asterisk look for a continuous string of characters. But of these two methods, the asterisk method is probably more popular, and goes back to the popular use of PC-DOS command-line operating systems. In these systems, a user would enter a command to search the drive to return lists of filenames with the same extensions, or with the same partial titles. Since the file extension came after the dot in the file name, the user would get a list of all files with a given extension with a command like this:
<*.exe>
On the other hand, users could look for partial titles by entering other characters with the asterisk on the left side of the dot – for example, for a list of executables with titles including the character set "run," the command would look like this:
<run*.exe>
Another use of globbing is in a certain kind of hacking that promotes a denial of service attack. Globbing requires quite a few resources on the part of the server to look for many different files in a large archive of files. Creating sufficiently vague globbing commands can essentially send the server running on a wild goose chase and deplete those resources.
https://www.bing.com/dict/search?q=globbing&FORM=BDVSP2&qpvt=globbing
扩展 wildcard 通配符 为 真实的文件。
globbing
- 网络通配符;文件名代换;通配符扩展
网络释义
1. 2. 文件名代换...3. Shell的基本语法3.1. 变量3.2. 文件名代换(Globbing):* ? []3.3. 命令代换:`或 $()3.4. 算术代换:$(())3.5. 转义字符\3.6. 单... 3. 通配符扩展...件不存在则创建它,如果文件存在则追加输出至末尾处。通配符扩展(globbing)。通配符的概念源自于正则表达式,使得解释器智能地处理 …
http://searchsecurity.techtarget.com/definition/globbing
Globbing is the process of expanding a non-specific file name containing a wildcard character into a set of specific file names that exist in storage on a computer, server, or network. A wildcard is a symbol that can stand for one or more characters. The most common wildcard symbols are the question mark (?) for a single character and the asterisk (*) for a contiguous string of characters.
wildcard 的来历
https://baike.baidu.com/item/wildcard/2951762
纸牌游戏
“百搭牌”、“变牌”,这张牌不代表原来本身的牌值,而代表指定的另外一张牌的牌值。体育运动
体育比赛中的“外卡”或“外卡选手”在网球、羽毛球等职业体育比赛中,比赛正赛和资格赛的签表中都有一定数目的签位,根据排名优势,一些报名选手可以直接进入正赛或资格赛,组委会一般还会将外卡颁发给部分本土选手以及一些排名不够但有特殊情况的选手(如曾经的顶尖选手因伤休战而致排名不够、曾经在该项比赛中取得佳绩、在赛季表现特别抢眼等),使其有资格参加正赛或资格赛。总之, 外卡是向那些本来没有资格参加正赛或资格赛的优秀选手发出的,持有外卡就可以参加比赛了。
glob原意
一滴或者一团, 可以匹配任意东西, 将一团或者一滴 替换为 真实东西的过程 叫globbing
https://www.bing.com/dict/search?q=glob&qs=n&form=Z9LH5&sp=-1&pq=glob&sc=8-4&sk=&cvid=E68D890852A14CDAB46D0BCD0FDB26F9
glob
美 [ɡlɑb]英 [ɡlɒb]
- n.一小滴;一小团
- 网络球蛋白(globulin);展开通配符;一团
1. 一小滴;一小团a small amount of a liquid or substance in a round shape
https://en.wikipedia.org/wiki/Glob_%28programming%29
glob (programming)
From Wikipedia, the free encyclopediaIn computer programming, in particular in a Unix-like environment, glob patterns specify sets of filenames with wildcard characters. For example, the Unix command
mv *.txt textfiles/moves (mv) all files with names ending in.txtfrom the current directory to the directorytextfiles. Here,*is a wildcard standing for "any string of characters" and*.txtis a glob pattern. The other common wildcard is the question mark (?), which stands for one character.
占位符 --- wildcard本质上是一种占位符
https://en.wiktionary.org/wiki/placeholder
placeholder (plural placeholders)
Something used or included temporarily or as a substitute for something that is not known or must remain generic; that which holds, denotes or reserves a place for something to come later. quotations ▼
This is placeholder data, so you'll want to include the real numbers as soon as you have them.
通配符 Globbing赏析的更多相关文章
- Saltstack
一.Satlstack的概述 Saltstack是什么? Salt是一种和以往不同的基础设施管理方法,它是建立在大规模系统高速通讯能力可以大幅提升的想法上.这种方法使得Salt成为一个强大的能够解决基 ...
- Linux Shell编程(14)——内部变量
内建变量影响Bash脚本行为的变量.$BASHBash二进制程序文件的路径 bash$ echo $BASH /bin/bash$BASH_ENV该环境变量保存一个Bash启动文件路径,当启动一个脚本 ...
- 程序包管理rpm、yum与简单编译安装程序
Linux程序包管理 Linux中软件的安装主要有两种形式:一种是直接下载源代码包自行编译后安装,另一种直接获取rpm软件包进行安装. 程序的组成部分: 二进制程序:程序的主体文件,比如我们运行一个l ...
- Linux程序包管理rpm与yum
Linux程序包管理 Linux中软件的安装主要有两种形式:一种是直接下载源代码包自行编译后安装,另一种直接获取rpm软件包进行安装. 程序的组成部分: 二进制程序:程序的主体文件,比如我们运行一个l ...
- shell脚本 入门 —— 符号篇
shell Shell就是一个命令行解释器,它的作用是解释执行用户的命令,用户输入一条命令,Shell就解释执行一条,这种方式称为交互式(Interactive). Shell还有一种执行命令的方式称 ...
- Linux--shell的基本特性--01
1.bash的基本特性: a) 命令展开:date命令—— 基于date命令创建命令 查看系统时钟:date 查看硬件时钟: clock .hwclock (常常同步系统时钟与硬件时钟) cal 查看 ...
- bash的基本特性
1.命令历史 作用:查看之前使用的命令 关于命令历史的文件 每个用户家目录下面的.bash_history 在关机的时候,会自动写入一次(history -r 将内存中的命令历史写入文件) 关于命令历 ...
- 6条shell小技巧,让脚本显得不再业余【转】
如何能让自己的shell显得不那么业余?下面6点实践一定有用. 画外音:本篇文章源自Google的一篇实践,抽取了部分1分钟能读完的内容,加入了一些分析. 一.以下面的语句开场 set -o noun ...
- 学习shell的第一天
1.命令历史 作用:查之前使用的命令 关于命令历史的文件 每个用户家目录下面的 .bash_history 在关机的时候,会自动写入一次 (history -a 将内存中的命令历史写入文件) ...
随机推荐
- css元素溢出
当子元素的尺寸超过父元素的尺寸时,需要设置父元素显示溢出的子元素的方式,设置的方法是通过overflow属性来设置. overflow的设置项: 1.visible 默认值.内容不会被修剪,会呈现在元 ...
- cf1061E Politics (费用流)
看到数据范围,考虑网络流..但考的时候完全不知道怎么建图 考虑流量表示选的点个数,费用表示选点的收益,跑最大费用最大流 那么我用一个点x表示某树中的询问点x,刨去它子孙询问点的子树后的子树 对于树1, ...
- Spring boot学习笔记之@SpringBootApplication注解
@SpringBootApplication(exclude = SessionAutoConfiguration.class) public class BootReactApplication { ...
- hdu5306 Explosion
题目链接 题意 有n个房间,每个房间里面有若干把钥匙,每把钥匙可以打开对应的一扇门.如果手中没有钥匙,就要随机轰炸一个房间来打开这个房间.如果有钥匙,就要去打开这些房间.问期望轰炸次数是多少. 思路 ...
- 关于在JTextPane(或JEditorPane)中返回文本部分(Text)
今天遇到这样的一个问题,我需要取得当前JTextPane()中的文件,但是 JTextPane.getText()返回的是网页的HTML源代码,在网上搜索了一下,找到了一个方法: //返回消息框的无格 ...
- 被addPropertyChangeListener("...",this)差点搞崩溃
以前常用的是addPropertyChangeListener(this)方法 记得有一天我发现还有另一种写法: addPropertyChangeListener(String propertyNa ...
- TCHAR和CHAR类型的互转,string 转lpcwstr
https://www.cnblogs.com/yuguangyuan/p/5955959.html 没有定义UNICODE,所以它里面的字符串就是简单用" "就行了,创建工程的时 ...
- haploview画出所有SNP的LD关系图
有时候我们想画出所有SNP的LD关系图,则需要在命令行添加“-skipcheck”命令行,如下所示: java -jar Haploview.jar -skipcheck -n -pedfile 80 ...
- java 分隔函数split("",-1)的用途
转: java 分隔函数split("",-1)的用途 2017年12月14日 11:37:58 jaryle 阅读数:8517 1.如果字符串最后一位有值,则没有区别, 2. ...
- linux c 编程 ------ 通过设备节点调用驱动
驱动程序如下,加载驱动后,会在/dev文件夹下生成一个文件hello_device_node,是此驱动的设备节点 #include <linux/init.h> #include < ...