Tag Info

New answers tagged

1

You have an opening single quote without a closing single quote. Just type another single quote and either continue typing your query, ending with ; or just type '; Example: mysql> select * from table where name like ' '> '> '> fred';


0

"dmidecode" is present in all linux distribution and usually enough, to find most relevant parts together with serialnumbers. The standard tool in Debian and Suse however is "hwinfo". It is a very comprehensive DeviceInfo-tool, and I wish (based on habbits) it would be standard accross all distributions. For a short Overview you type hwinfo --short ...


-1

Puppet facter from PuppetLabs provides an interface to identify hardware on a system. facter can work without Puppet itself, can be extended to gather your own facts, and runs on many Operating Systems. I'm using facter, along with Puppet and The Foreman as a Puppet ENC to keep track of hardware. Facter provides a frontend to disparate tools like dmidecode, ...


0

I'd start looking at "reference" on iis.net Look here Application Pool Defaults, then look for each element/attribute you need to configure, they usually have appcmd based example at the bottom. It'll be just a matter of combining of all the settings into a series of appcmd commands.


-3

i'm using virutal machine with ms dos 6.22. rd command can't have parameters... to delete c:\folder\folder\folder with files and whatever if you are on c:\ use: deltree \folder (it will ask for confirmation) deltree \y c:\folder (it will do it right away)


1

I'm using the following PowerShell script to look at all certs on the box and for each try to find it in the IIS SSL bindings. import-module WebAdministration ls cert:\LocalMachine\my | select * | foreach { $found = $false $tp = $_.Thumbprint ls IIS:\SslBindings | Foreach { if ($_.Thumbprint -eq $tp) { Write-Host "Used in ...


1

There are several tools, you can use from the command line, the most well known of which are curl and wget. With curl you can follow redirects using the flag -L; additionally, you want to see what happens on the way to the final url so you need -v (verbose): curl -v -L www.domain.tld see here for details: http://curl.haxx.se/docs/faq.html For your use ...


0

The ionic approach rocks: https://dotnetzip.codeplex.com/wikipage?title=PS-Examples supports passwords, other crypto methods, etc.


0

I think this answer should get you most of the way to what you need. It covers getting the extension from each file and then doing a rename.


0

The solution for me was the following: ./test.sh echo_var test1;what="service restart apache2";$what This means the spaces are never caught by the script


0

#!/bin/sh echo_var="hello world" echo $echo_var Are you looking for something like this? #!/bin/sh echo_var="Apache Server Restarted" echo $echo_var >> /var/log/ApacheRestart.log service apache2 restart So something like this might help you out.


3

Use double quote around your string Below one should work fine test.sh echo_var "hello world"


0

For Bitcoin, the official developer answer is to use the provided python wrapper in contrib/bitrpc/bitrpc.py (github): It asks for a password in a secure way if you use the command walletpassphrase, for example. There are no plans to add interactive functionality to bitcoin-cli. and: bitcoin-cli will remain as-is and not gain interactive ...



Top 50 recent answers are included