PHP code example of cryodrift / shell

1. Go to this page and download the library: Download cryodrift/shell library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

cryodrift / shell example snippets


php index.php /shell undupe -file="filename.txt"

cat filename.txt | php index.php /shell undupe -file

php index.php /shell sort -file="filename.txt"

cat filename.txt | php index.php /shell sort -file

php index.php /shell group -file="filename.txt"

cat filename.txt | php index.php /shell group -file

php index.php /shell replace -search="searchstring" -replace="replacestring" -file="filename.txt"

dir | php index.php /shell replace "searchstring" "replacestring" -file

php index.php /shell screenshot -url="/"