prestashop command line install
$ php index_cli.php
Here is what the above code is Doing:
1. We’re creating a new instance of the class.
2. We’re calling the method.
3. We’re passing the arguments.
$ php index_cli.php
Here is what the above code is Doing:
1. We’re creating a new instance of the class.
2. We’re calling the method.
3. We’re passing the arguments.
openssl pkcs12 -export -in cert -inkey key -certfile ca -name MyClient -out client.p12 Here is what the above code is Doing: 1. Generate a private key for the CA. 2. Generate a self-signed certificate for the CA. 3. Generate a private key for the server. 4. Generate a certificate signing request for the server. 5….
# List all certificates in CHAINED.pem openssl crl2pkcs7 -nocrl -certfile CHAINED.pem | openssl pkcs7 -print_certs -text -noout Here is what the above code is Doing: 1. Create a self-signed root certificate. 2. Create a certificate signing request for the intermediate certificate. 3. Sign the intermediate certificate with the root certificate. 4. Create a certificate signing…
# if you updated your files on github.com so may be thats its asking first pull # request then your push the request. # so Very simple first: # not use -f git pull origin master # then git push origin master Here is what the above code is Doing: 1. git pull origin master:…
pip install scapy Here is what the above code is Doing: 1. We’re importing the scapy library. 2. We’re creating a function called arp_display, and it takes on packet as input. 3. We’re using the scapy library to parse the packet. 4. We’re printing out the source IP and MAC addresses from the packet. 5….
if [ -e $1 ]; then echo “File $1 already exists!” else echo >> $1 fi Here is what the above code is Doing: 1. The first line is a shebang. It tells the shell what program to use to run the script. 2. The second line is a comment. It’s ignored by the shell….
# create a gzip archive of my-backup-folder # but exclude all node_module directories # flags: # –exclude = exclude files, given as a PATTERN # -c = create a new archive # -z = filter the archive through gzip # -f = use archive file or device ARCHIVE # # IMPORTANT NOTE: # the exclude…