通配符 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 将内存中的命令历史写入文件) ...
随机推荐
- luogu3811 乘法逆元
逆元定义:若a*x=1(mod p),(a,p互质),则x为a mod p意义下的逆元 做法见https://www.luogu.org/blog/zjp-shadow/cheng-fa-ni-yua ...
- 牛客小白月赛12 I (tarjan求割边)
题目链接:https://ac.nowcoder.com/acm/contest/392/I 题目大意:一个含有n个顶点m条边的图,求经过所有顶点必须要经过的边数. 例: 输入: 5 51 22 33 ...
- Windows cmd命令
运行操作 CMD命令锦集 1. gpedit.msc-----组策略 2. sndrec32-------录音机 3. Nslookup-------IP地址侦测器 ,是一个监测网络中DN ...
- Zabbix监控服务器硬盘状态
安装Iptables服务: [root@localhost /]# yum install iptables-services [root@localhost /]# vim /etc/sysconf ...
- Docker普通用户不使用sudo提权
解决方法 sudo groupadd docker 添加Docker用户组 sudo gpasswd -a ${USER} docker 添加你的用户到Docker用户组 reboot 重启系统.也可 ...
- Linux基本命令总结(一)
java开发的服务器一般都是linux系统,因此把有关命令小结一下: 1,cd [目录名] 进入相应的目录下. cd / 进入系统的根目录 cd .. 或者 cd .. // 退入当前位置的上级目录 ...
- Django(十七)文件上传
http://www.cnblogs.com/wupeiqi/articles/5703697.html - 文件上传 - 普通上传 - 自定义页面上传按钮 ...
- javascript学习笔记二
1.js的string对象 **创建 String对象 *** var str = "abc"; **方法 和 属性(文档) *** 属性 length : 字符串的长度 ***方 ...
- (二叉树 BFS DFS) leetcode 104. Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the long ...
- Go-day01
Go-实现hello_world package main import "fmt" func main() { fmt.Println("hello world!&qu ...