Create shortcut in linux
From Logic Wiki
Revision as of 10:20, 25 December 2025 by AliIybar (Talk | contribs) (Created page with "Category:Linux Category:Ubuntu Creating a batch file and make it accessible from everywhere Create a batch file like : #!/bin/sh docker ps -a --format "{{.ID}}\t...")
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