This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#irfancode: ~ $ docker images | |
#REPOSITORY TAG IMAGE ID CREATED SIZE | |
#<none> <none> b9c598fc58d7 4 days ago 187.9 MB | |
#mysql latest a917fce37db8 3 weeks ago 360.3 MB | |
#ubuntu 14.04 3876b81b5a81 4 weeks ago 187.9 MB | |
#hello-world latest 690ed74de00f 4 months ago 960 B | |
#irfancode: ~ $ docker rmi $(docker images -q) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#irfancode: ~ $ docker -v | |
#Docker version 1.10.1, build 9e83765 | |
#irfancode: ~ $ docker ps -a -q | |
#f25149c6a8e2 | |
#2d1ee869285f | |
#1b0491bcf0fc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use v5.18; | |
#if perl DBI module isn't install | |
#execute this command on debian based distro | |
#sudo apt-get install libdbi-perl | |
use DBI; | |
say $_ foreach DBI->available_drivers; |