Create shortcut in linux
From Logic Wiki
Creating a batch file and make it accessible from everywhere
Create a batch file like :
#!/bin/sh docker ps -a --format "Template:.ID\tTemplate:.Names\tTemplate:.Status"
Make it executable
chmod +x dps.sh
Create a Symlink (change the path from /home/logicmade/tools/docker/ to yours)
sudo ln -s /home/logicmade/tools/docker/dps.sh /usr/local/bin/dps