服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. 通配符 shell
  3. shell中的variables通配符
Intereting Posts
我们的英特尔网卡是否真的使用了i40e和ixgbe驱动程序? 专用服务器自动备份解决scheme HP StorageWorks Command View EVA 5.0问题 Git没有find由yum..installed从源代码,但git仍然无法识别 驱动惠普存储arrays从非惠普服务器 X3250服务器:卡在固件屏幕上 如何将Bind9configuration为转发器? 有没有办法告诉RAM模块的运行时间? UEFI iPXE引导到debian结果在grubshell 最大连接限制Apache服务器上的configuration – CentOS 6.4 如何从Microsoft Office Installer中删除不必要的安装程序文件? 小型企业服务器和处理器select 为apache2设置最大的服务器负载 Nginx的configuration问题 在tomcat强制http连接到https

shell中的variables通配符

说我有这个文件夹结构里面的这些文件:

./ |---- orig/ |--- 1a |--- 1b |--- 2a |--- 2b |---- 1/ <empty> |---- 2/ <empty> 

我想用一个mv命令得到这个:

 ./ |---- orig/ <empty> |---- 1/ |--- 1a |--- 1b |---- 2/ |--- 2a |--- 2b 

我在想这样的事情,但是如果有某种“可变通配符”的话,我就找不到任何地方:

 $ mv orig/<var>* <var>/ 

这是可能的zsh,bash或类似的?

  • 从DNS通配符logging中排除自动发现
  • 通配符为squid ACL名称(aclname)
  • 更改SSL证书导致“连接中断错误”
  • 静态IP上的SSL,Apache和子域名
  • 如何提供每个用户带宽计算的子域名托pipe

  • 通配符卡DNS设置问题
  • Windows 2003 R2服务器不更新通配符证书
  • 在现有的单域证书之上安装新的通配符SSL证书 – 有什么缺陷?
  • CNAME帮助 – SaaS的通配DNS
  • 使用Sendmail通配符收据/ etc / mail / virtusertable

我用bash做了下面的循环:

 for i in {1..2}; do mv orig/$i* $i; done 
  • 从Nginx转换到Apache重写规则
  • Nginx自动域名redirect
  • 多个通配符dns条目
  • Postfix – 虚拟邮箱 – 从通配符范围中排除地址
  • BIND9通配符和不合格的名称
  • 如何防止盗链只有子目录?
  • 如何在Apache2的VirtualDocumentRoot中configuration和组合通配符域和子域?
  • nginx:为每个域设置一个webmail(通配域?)
  • 通配符DNS不parsing特定条目
  • 通配符Cloudflare和可信证书

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy