Following the command. $ docker system prune -a
Category: CommandLine
[Util] – How to change the permissions of a file in order to make it an executable script?
Use the command chmod to apply the permission 755. Following an example. ( Note the x at the end in … More
[Mac Os X] – How to install ansible version X?
Following an example/commands to install ansible 2.4. $ brew install python $ pip3 install virtualenv $ sudo pip install ansible==2.4.0 If you … More
[Utils] – Configuration to show the current git branch on the terminal
Following the result of this setup. To do this setup go to the bash_profile and add the following code. (~/.bash_profile … More
[DevOps] – How to solve DNS issues? How to use Google Public DNS?
Your default DNS is that of the access provider, but you can change this if there is a problem in … More
[CommandLine] – How to change DNS/resolv.conf into ubuntu? How don’t lost the changes after reboot the system?
Edit the head file as sudo and run the command for the “resolv.conf” file be automatically generated again. # To edit … More
[CommandLine] – How to copy a local file to a remote service? How to do a `scp` with a public key?
scp -r -i mykey.pem <file_path> <server_user>@<server_ip>:<server_path_file>
[CommandLine] – How to create a big text file via command line?
Following a command line to create a file with 10Mb. $ base64 /dev/urandom | head -c 10000000 > file.txt
[Git] – How to remove the remote and local branch by commands line?
The following is the command to remove the remote branch $ git push origin –delete <branch_name> The following is the … More
CommandLine : How to copy a file from a server using a public key ?
The command to copy files from others server is : scp user@server:/filepath/filename If you need connect with your public key … More