Hot answers tagged

4

How can i solve this?????. You will have to read the documentation1 for your version of ipcalc for yourself to determine the solution to your problem but my guesses your version of ipcalc does not support IPv6 you need to add the -6 switch (or similar) to advise the program you are providing an IPv6 address. Gravity waves 1 You didn't provide any ...


3

If you already have a file with the usernames, this is pretty easy with Powershell (which is integrated with Windows since Windows 7/2008R2): Get-Content yourfilewithusernames.txt | %{New-Item -ItemType Directory $_} Basically, you get the content of the file and pass it to the pipeline; then, for each element/line (operator %), you create a new folder ...


2

There are multiple issues with your configuration file. The modifier ^~ is for prefix locations and not regex locations (despite the presence of a tilde). See this document for details. In order to give a regex location precedence over another regex location, it simply needs to appear first. The location block needs to be complete. nginx will not take ...


2

To best deal with the different distributions and their quirks: either don't create an init script and leave it as an problem/exercise to your users/customers or take proper distribution into account and create distribution dependant RPM/deb packages that your users can easily install using their package manager. The latter means you'll have to deal ...


1

If you didn't write the child scripts and have no control over there content, there may be no way to do what you want here. You get insight into the scripts you call directly by calling them with bash -x <scriptname> instead of relying on their executable bit. If you do have control of the content, consider using an environment variable to indicate ...


1

My help would be to use -delete instead of the exec rm ...


1

This is the second time I waste two days of my live looking for error while it was SElinux the whole time. Basically, when doing cp clogin clogin.bk, it was missing the context so it was not able to fully work. It works fine again after doing: chcon unconfined_u:object_r:admin_home_t:s0 clogin



Only top voted, non community-wiki answers of a minimum length are eligible