clmbmb,

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:


<span style="color:#323232;">$ alias dockps='docker ps --format "table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}"'
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #