The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
36 views

puppet: enable / disable recurse directories

so i have a basic modification module which applies to all servers managed through hiera. One submodule is called "files" and puts the scripts to /usr/local/bin/ of each server. So it iterates through ...
3
votes
1answer
67 views

Bypass DNSSEC for local Stub zones

I am using bind 9.9.2 as a DNSSEC validating recursive resolver in an Internet DMZ. I want to point to my internal DNS servers as stub zones (ideally) or anything except slave zones (to avoid very ...
1
vote
0answers
24 views

restarting all specific units on systemctl without for loop?

Is someone here able to start/stop/reload/... a list of units specified with a wildcard or similar method on systemctl? I try do do somethin like: systemctl restart openstack-nova-*.services or ...
2
votes
1answer
76 views

How to safely change owner:group recursively?

I'm copying one users home directory to be the home directory of user #2, and therefore need to chown the contents to the new user. Running: find /home/user2 -user user1 -exec chown user2 '{}' \; ...
-4
votes
3answers
142 views

Find in all sub directories [closed]

I have a directory with many sub directories, I want to find a file in this directories so I use this command: find ./ -name test.php but this command search just in the top level directory, how ...
-4
votes
1answer
155 views

Chmod all files and directories recursively to 666 under /usr [duplicate]

I want to make an chmod command that's recursively will apply the privilegies to all directoris under that. Example: chmod 666 /usr I want that every directory under "/usr" turn into permissions to ...
-2
votes
1answer
149 views

Purpose of -r option in chown [closed]

Newbie here. Can someone please explain what it means to do something "recursively", in plain language? I have looked at search results for HOURS without finding anything that simply says what it ...
1
vote
1answer
1k views

Recursive forward a zone in BIND

I have a VPS with BIND set up. It works well for several months. Recently I want to set up another DNS program to manage foo.example.org subdomain on this VPS. I've setup these in dns.he.net: ...
-1
votes
2answers
386 views

Multiple authoritative DNS server on same IPv4 address

I'd like to maintain a DNS tunnel on my self-hosted server at example.com. I also have a DNS server on it, which serves everything for example.com. I'm currently using dns2tcp for DNS tunneling, on ...
-3
votes
1answer
83 views

How to search recursively for a file in linux? [closed]

I would like to search for a file recursively under a directory. How do I search recursively for that file: in the directory I am standing in? in a specific directory? The command should get a ...
5
votes
2answers
168 views

Cache updates when migrating DNS from one provider to another

This may be a Windows DNS specific question or a general DNS best practice question - I'm not sure! We migrated our 3rd party DNS provision from provider A to provider B. I noticed that our internal ...
0
votes
2answers
135 views

Recursive deletion of files (bash)

I'm familiar with how I would tackle this with PHP, however I'd like to get some more practice with bash scripting. The task is to delete all files in a folder, which itself contains subfolders ...
0
votes
2answers
751 views

Change all file permissions to 644 and all folder permissions to 755 recursively

How to change all file permissions to 644 and all folder permissions to 755 recursively using chmod in the following two situation: If they had 777 permissions Regardless of the permission (with ANY ...
1
vote
1answer
197 views

recursive mounts not visible in endpoint

I have a little (virtual) infrastructure with multiple servers - and some of these configuration I cannot change because of software restrictions. 2 of the servers are WEBservers, and a NAS-like ...
0
votes
2answers
183 views

How long does it take to modify the permissions of /home/?

So I am using Transmit.app for my SFTP client and I changed permissions in /home/ and pressed the "Apply to Enclosed..." option as well. So essentially it is applying the desired permission to every ...
0
votes
1answer
597 views

how solve Recursive Queries error in intodns web site?

Please see the below link : intoDNS Web Site How can I solve Recursive Queries error! the entire error is below : Recursive Queries I could use the nameservers listed below to performe ...
6
votes
1answer
2k views

Can Hyper-V run in a virtual machine?

Ok, we all know (or should know) that Microsoft's answer is a plain "NO!". But we also know that recent hypervisors can support nested/recursive virtualization, provided the underlying CPU offers ...
0
votes
1answer
34 views

Change group of only cache folders, recursive

I have a document root folder and I want to cange the group of only the cache directories. How can I do this recursive? The cache directories are always below templates/html, and I want to change it ...
1
vote
2answers
570 views

revert chmod 777 / -R

while executing a command i made a mistake and executed (ubuntu 10) sudo chmod 777 / -R # okay you may laugh now all my filesystem has 777 permitions , obviously i dont know which ...
2
votes
7answers
1k views

Massive amount of subfolders and long subfolders. How can I delete all of them?

We have a little problem here. We have a share with the backup of all the server's offices, Its a really big share with more than 8.000.000 files. Our users usually give long names to the folders ...
11
votes
1answer
8k views

logrotating files in a directories and its subdirectories

Is it possible to get logrotate to consider logfiles in a directory and all its subdirectories? (i.e. without explicitly listing the subdirectories.)
0
votes
1answer
375 views

Finding/deleting top level folders not containing any files

I want to delete the top level directory which does not contain any files, but can contain other empty (meaning again not containing files) directories. For example: $ ls -R .: foo/ ./foo/: bar bar1 ...
8
votes
2answers
2k views

Linux & SVN: How to remove all versioned files but KEEP directory structure, ignore .svn dirs?

I want to remove all the versioned files from my repository, but KEEP the versioned directory structure. Obviously I want to leave all the .svn directories untouched. In other words, I want to ...
5
votes
2answers
638 views

Can an active directory group indirectly include itself in a cycle?

Is it possible for a group to directly or indirectly include itself? In other words, is it possible for the following structure to be created: Group-A   └─ Group-B       ...
0
votes
2answers
2k views

How do I change folder timestamps recursively?

I was wondering if anyone knows how to change the timestamps of folders recursively based on the latest timestamp found of the files in that folder. So for example: ...
3
votes
3answers
4k views

How can I recursively bzip2 all files that aren't bzipped?

How can I recursively bzip2 all files that do not end with the .bz2 extension in Linux?
3
votes
4answers
3k views

Must the authoritative DNS server for a domain allow recursion to allow CNAME records pointing to other domains?

So I've got a domain registered with Dreamhost, which apparently does not do recursive lookups, and an app on Heroku. Heroku apps are always configured to use a CNAME record to proxy.heroku.com. So: ...
1
vote
5answers
1k views

How to change permissions on folders, but not files?

Is there a concise linux command (that will work on OSX) to change permissions on folders and all of their contents, but leave files in the current directory untouched? For example: ...
14
votes
5answers
23k views

How do I find (or exclude) all directories and sub-directories matching a certain pattern (in Linux)?

I'm trying to use the Linux find command to find all directories and sub-directories that do not have .svn (Subversion hidden folders) in their path. I can only get it to exclude the actual .svn ...
5
votes
8answers
2k views

Linux Recursive Delete Keeping The First Dir

First question here, I'm usually on StackOverflow. I need to delete all the contents of a directory, but not the directory itself as I don't have permission to delete that actual directory. This ...
45
votes
12answers
94k views

Using wget to recursively download whole FTP directories

I want to copy all of the files and folders from one host to another. The files on the old host sit at /var/www/html and I only have FTP access to that server, and I can't TAR all the files. Regular ...
5
votes
10answers
16k views

Recursive move utility on Unix?

Sometimes I have two trees that used to have the same content, but have grown out of sync (because I moved disks around or whatever). A good example is a tree where I mirror upstream packages from ...