Some linux commands

100+ Linux commands that Linux Sysadmins regularly use, with explanation. Thank you @linuxopsys. 100+ Linux commands that Linux Sysadmins regularly use, with explanation cut : allows you to cut out sections of a specified file or piped data and print the result to standard output. sort : used to sort files uniq : used to…

Advertisement

Docker swarm and secrets

I am going to create a service with postgres using secrets in Swarm mode: /Users/aironman/gitProjects/udemy-docker-mastery/secrets-sample-1> ll 12:26 aironman@MacBook-Pro-de-AlonsoExecuting ls -lhtotal 8-rw-r--r-- 1 aironman staff 11B May 4 11:33 psql_user.txt█▓▒░aironman@MacBook-Pro-de-Alonso░▒▓██▓▒░ Wed Jun 16 12:26:44P/Users/aironman/gitProjects/udemy-docker-mastery/secrets-sample-1> bat psql_user.txt 12:26 aironman@MacBook-Pro-de-AlonsoFile: psql_user.txtmypsqluser Creating a secret user file with super secret username █▓▒░aironman@MacBook-Pro-de-Alonso░▒▓██▓▒░ Wed Jun 16 12:26:51P/Users/aironman/gitProjects/udemy-docker-mastery/secrets-sample-1> docker secret create…