Home » Tag Archives:shell (page 20)

Tag Archives: shell

Clear CMD-shell with php

February 27, 2018 Windows Leave a comment

Questions: I have this simple php script which outputs a string every second. <?php $i = 1; while(1) { exec("cls"); //<- Does not work echo "test_".$i."\n"; sleep(1); $i++; } I execute the scrip...

Chef Powershell Run from File

February 27, 2018 Windows Leave a comment

Questions: Using chef’s powershell_script provider how would I reference a file stored on the chef server instead of having the code defined in the same file? Basically how can I call on a .ps1 ...