Questions tagged [wildcards]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
162 views

Bash slash does't work in wildcards square brackets

I'm curious why command ls -pd *[!/] or ls -pd *[!\/] doesn't match all files which don't end with /. My use case is that I want to list only files inside the current working directory. I know that it'...
Alex Misiulia's user avatar
1 vote
1 answer
85 views

DNS - Use two wildcards on different domain levels

I have a problem with this DNS configuration: RecordType - Name - Value A *.domain.com 1.1.1.1 A *.sub.domain.com 2.2.2.2 I would like all subdomains of * ...
Laischon's user avatar
0 votes
1 answer
147 views

CDN - SSL and a Wildcard Certificate

My organization has a wildcard certificate for our domain and its subdomains. Lets say *.serverfault.com. We want to use a 3rd party webhost to serve as a CDN for our image content, but we want to ...
K0D4's user avatar
  • 123
1 vote
1 answer
2k views

Redirect different language urls to their english counterpart in htaccess

I'm trying to redirect language URLs that end with /?lang=da, /?lang=de and /?lang=nl to the same URL but ending in /?lang=en. So www.example.com/accommodation/hotel-room-1/?lang=da should result in ...
Kneops's user avatar
  • 13
6 votes
2 answers
5k views

Wildcard certificates with short hostnames?

I'm trying to generate a certificate with the following subjectAltName: hostname *.hostname hostname.mydomain.local *.hostname.mydomain.local I generate the CSR via OpenSSL and then get the ...
Jakov Sosic's user avatar
  • 5,267
3 votes
1 answer
1k views

tar wildcards in files-from

Trying to run tar with --files-from. I have a file files.txt that contains /dir1/files*.txt However it complains that /dir1/files*.txt does not exist, but ls proves that it does. I tried to also ...
Felipe Alvarez's user avatar
11 votes
3 answers
30k views

mysqldump ignore table with wildcard

I need to take a dump of a database containing 50 odd tables of which I want to exclude about 15 odd that have prefix exam_ I tried mysqldump --ignore-table=dbname.exam_* and even tried --ignore-...
anup's user avatar
  • 717
0 votes
2 answers
435 views

sudoers file errors on solaris (suspecting wildcards)

I'm trying to write a universal sudoers file to control permissions for all our users across all our environments and I've been using the wildcard for the hostnames like so (all data has been ...
gozu's user avatar
  • 313
0 votes
2 answers
794 views

Can we put random entries on DNS

Using microsoft DNS All/most of our local hosts ( with in ) are in following domain *.company.org So a host name will look like mymachine001.company.org Is it possible to set up wild card DNS ...
ring bearer's user avatar
11 votes
1 answer
7k views

exclude a subdomain from a dns wildcard record

I have a domain name set with wildcard for all subdomain (*.mydomain.com), I need of exclude a specific subdomain from this condition, I use a record dns for set wildcard and if I set a new record A ...
Alessio D'Annibale's user avatar
0 votes
1 answer
142 views

Wildcard email receipts and wildcard files to be written

With Sendmail, I want to accept messages to addresses formatted like this: [email protected] [email protected] And then write them all to a separate mail file on server, instead of ...
adrianTNT's user avatar
  • 1,107
1 vote
1 answer
2k views

Using Sendmail wildcard receipts /etc/mail/virtusertable

I am trying to define wildcard receipts in SendMail, from what I read in this document http://www.sendmail.org/m4/features.html#virtusertable I understand that this would be a correct syntax inside /...
adrianTNT's user avatar
  • 1,107
0 votes
1 answer
133 views

Can I have domain-wide wildcard DNS?

I'm coding an application the lets people attach their custom domains to it without my manual intervention or messing with httpd.conf. So I need a method very similar to the method described by ...
emurad's user avatar
  • 111
0 votes
1 answer
3k views

postfix wildcard for subdomains

I have a hash:/exclude.file in main.cf which checks for ips/domains to exclude them from rbl checks. The exclude.file contains something like: foo.com PERMIT xx.yy.zz.ff PERMIT but it does ...
w00t's user avatar
  • 1,164
14 votes
6 answers
33k views

How to recursively move all files (including hidden) in a subfolder into a parent folder in *nix?

This is a bit of an embarrassing question, but I have to admit that this late in my career I still have questions about the mv command. I frequently have this problem: I need to move all files ...
deadprogrammer's user avatar
3 votes
3 answers
5k views

How to configure *.subdomain.domain.tld in Windows 2003 - wildcards in DNS

I think the title says it all really, but to reiterate, I'd like to know how to configure Windows 2003 to allow a wildcard on a subdomain. So site1.sub.domain.tld and site2.sub.domain.tld should both ...
user avatar