Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CB
calm.like.a.bomb @ clmbmb @lemmy.dbzer0.com
Posts
8
Comments
373
Joined
2 yr. ago

  • As the others have said, your first issue is using blank spaces before and after =

    Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this:

     
        
    \$ alias dockps='docker ps --format "table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}"'