Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
22.98 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.05 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2413
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
  +title: "creating an alias of a command with plenty special characters"
  +url: null
  +body: """
    Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
    \n
    The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
    \n
    However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
    \n
    Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
    \n
    `alias: expected <= 2 arguments; got 3`\n
    \n
    Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
    \n
    What am I doing wrong?\n
    \n
    Thanks in advance!\n
    \n
    Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
    \n
    I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 9
  +favouriteCount: 26
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1727302106 {#2418
    date: 2024-09-26 00:08:26.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +children: []
  -id: 31883
  -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
  -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1705820891
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/10790028"
  +editedAt: DateTimeImmutable @1727023176 {#1858
    date: 2024-09-22 18:39:36.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705734491 {#2388
    date: 2024-01-20 08:08:11.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2413
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
  +title: "creating an alias of a command with plenty special characters"
  +url: null
  +body: """
    Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
    \n
    The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
    \n
    However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
    \n
    Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
    \n
    `alias: expected <= 2 arguments; got 3`\n
    \n
    Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
    \n
    What am I doing wrong?\n
    \n
    Thanks in advance!\n
    \n
    Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
    \n
    I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 9
  +favouriteCount: 26
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1727302106 {#2418
    date: 2024-09-26 00:08:26.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +children: []
  -id: 31883
  -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
  -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1705820891
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/10790028"
  +editedAt: DateTimeImmutable @1727023176 {#1858
    date: 2024-09-22 18:39:36.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705734491 {#2388
    date: 2024-01-20 08:08:11.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2413
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#274
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#268
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#270
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
  +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
  +title: "creating an alias of a command with plenty special characters"
  +url: null
  +body: """
    Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
    \n
    The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
    \n
    However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
    \n
    Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
    \n
    `alias: expected <= 2 arguments; got 3`\n
    \n
    Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
    \n
    What am I doing wrong?\n
    \n
    Thanks in advance!\n
    \n
    Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
    \n
    I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 9
  +favouriteCount: 26
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1727302106 {#2418
    date: 2024-09-26 00:08:26.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1408 …}
  +votes: Doctrine\ORM\PersistentCollection {#1961 …}
  +reports: Doctrine\ORM\PersistentCollection {#1972 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
  +badges: Doctrine\ORM\PersistentCollection {#2436 …}
  +children: []
  -id: 31883
  -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
  -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1705820891
  +visibility: "visible             "
  +apId: "https://lemmy.ml/post/10790028"
  +editedAt: DateTimeImmutable @1727023176 {#1858
    date: 2024-09-22 18:39:36.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705734491 {#2388
    date: 2024-01-20 08:08:11.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4063
  +user: App\Entity\User {#4011 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    Just a thought: It should be possible to save the default ps output does that not fit your use case better?\n
    \n
    `man 5 docker-config-json`\n
    \n
    [man.archlinux.org/man/…/docker-config-json.5.en](https://man.archlinux.org/man/extra/docker/docker-config-json.5.en)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1727302106 {#4072
    date: 2024-09-26 00:08:26.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4061 …}
  +nested: Doctrine\ORM\PersistentCollection {#4059 …}
  +votes: Doctrine\ORM\PersistentCollection {#4057 …}
  +reports: Doctrine\ORM\PersistentCollection {#4055 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4023 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4027 …}
  -id: 327638
  -bodyTs: "'/docker-config-json.5.en':31 '/man/':30 '/man/extra/docker/docker-config-json.5.en)':34 '5':23 'better':21 'case':20 'config':26 'default':11 'docker':25 'docker-config-json':24 'fit':17 'json':27 'man':22 'man.archlinux.org':29,33 'man.archlinux.org/man/':28 'man.archlinux.org/man/extra/docker/docker-config-json.5.en)':32 'output':13 'possibl':7 'ps':12 'save':9 'thought':3 'use':19"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6877038"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705823881 {#4008
    date: 2024-01-21 08:58:01.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4063
  +user: App\Entity\User {#4011 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    Just a thought: It should be possible to save the default ps output does that not fit your use case better?\n
    \n
    `man 5 docker-config-json`\n
    \n
    [man.archlinux.org/man/…/docker-config-json.5.en](https://man.archlinux.org/man/extra/docker/docker-config-json.5.en)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1727302106 {#4072
    date: 2024-09-26 00:08:26.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4061 …}
  +nested: Doctrine\ORM\PersistentCollection {#4059 …}
  +votes: Doctrine\ORM\PersistentCollection {#4057 …}
  +reports: Doctrine\ORM\PersistentCollection {#4055 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4023 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4027 …}
  -id: 327638
  -bodyTs: "'/docker-config-json.5.en':31 '/man/':30 '/man/extra/docker/docker-config-json.5.en)':34 '5':23 'better':21 'case':20 'config':26 'default':11 'docker':25 'docker-config-json':24 'fit':17 'json':27 'man':22 'man.archlinux.org':29,33 'man.archlinux.org/man/':28 'man.archlinux.org/man/extra/docker/docker-config-json.5.en)':32 'output':13 'possibl':7 'ps':12 'save':9 'thought':3 'use':19"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6877038"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705823881 {#4008
    date: 2024-01-21 08:58:01.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4063
  +user: App\Entity\User {#4011 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    Just a thought: It should be possible to save the default ps output does that not fit your use case better?\n
    \n
    `man 5 docker-config-json`\n
    \n
    [man.archlinux.org/man/…/docker-config-json.5.en](https://man.archlinux.org/man/extra/docker/docker-config-json.5.en)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1727302106 {#4072
    date: 2024-09-26 00:08:26.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4061 …}
  +nested: Doctrine\ORM\PersistentCollection {#4059 …}
  +votes: Doctrine\ORM\PersistentCollection {#4057 …}
  +reports: Doctrine\ORM\PersistentCollection {#4055 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4023 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4027 …}
  -id: 327638
  -bodyTs: "'/docker-config-json.5.en':31 '/man/':30 '/man/extra/docker/docker-config-json.5.en)':34 '5':23 'better':21 'case':20 'config':26 'default':11 'docker':25 'docker-config-json':24 'fit':17 'json':27 'man':22 'man.archlinux.org':29,33 'man.archlinux.org/man/':28 'man.archlinux.org/man/extra/docker/docker-config-json.5.en)':32 'output':13 'possibl':7 'ps':12 'save':9 'thought':3 'use':19"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6877038"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705823881 {#4008
    date: 2024-01-21 08:58:01.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4444
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4063
    +user: App\Entity\User {#4011 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      Just a thought: It should be possible to save the default ps output does that not fit your use case better?\n
      \n
      `man 5 docker-config-json`\n
      \n
      [man.archlinux.org/man/…/docker-config-json.5.en](https://man.archlinux.org/man/extra/docker/docker-config-json.5.en)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1727302106 {#4072
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4061 …}
    +nested: Doctrine\ORM\PersistentCollection {#4059 …}
    +votes: Doctrine\ORM\PersistentCollection {#4057 …}
    +reports: Doctrine\ORM\PersistentCollection {#4055 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4023 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4027 …}
    -id: 327638
    -bodyTs: "'/docker-config-json.5.en':31 '/man/':30 '/man/extra/docker/docker-config-json.5.en)':34 '5':23 'better':21 'case':20 'config':26 'default':11 'docker':25 'docker-config-json':24 'fit':17 'json':27 'man':22 'man.archlinux.org':29,33 'man.archlinux.org/man/':28 'man.archlinux.org/man/extra/docker/docker-config-json.5.en)':32 'output':13 'possibl':7 'ps':12 'save':9 'thought':3 'use':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/6877038"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705823881 {#4008
      date: 2024-01-21 08:58:01.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: "OMG! I didn’t even know about this, thanks! Will look into it, would be awesome to have ps command spit out things like I want them by default :-)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705825935 {#4442
    date: 2024-01-21 09:32:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@PlusMinus@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4445 …}
  +nested: Doctrine\ORM\PersistentCollection {#4447 …}
  +votes: Doctrine\ORM\PersistentCollection {#4449 …}
  +reports: Doctrine\ORM\PersistentCollection {#4451 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
  -id: 327691
  -bodyTs: "'awesom':16 'command':20 'default':29 'didn':3 'even':5 'know':6 'like':24 'look':11 'omg':1 'ps':19 'spit':21 'thank':9 'thing':23 'want':26 'would':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7582132"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705825935 {#4443
    date: 2024-01-21 09:32:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4444
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4063
    +user: App\Entity\User {#4011 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      Just a thought: It should be possible to save the default ps output does that not fit your use case better?\n
      \n
      `man 5 docker-config-json`\n
      \n
      [man.archlinux.org/man/…/docker-config-json.5.en](https://man.archlinux.org/man/extra/docker/docker-config-json.5.en)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1727302106 {#4072
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4061 …}
    +nested: Doctrine\ORM\PersistentCollection {#4059 …}
    +votes: Doctrine\ORM\PersistentCollection {#4057 …}
    +reports: Doctrine\ORM\PersistentCollection {#4055 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4023 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4027 …}
    -id: 327638
    -bodyTs: "'/docker-config-json.5.en':31 '/man/':30 '/man/extra/docker/docker-config-json.5.en)':34 '5':23 'better':21 'case':20 'config':26 'default':11 'docker':25 'docker-config-json':24 'fit':17 'json':27 'man':22 'man.archlinux.org':29,33 'man.archlinux.org/man/':28 'man.archlinux.org/man/extra/docker/docker-config-json.5.en)':32 'output':13 'possibl':7 'ps':12 'save':9 'thought':3 'use':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/6877038"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705823881 {#4008
      date: 2024-01-21 08:58:01.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: "OMG! I didn’t even know about this, thanks! Will look into it, would be awesome to have ps command spit out things like I want them by default :-)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705825935 {#4442
    date: 2024-01-21 09:32:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@PlusMinus@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4445 …}
  +nested: Doctrine\ORM\PersistentCollection {#4447 …}
  +votes: Doctrine\ORM\PersistentCollection {#4449 …}
  +reports: Doctrine\ORM\PersistentCollection {#4451 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
  -id: 327691
  -bodyTs: "'awesom':16 'command':20 'default':29 'didn':3 'even':5 'know':6 'like':24 'look':11 'omg':1 'ps':19 'spit':21 'thank':9 'thing':23 'want':26 'would':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7582132"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705825935 {#4443
    date: 2024-01-21 09:32:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4444
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4063
    +user: App\Entity\User {#4011 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      Just a thought: It should be possible to save the default ps output does that not fit your use case better?\n
      \n
      `man 5 docker-config-json`\n
      \n
      [man.archlinux.org/man/…/docker-config-json.5.en](https://man.archlinux.org/man/extra/docker/docker-config-json.5.en)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1727302106 {#4072
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4061 …}
    +nested: Doctrine\ORM\PersistentCollection {#4059 …}
    +votes: Doctrine\ORM\PersistentCollection {#4057 …}
    +reports: Doctrine\ORM\PersistentCollection {#4055 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4023 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4027 …}
    -id: 327638
    -bodyTs: "'/docker-config-json.5.en':31 '/man/':30 '/man/extra/docker/docker-config-json.5.en)':34 '5':23 'better':21 'case':20 'config':26 'default':11 'docker':25 'docker-config-json':24 'fit':17 'json':27 'man':22 'man.archlinux.org':29,33 'man.archlinux.org/man/':28 'man.archlinux.org/man/extra/docker/docker-config-json.5.en)':32 'output':13 'possibl':7 'ps':12 'save':9 'thought':3 'use':19"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/6877038"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705823881 {#4008
      date: 2024-01-21 08:58:01.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4063}
  +body: "OMG! I didn’t even know about this, thanks! Will look into it, would be awesome to have ps command spit out things like I want them by default :-)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705825935 {#4442
    date: 2024-01-21 09:32:15.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@PlusMinus@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4445 …}
  +nested: Doctrine\ORM\PersistentCollection {#4447 …}
  +votes: Doctrine\ORM\PersistentCollection {#4449 …}
  +reports: Doctrine\ORM\PersistentCollection {#4451 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4453 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4455 …}
  -id: 327691
  -bodyTs: "'awesom':16 'command':20 'default':29 'didn':3 'even':5 'know':6 'like':24 'look':11 'omg':1 'ps':19 'spit':21 'thank':9 'thing':23 'want':26 'would':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7582132"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705825935 {#4443
    date: 2024-01-21 09:32:15.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4095
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    As the others have said, your first issue is using blank spaces before and after `=`\n
    \n
    Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$\u{A0}alias\u{A0}dockps='docker\u{A0}ps\u{A0}--format\u{A0}"table\u{A0}{{.ID}}\u{A0}\u{A0}{{.Names}}\u{A0}\u{A0}{{.Status}}\u{A0}\u{A0}{{.Ports}}"'\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 17
  +score: 0
  +lastActive: DateTime @1727048104 {#4101
    date: 2024-09-23 01:35:04.0 +02:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4100 …}
  +nested: Doctrine\ORM\PersistentCollection {#4099 …}
  +votes: Doctrine\ORM\PersistentCollection {#4090 …}
  +reports: Doctrine\ORM\PersistentCollection {#4093 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
  -id: 325104
  -bodyTs: "'alia':28,37 'blank':11 'command':26 'defin':31 'docker':39 'dockp':38 'doubl':22 'first':7 'format':41 'id':43 'issu':8 'like':35 'name':44 'need':19 'other':3 'port':46 'ps':40 'quot':23,34 'said':5 'singl':33 'space':12 'status':45 'tabl':42 'use':10,21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6927134"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735718 {#4106
    date: 2024-01-20 08:28:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4095
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    As the others have said, your first issue is using blank spaces before and after `=`\n
    \n
    Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$\u{A0}alias\u{A0}dockps='docker\u{A0}ps\u{A0}--format\u{A0}"table\u{A0}{{.ID}}\u{A0}\u{A0}{{.Names}}\u{A0}\u{A0}{{.Status}}\u{A0}\u{A0}{{.Ports}}"'\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 17
  +score: 0
  +lastActive: DateTime @1727048104 {#4101
    date: 2024-09-23 01:35:04.0 +02:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4100 …}
  +nested: Doctrine\ORM\PersistentCollection {#4099 …}
  +votes: Doctrine\ORM\PersistentCollection {#4090 …}
  +reports: Doctrine\ORM\PersistentCollection {#4093 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
  -id: 325104
  -bodyTs: "'alia':28,37 'blank':11 'command':26 'defin':31 'docker':39 'dockp':38 'doubl':22 'first':7 'format':41 'id':43 'issu':8 'like':35 'name':44 'need':19 'other':3 'port':46 'ps':40 'quot':23,34 'said':5 'singl':33 'space':12 'status':45 'tabl':42 'use':10,21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6927134"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735718 {#4106
    date: 2024-01-20 08:28:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4095
  +user: App\Entity\User {#4084 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    As the others have said, your first issue is using blank spaces before and after `=`\n
    \n
    Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this:\n
    \n
    ```\n
    \n
    <span style="color:#323232;">$\u{A0}alias\u{A0}dockps='docker\u{A0}ps\u{A0}--format\u{A0}"table\u{A0}{{.ID}}\u{A0}\u{A0}{{.Names}}\u{A0}\u{A0}{{.Status}}\u{A0}\u{A0}{{.Ports}}"'\n
    </span>\n
    ```
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 17
  +score: 0
  +lastActive: DateTime @1727048104 {#4101
    date: 2024-09-23 01:35:04.0 +02:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4100 …}
  +nested: Doctrine\ORM\PersistentCollection {#4099 …}
  +votes: Doctrine\ORM\PersistentCollection {#4090 …}
  +reports: Doctrine\ORM\PersistentCollection {#4093 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
  -id: 325104
  -bodyTs: "'alia':28,37 'blank':11 'command':26 'defin':31 'docker':39 'dockp':38 'doubl':22 'first':7 'format':41 'id':43 'issu':8 'like':35 'name':44 'need':19 'other':3 'port':46 'ps':40 'quot':23,34 'said':5 'singl':33 'space':12 'status':45 'tabl':42 'use':10,21"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.dbzer0.com/comment/6927134"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735718 {#4106
    date: 2024-01-20 08:28:38.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4429
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4095
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      As the others have said, your first issue is using blank spaces before and after `=`\n
      \n
      Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$\u{A0}alias\u{A0}dockps='docker\u{A0}ps\u{A0}--format\u{A0}"table\u{A0}{{.ID}}\u{A0}\u{A0}{{.Names}}\u{A0}\u{A0}{{.Status}}\u{A0}\u{A0}{{.Ports}}"'\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 17
    +score: 0
    +lastActive: DateTime @1727048104 {#4101
      date: 2024-09-23 01:35:04.0 +02:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4100 …}
    +nested: Doctrine\ORM\PersistentCollection {#4099 …}
    +votes: Doctrine\ORM\PersistentCollection {#4090 …}
    +reports: Doctrine\ORM\PersistentCollection {#4093 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
    -id: 325104
    -bodyTs: "'alia':28,37 'blank':11 'command':26 'defin':31 'docker':39 'dockp':38 'doubl':22 'first':7 'format':41 'id':43 'issu':8 'like':35 'name':44 'need':19 'other':3 'port':46 'ps':40 'quot':23,34 'said':5 'singl':33 'space':12 'status':45 'tabl':42 'use':10,21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6927134"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705735718 {#4106
      date: 2024-01-20 08:28:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4095}
  +body: "Thank you (and all others who replied), this worked flawlessly :-)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1705743428 {#4426
    date: 2024-01-20 10:37:08.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@clmbmb@lemmy.dbzer0.com"
    "@krash@lemmy.ml"
    "@clmbmb@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4430 …}
  +nested: Doctrine\ORM\PersistentCollection {#4432 …}
  +votes: Doctrine\ORM\PersistentCollection {#4434 …}
  +reports: Doctrine\ORM\PersistentCollection {#4436 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
  -id: 325267
  -bodyTs: "'flawless':10 'other':5 'repli':7 'thank':1 'work':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7547495"
  +editedAt: DateTimeImmutable @1727048109 {#4427
    date: 2024-09-23 01:35:09.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705743428 {#4428
    date: 2024-01-20 10:37:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4429
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4095
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      As the others have said, your first issue is using blank spaces before and after `=`\n
      \n
      Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$\u{A0}alias\u{A0}dockps='docker\u{A0}ps\u{A0}--format\u{A0}"table\u{A0}{{.ID}}\u{A0}\u{A0}{{.Names}}\u{A0}\u{A0}{{.Status}}\u{A0}\u{A0}{{.Ports}}"'\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 17
    +score: 0
    +lastActive: DateTime @1727048104 {#4101
      date: 2024-09-23 01:35:04.0 +02:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4100 …}
    +nested: Doctrine\ORM\PersistentCollection {#4099 …}
    +votes: Doctrine\ORM\PersistentCollection {#4090 …}
    +reports: Doctrine\ORM\PersistentCollection {#4093 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
    -id: 325104
    -bodyTs: "'alia':28,37 'blank':11 'command':26 'defin':31 'docker':39 'dockp':38 'doubl':22 'first':7 'format':41 'id':43 'issu':8 'like':35 'name':44 'need':19 'other':3 'port':46 'ps':40 'quot':23,34 'said':5 'singl':33 'space':12 'status':45 'tabl':42 'use':10,21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6927134"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705735718 {#4106
      date: 2024-01-20 08:28:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4095}
  +body: "Thank you (and all others who replied), this worked flawlessly :-)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1705743428 {#4426
    date: 2024-01-20 10:37:08.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@clmbmb@lemmy.dbzer0.com"
    "@krash@lemmy.ml"
    "@clmbmb@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4430 …}
  +nested: Doctrine\ORM\PersistentCollection {#4432 …}
  +votes: Doctrine\ORM\PersistentCollection {#4434 …}
  +reports: Doctrine\ORM\PersistentCollection {#4436 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
  -id: 325267
  -bodyTs: "'flawless':10 'other':5 'repli':7 'thank':1 'work':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7547495"
  +editedAt: DateTimeImmutable @1727048109 {#4427
    date: 2024-09-23 01:35:09.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705743428 {#4428
    date: 2024-01-20 10:37:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4429
  +user: Proxies\__CG__\App\Entity\User {#1973 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4095
    +user: App\Entity\User {#4084 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      As the others have said, your first issue is using blank spaces before and after `=`\n
      \n
      Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">$\u{A0}alias\u{A0}dockps='docker\u{A0}ps\u{A0}--format\u{A0}"table\u{A0}{{.ID}}\u{A0}\u{A0}{{.Names}}\u{A0}\u{A0}{{.Status}}\u{A0}\u{A0}{{.Ports}}"'\n
      </span>\n
      ```
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 17
    +score: 0
    +lastActive: DateTime @1727048104 {#4101
      date: 2024-09-23 01:35:04.0 +02:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4100 …}
    +nested: Doctrine\ORM\PersistentCollection {#4099 …}
    +votes: Doctrine\ORM\PersistentCollection {#4090 …}
    +reports: Doctrine\ORM\PersistentCollection {#4093 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4088 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4086 …}
    -id: 325104
    -bodyTs: "'alia':28,37 'blank':11 'command':26 'defin':31 'docker':39 'dockp':38 'doubl':22 'first':7 'format':41 'id':43 'issu':8 'like':35 'name':44 'need':19 'other':3 'port':46 'ps':40 'quot':23,34 'said':5 'singl':33 'space':12 'status':45 'tabl':42 'use':10,21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.dbzer0.com/comment/6927134"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705735718 {#4106
      date: 2024-01-20 08:28:38.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4095}
  +body: "Thank you (and all others who replied), this worked flawlessly :-)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1705743428 {#4426
    date: 2024-01-20 10:37:08.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@clmbmb@lemmy.dbzer0.com"
    "@krash@lemmy.ml"
    "@clmbmb@lemmy.dbzer0.com"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4430 …}
  +nested: Doctrine\ORM\PersistentCollection {#4432 …}
  +votes: Doctrine\ORM\PersistentCollection {#4434 …}
  +reports: Doctrine\ORM\PersistentCollection {#4436 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4438 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4440 …}
  -id: 325267
  -bodyTs: "'flawless':10 'other':5 'repli':7 'thank':1 'work':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7547495"
  +editedAt: DateTimeImmutable @1727048109 {#4427
    date: 2024-09-23 01:35:09.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705743428 {#4428
    date: 2024-01-20 10:37:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4180
  +user: App\Entity\User {#4193 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Try using ‘apostrophes’ for the outer set of quotes and see if that works"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1705735147 {#4175
    date: 2024-01-20 08:19:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4181 …}
  +nested: Doctrine\ORM\PersistentCollection {#4183 …}
  +votes: Doctrine\ORM\PersistentCollection {#4185 …}
  +reports: Doctrine\ORM\PersistentCollection {#4187 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4189 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4191 …}
  -id: 325086
  -bodyTs: "'apostroph':3 'outer':6 'quot':9 'see':11 'set':7 'tri':1 'use':2 'work':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/6298991"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735147 {#4176
    date: 2024-01-20 08:19:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4180
  +user: App\Entity\User {#4193 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Try using ‘apostrophes’ for the outer set of quotes and see if that works"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1705735147 {#4175
    date: 2024-01-20 08:19:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4181 …}
  +nested: Doctrine\ORM\PersistentCollection {#4183 …}
  +votes: Doctrine\ORM\PersistentCollection {#4185 …}
  +reports: Doctrine\ORM\PersistentCollection {#4187 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4189 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4191 …}
  -id: 325086
  -bodyTs: "'apostroph':3 'outer':6 'quot':9 'see':11 'set':7 'tri':1 'use':2 'work':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/6298991"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735147 {#4176
    date: 2024-01-20 08:19:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4180
  +user: App\Entity\User {#4193 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Try using ‘apostrophes’ for the outer set of quotes and see if that works"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1705735147 {#4175
    date: 2024-01-20 08:19:07.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4181 …}
  +nested: Doctrine\ORM\PersistentCollection {#4183 …}
  +votes: Doctrine\ORM\PersistentCollection {#4185 …}
  +reports: Doctrine\ORM\PersistentCollection {#4187 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4189 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4191 …}
  -id: 325086
  -bodyTs: "'apostroph':3 'outer':6 'quot':9 'see':11 'set':7 'tri':1 'use':2 'work':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/6298991"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735147 {#4176
    date: 2024-01-20 08:19:07.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
26 DENIED moderate
App\Entity\EntryComment {#4253
  +user: App\Entity\User {#4266 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
    \n
    So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
    \n
    Does that make sense?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1727159483 {#4248
    date: 2024-09-24 08:31:23.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4254 …}
  +nested: Doctrine\ORM\PersistentCollection {#4256 …}
  +votes: Doctrine\ORM\PersistentCollection {#4258 …}
  +reports: Doctrine\ORM\PersistentCollection {#4260 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
  -id: 325084
  -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7545096"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735037 {#4249
    date: 2024-01-20 08:17:17.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4253
  +user: App\Entity\User {#4266 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
    \n
    So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
    \n
    Does that make sense?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1727159483 {#4248
    date: 2024-09-24 08:31:23.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4254 …}
  +nested: Doctrine\ORM\PersistentCollection {#4256 …}
  +votes: Doctrine\ORM\PersistentCollection {#4258 …}
  +reports: Doctrine\ORM\PersistentCollection {#4260 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
  -id: 325084
  -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7545096"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735037 {#4249
    date: 2024-01-20 08:17:17.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4253
  +user: App\Entity\User {#4266 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: """
    I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
    \n
    So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
    \n
    Does that make sense?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1727159483 {#4248
    date: 2024-09-24 08:31:23.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4254 …}
  +nested: Doctrine\ORM\PersistentCollection {#4256 …}
  +votes: Doctrine\ORM\PersistentCollection {#4258 …}
  +reports: Doctrine\ORM\PersistentCollection {#4260 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
  -id: 325084
  -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7545096"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705735037 {#4249
    date: 2024-01-20 08:17:17.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
29 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
30 DENIED moderate
App\Entity\EntryComment {#4409
  +user: Proxies\__CG__\App\Entity\User {#4405 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4253
    +user: App\Entity\User {#4266 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
      \n
      So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
      \n
      Does that make sense?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1727159483 {#4248
      date: 2024-09-24 08:31:23.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4254 …}
    +nested: Doctrine\ORM\PersistentCollection {#4256 …}
    +votes: Doctrine\ORM\PersistentCollection {#4258 …}
    +reports: Doctrine\ORM\PersistentCollection {#4260 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
    -id: 325084
    -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7545096"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705735037 {#4249
      date: 2024-01-20 08:17:17.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4253}
  +body: """
    That’s not how it works. The second bare double-quote closes the first one regardless of how it is nested in a string. The middle pair of double-quotes would need to be escaped. Also, single-quotes cannot be escaped in this way.\n
    \n
    The only place I can think of where nested double quotes do work is in subshells\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "hello $(echo "world")"\n
    </span>\n
    ```\n
    \n
    This is because the subshell is interpreted before the outer logic, so during interpretation of the outer logic there is never a nested double quote, just the stdout of the subshell.\n
    \n
    These things are sometimes difficult to grok, and even more common, difficult to spot with human eyes. Best to use shellcheck, which will surely help you get better at shell scripting.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705755198 {#4414
    date: 2024-01-20 13:53:18.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4404 …}
  +nested: Doctrine\ORM\PersistentCollection {#4408 …}
  +votes: Doctrine\ORM\PersistentCollection {#4418 …}
  +reports: Doctrine\ORM\PersistentCollection {#4420 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
  -id: 325536
  -bodyTs: "'also':38 'bare':9 'best':116 'better':126 'cannot':42 'close':13 'common':109 'difficult':103,110 'doubl':11,31,57,91 'double-quot':10,30 'echo':64,66 'escap':37,44 'even':107 'eye':115 'first':15 'get':125 'grok':105 'hello':65 'help':123 'human':114 'interpret':74,81 'logic':78,85 'middl':27 'need':34 'nest':22,56,90 'never':88 'one':16 'outer':77,84 'pair':28 'place':50 'quot':12,32,41,58,92 'regardless':17 'script':129 'second':8 'shell':128 'shellcheck':119 'singl':40 'single-quot':39 'sometim':102 'spot':112 'stdout':95 'string':25 'subshel':63,72,98 'sure':122 'thing':100 'think':53 'use':118 'way':47 'work':6,60 'world':67 'would':33"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6848951"
  +editedAt: DateTimeImmutable @1727135477 {#4417
    date: 2024-09-24 01:51:17.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705755198 {#4413
    date: 2024-01-20 13:53:18.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
31 DENIED edit
App\Entity\EntryComment {#4409
  +user: Proxies\__CG__\App\Entity\User {#4405 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4253
    +user: App\Entity\User {#4266 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
      \n
      So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
      \n
      Does that make sense?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1727159483 {#4248
      date: 2024-09-24 08:31:23.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4254 …}
    +nested: Doctrine\ORM\PersistentCollection {#4256 …}
    +votes: Doctrine\ORM\PersistentCollection {#4258 …}
    +reports: Doctrine\ORM\PersistentCollection {#4260 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
    -id: 325084
    -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7545096"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705735037 {#4249
      date: 2024-01-20 08:17:17.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4253}
  +body: """
    That’s not how it works. The second bare double-quote closes the first one regardless of how it is nested in a string. The middle pair of double-quotes would need to be escaped. Also, single-quotes cannot be escaped in this way.\n
    \n
    The only place I can think of where nested double quotes do work is in subshells\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "hello $(echo "world")"\n
    </span>\n
    ```\n
    \n
    This is because the subshell is interpreted before the outer logic, so during interpretation of the outer logic there is never a nested double quote, just the stdout of the subshell.\n
    \n
    These things are sometimes difficult to grok, and even more common, difficult to spot with human eyes. Best to use shellcheck, which will surely help you get better at shell scripting.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705755198 {#4414
    date: 2024-01-20 13:53:18.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4404 …}
  +nested: Doctrine\ORM\PersistentCollection {#4408 …}
  +votes: Doctrine\ORM\PersistentCollection {#4418 …}
  +reports: Doctrine\ORM\PersistentCollection {#4420 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
  -id: 325536
  -bodyTs: "'also':38 'bare':9 'best':116 'better':126 'cannot':42 'close':13 'common':109 'difficult':103,110 'doubl':11,31,57,91 'double-quot':10,30 'echo':64,66 'escap':37,44 'even':107 'eye':115 'first':15 'get':125 'grok':105 'hello':65 'help':123 'human':114 'interpret':74,81 'logic':78,85 'middl':27 'need':34 'nest':22,56,90 'never':88 'one':16 'outer':77,84 'pair':28 'place':50 'quot':12,32,41,58,92 'regardless':17 'script':129 'second':8 'shell':128 'shellcheck':119 'singl':40 'single-quot':39 'sometim':102 'spot':112 'stdout':95 'string':25 'subshel':63,72,98 'sure':122 'thing':100 'think':53 'use':118 'way':47 'work':6,60 'world':67 'would':33"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6848951"
  +editedAt: DateTimeImmutable @1727135477 {#4417
    date: 2024-09-24 01:51:17.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705755198 {#4413
    date: 2024-01-20 13:53:18.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
32 DENIED moderate
App\Entity\EntryComment {#4409
  +user: Proxies\__CG__\App\Entity\User {#4405 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4253
    +user: App\Entity\User {#4266 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: """
      I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
      \n
      So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
      \n
      Does that make sense?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1727159483 {#4248
      date: 2024-09-24 08:31:23.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@krash@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4254 …}
    +nested: Doctrine\ORM\PersistentCollection {#4256 …}
    +votes: Doctrine\ORM\PersistentCollection {#4258 …}
    +reports: Doctrine\ORM\PersistentCollection {#4260 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
    -id: 325084
    -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/7545096"
    +editedAt: null
    +createdAt: DateTimeImmutable @1705735037 {#4249
      date: 2024-01-20 08:17:17.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4253}
  +body: """
    That’s not how it works. The second bare double-quote closes the first one regardless of how it is nested in a string. The middle pair of double-quotes would need to be escaped. Also, single-quotes cannot be escaped in this way.\n
    \n
    The only place I can think of where nested double quotes do work is in subshells\n
    \n
    ```\n
    \n
    <span style="color:#323232;">echo "hello $(echo "world")"\n
    </span>\n
    ```\n
    \n
    This is because the subshell is interpreted before the outer logic, so during interpretation of the outer logic there is never a nested double quote, just the stdout of the subshell.\n
    \n
    These things are sometimes difficult to grok, and even more common, difficult to spot with human eyes. Best to use shellcheck, which will surely help you get better at shell scripting.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705755198 {#4414
    date: 2024-01-20 13:53:18.0 +01:00
  }
  +ip: null
  +tags: [
    "323232"
  ]
  +mentions: [
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4404 …}
  +nested: Doctrine\ORM\PersistentCollection {#4408 …}
  +votes: Doctrine\ORM\PersistentCollection {#4418 …}
  +reports: Doctrine\ORM\PersistentCollection {#4420 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
  -id: 325536
  -bodyTs: "'also':38 'bare':9 'best':116 'better':126 'cannot':42 'close':13 'common':109 'difficult':103,110 'doubl':11,31,57,91 'double-quot':10,30 'echo':64,66 'escap':37,44 'even':107 'eye':115 'first':15 'get':125 'grok':105 'hello':65 'help':123 'human':114 'interpret':74,81 'logic':78,85 'middl':27 'need':34 'nest':22,56,90 'never':88 'one':16 'outer':77,84 'pair':28 'place':50 'quot':12,32,41,58,92 'regardless':17 'script':129 'second':8 'shell':128 'shellcheck':119 'singl':40 'single-quot':39 'sometim':102 'spot':112 'stdout':95 'string':25 'subshel':63,72,98 'sure':122 'thing':100 'think':53 'use':118 'way':47 'work':6,60 'world':67 'would':33"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/6848951"
  +editedAt: DateTimeImmutable @1727135477 {#4417
    date: 2024-09-24 01:51:17.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705755198 {#4413
    date: 2024-01-20 13:53:18.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
33 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
34 DENIED moderate
App\Entity\EntryComment {#4467
  +user: App\Entity\User {#4266 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4409
    +user: Proxies\__CG__\App\Entity\User {#4405 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4253
      +user: App\Entity\User {#4266 …}
      +entry: App\Entity\Entry {#2413}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
        \n
        So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
        \n
        Does that make sense?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1727159483 {#4248
        date: 2024-09-24 08:31:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@krash@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4254 …}
      +nested: Doctrine\ORM\PersistentCollection {#4256 …}
      +votes: Doctrine\ORM\PersistentCollection {#4258 …}
      +reports: Doctrine\ORM\PersistentCollection {#4260 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
      -id: 325084
      -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7545096"
      +editedAt: null
      +createdAt: DateTimeImmutable @1705735037 {#4249
        date: 2024-01-20 08:17:17.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4253}
    +body: """
      That’s not how it works. The second bare double-quote closes the first one regardless of how it is nested in a string. The middle pair of double-quotes would need to be escaped. Also, single-quotes cannot be escaped in this way.\n
      \n
      The only place I can think of where nested double quotes do work is in subshells\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "hello $(echo "world")"\n
      </span>\n
      ```\n
      \n
      This is because the subshell is interpreted before the outer logic, so during interpretation of the outer logic there is never a nested double quote, just the stdout of the subshell.\n
      \n
      These things are sometimes difficult to grok, and even more common, difficult to spot with human eyes. Best to use shellcheck, which will surely help you get better at shell scripting.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1705755198 {#4414
      date: 2024-01-20 13:53:18.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4408 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 325536
    -bodyTs: "'also':38 'bare':9 'best':116 'better':126 'cannot':42 'close':13 'common':109 'difficult':103,110 'doubl':11,31,57,91 'double-quot':10,30 'echo':64,66 'escap':37,44 'even':107 'eye':115 'first':15 'get':125 'grok':105 'hello':65 'help':123 'human':114 'interpret':74,81 'logic':78,85 'middl':27 'need':34 'nest':22,56,90 'never':88 'one':16 'outer':77,84 'pair':28 'place':50 'quot':12,32,41,58,92 'regardless':17 'script':129 'second':8 'shell':128 'shellcheck':119 'singl':40 'single-quot':39 'sometim':102 'spot':112 'stdout':95 'string':25 'subshel':63,72,98 'sure':122 'thing':100 'think':53 'use':118 'way':47 'work':6,60 'world':67 'would':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/6848951"
    +editedAt: DateTimeImmutable @1727135477 {#4417
      date: 2024-09-24 01:51:17.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705755198 {#4413
      date: 2024-01-20 13:53:18.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4253}
  +body: "TIL! Thank you!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705777437 {#4468
    date: 2024-01-20 20:03:57.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@friend_of_satan@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4464 …}
  +nested: Doctrine\ORM\PersistentCollection {#4460 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4473 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4475 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4477 …}
  -id: 326287
  -bodyTs: "'thank':2 'til':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7558028"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705777437 {#4471
    date: 2024-01-20 20:03:57.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
35 DENIED edit
App\Entity\EntryComment {#4467
  +user: App\Entity\User {#4266 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4409
    +user: Proxies\__CG__\App\Entity\User {#4405 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4253
      +user: App\Entity\User {#4266 …}
      +entry: App\Entity\Entry {#2413}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
        \n
        So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
        \n
        Does that make sense?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1727159483 {#4248
        date: 2024-09-24 08:31:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@krash@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4254 …}
      +nested: Doctrine\ORM\PersistentCollection {#4256 …}
      +votes: Doctrine\ORM\PersistentCollection {#4258 …}
      +reports: Doctrine\ORM\PersistentCollection {#4260 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
      -id: 325084
      -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7545096"
      +editedAt: null
      +createdAt: DateTimeImmutable @1705735037 {#4249
        date: 2024-01-20 08:17:17.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4253}
    +body: """
      That’s not how it works. The second bare double-quote closes the first one regardless of how it is nested in a string. The middle pair of double-quotes would need to be escaped. Also, single-quotes cannot be escaped in this way.\n
      \n
      The only place I can think of where nested double quotes do work is in subshells\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "hello $(echo "world")"\n
      </span>\n
      ```\n
      \n
      This is because the subshell is interpreted before the outer logic, so during interpretation of the outer logic there is never a nested double quote, just the stdout of the subshell.\n
      \n
      These things are sometimes difficult to grok, and even more common, difficult to spot with human eyes. Best to use shellcheck, which will surely help you get better at shell scripting.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1705755198 {#4414
      date: 2024-01-20 13:53:18.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4408 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 325536
    -bodyTs: "'also':38 'bare':9 'best':116 'better':126 'cannot':42 'close':13 'common':109 'difficult':103,110 'doubl':11,31,57,91 'double-quot':10,30 'echo':64,66 'escap':37,44 'even':107 'eye':115 'first':15 'get':125 'grok':105 'hello':65 'help':123 'human':114 'interpret':74,81 'logic':78,85 'middl':27 'need':34 'nest':22,56,90 'never':88 'one':16 'outer':77,84 'pair':28 'place':50 'quot':12,32,41,58,92 'regardless':17 'script':129 'second':8 'shell':128 'shellcheck':119 'singl':40 'single-quot':39 'sometim':102 'spot':112 'stdout':95 'string':25 'subshel':63,72,98 'sure':122 'thing':100 'think':53 'use':118 'way':47 'work':6,60 'world':67 'would':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/6848951"
    +editedAt: DateTimeImmutable @1727135477 {#4417
      date: 2024-09-24 01:51:17.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705755198 {#4413
      date: 2024-01-20 13:53:18.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4253}
  +body: "TIL! Thank you!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705777437 {#4468
    date: 2024-01-20 20:03:57.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@friend_of_satan@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4464 …}
  +nested: Doctrine\ORM\PersistentCollection {#4460 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4473 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4475 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4477 …}
  -id: 326287
  -bodyTs: "'thank':2 'til':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7558028"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705777437 {#4471
    date: 2024-01-20 20:03:57.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
36 DENIED moderate
App\Entity\EntryComment {#4467
  +user: App\Entity\User {#4266 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4409
    +user: Proxies\__CG__\App\Entity\User {#4405 …}
    +entry: App\Entity\Entry {#2413}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4253
      +user: App\Entity\User {#4266 …}
      +entry: App\Entity\Entry {#2413}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: """
        I think you have to alternate the quotations you use between doubles and singles, pairwise. Else the first pair is closed after --format.\n
        \n
        So you have to use a pattern like “command level 1 ‘level 2 “level 3” more level 2’ more level 1”\n
        \n
        Does that make sense?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1727159483 {#4248
        date: 2024-09-24 08:31:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@krash@lemmy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4254 …}
      +nested: Doctrine\ORM\PersistentCollection {#4256 …}
      +votes: Doctrine\ORM\PersistentCollection {#4258 …}
      +reports: Doctrine\ORM\PersistentCollection {#4260 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4262 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4264 …}
      -id: 325084
      -bodyTs: "'1':34,44 '2':36,41 '3':38 'altern':6 'close':21 'command':32 'doubl':12 'els':16 'first':18 'format':23 'level':33,35,37,40,43 'like':31 'make':47 'pair':19 'pairwis':15 'pattern':30 'quotat':8 'sens':48 'singl':14 'think':2 'use':10,28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/7545096"
      +editedAt: null
      +createdAt: DateTimeImmutable @1705735037 {#4249
        date: 2024-01-20 08:17:17.0 +01:00
      }
    }
    +root: App\Entity\EntryComment {#4253}
    +body: """
      That’s not how it works. The second bare double-quote closes the first one regardless of how it is nested in a string. The middle pair of double-quotes would need to be escaped. Also, single-quotes cannot be escaped in this way.\n
      \n
      The only place I can think of where nested double quotes do work is in subshells\n
      \n
      ```\n
      \n
      <span style="color:#323232;">echo "hello $(echo "world")"\n
      </span>\n
      ```\n
      \n
      This is because the subshell is interpreted before the outer logic, so during interpretation of the outer logic there is never a nested double quote, just the stdout of the subshell.\n
      \n
      These things are sometimes difficult to grok, and even more common, difficult to spot with human eyes. Best to use shellcheck, which will surely help you get better at shell scripting.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1705755198 {#4414
      date: 2024-01-20 13:53:18.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
      "@krash@lemmy.ml"
      "@humanplayer2@lemmy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4404 …}
    +nested: Doctrine\ORM\PersistentCollection {#4408 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 325536
    -bodyTs: "'also':38 'bare':9 'best':116 'better':126 'cannot':42 'close':13 'common':109 'difficult':103,110 'doubl':11,31,57,91 'double-quot':10,30 'echo':64,66 'escap':37,44 'even':107 'eye':115 'first':15 'get':125 'grok':105 'hello':65 'help':123 'human':114 'interpret':74,81 'logic':78,85 'middl':27 'need':34 'nest':22,56,90 'never':88 'one':16 'outer':77,84 'pair':28 'place':50 'quot':12,32,41,58,92 'regardless':17 'script':129 'second':8 'shell':128 'shellcheck':119 'singl':40 'single-quot':39 'sometim':102 'spot':112 'stdout':95 'string':25 'subshel':63,72,98 'sure':122 'thing':100 'think':53 'use':118 'way':47 'work':6,60 'world':67 'would':33"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/6848951"
    +editedAt: DateTimeImmutable @1727135477 {#4417
      date: 2024-09-24 01:51:17.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705755198 {#4413
      date: 2024-01-20 13:53:18.0 +01:00
    }
  }
  +root: App\Entity\EntryComment {#4253}
  +body: "TIL! Thank you!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1705777437 {#4468
    date: 2024-01-20 20:03:57.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@humanplayer2@lemmy.ml"
    "@friend_of_satan@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4464 …}
  +nested: Doctrine\ORM\PersistentCollection {#4460 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4473 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4475 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4477 …}
  -id: 326287
  -bodyTs: "'thank':2 'til':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/7558028"
  +editedAt: null
  +createdAt: DateTimeImmutable @1705777437 {#4471
    date: 2024-01-20 20:03:57.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
37 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
38 DENIED moderate
App\Entity\EntryComment {#4328
  +user: App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Not at my computer so I can’t double check, but I believe you can replace the outer double quotes with single quotes. I’d also remove the spaces before and after the equal sign for the alias. I don’t know about fish but I know bash doesn’t like when you add spaces there."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1705734994 {#4322
    date: 2024-01-20 08:16:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4329 …}
  +nested: Doctrine\ORM\PersistentCollection {#4331 …}
  +votes: Doctrine\ORM\PersistentCollection {#4333 …}
  +reports: Doctrine\ORM\PersistentCollection {#4335 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4337 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4339 …}
  -id: 325083
  -bodyTs: "'add':54 'alia':38 'also':26 'bash':48 'believ':13 'check':10 'comput':4 'd':25 'doesn':49 'doubl':9,19 'equal':34 'fish':44 'know':42,47 'like':51 'outer':18 'quot':20,23 'remov':27 'replac':16 'sign':35 'singl':22 'space':29,55"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6631344"
  +editedAt: DateTimeImmutable @1727023219 {#4323
    date: 2024-09-22 18:40:19.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705734994 {#4324
    date: 2024-01-20 08:16:34.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
39 DENIED edit
App\Entity\EntryComment {#4328
  +user: App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Not at my computer so I can’t double check, but I believe you can replace the outer double quotes with single quotes. I’d also remove the spaces before and after the equal sign for the alias. I don’t know about fish but I know bash doesn’t like when you add spaces there."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1705734994 {#4322
    date: 2024-01-20 08:16:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4329 …}
  +nested: Doctrine\ORM\PersistentCollection {#4331 …}
  +votes: Doctrine\ORM\PersistentCollection {#4333 …}
  +reports: Doctrine\ORM\PersistentCollection {#4335 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4337 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4339 …}
  -id: 325083
  -bodyTs: "'add':54 'alia':38 'also':26 'bash':48 'believ':13 'check':10 'comput':4 'd':25 'doesn':49 'doubl':9,19 'equal':34 'fish':44 'know':42,47 'like':51 'outer':18 'quot':20,23 'remov':27 'replac':16 'sign':35 'singl':22 'space':29,55"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6631344"
  +editedAt: DateTimeImmutable @1727023219 {#4323
    date: 2024-09-22 18:40:19.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705734994 {#4324
    date: 2024-01-20 08:16:34.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
40 DENIED moderate
App\Entity\EntryComment {#4328
  +user: App\Entity\User {#4341 …}
  +entry: App\Entity\Entry {#2413
    +user: Proxies\__CG__\App\Entity\User {#1973 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#274
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#268
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#270
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1899 …}
    +slug: "creating-an-alias-of-a-command-with-plenty-special-characters"
    +title: "creating an alias of a command with plenty special characters"
    +url: null
    +body: """
      Hello all, I wan to create an alias of this command: `alias dockps = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      The syntax for creating an alias is: `alias $COMMAND = “docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}””`\n
      \n
      However, since there are quote marks, I assume they neet to be escaped with ``. But in the case above, I’m getting the errors in fish and bash.\n
      \n
      Fish error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}””`\n
      \n
      `alias: expected <= 2 arguments; got 3`\n
      \n
      Bash error: `$ alias dockps = “docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”” bash: alias: dockps: not found bash: alias: =: not found bash: alias: docker ps --format “table {{.ID}}  {{.Names}}  {{.Status}}  {{.Ports}}”: not found`\n
      \n
      What am I doing wrong?\n
      \n
      Thanks in advance!\n
      \n
      Edit: For fish shell users out there, this can be accomplished by using `func`: `$ function dockerps         docker ps --format “table {{.ID}}t{{.Names}}t{{.Status}}t{{.Ports}}”    end $ funcsave dockerps `\n
      \n
      I’m leaving the question up as the question with escape characters is still relevant and can be a learning resouce.
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 9
    +favouriteCount: 26
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1727302106 {#2418
      date: 2024-09-26 00:08:26.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1408 …}
    +votes: Doctrine\ORM\PersistentCollection {#1961 …}
    +reports: Doctrine\ORM\PersistentCollection {#1972 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1399 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2440 …}
    +badges: Doctrine\ORM\PersistentCollection {#2436 …}
    +children: []
    -id: 31883
    -titleTs: "'alia':3 'charact':10 'command':6 'creat':1 'plenti':8 'special':9"
    -bodyTs: "'2':87 '3':90 'accomplish':142 'advanc':131 'alia':8,12,30,32,75,85,93,104,109,113 'argument':88 'assum':52 'bash':72,91,103,108,112 'case':62 'charact':173 'command':11,33 'creat':6,28 'docker':14,34,77,95,114,148 'dockerp':147,161 'dockp':13,76,94,105 'edit':132 'end':159 'error':68,74,92 'escap':57,172 'expect':86 'fish':70,73,134 'format':16,36,79,97,116,150 'found':107,111,123 'func':145 'funcsav':160 'function':146 'get':66 'got':89 'hello':1 'howev':45 'id':18,38,81,99,118,152 'learn':181 'leav':164 'm':65,163 'mark':50 'name':20,40,82,100,119,154 'neet':54 'port':24,44,84,102,121,158 'ps':15,35,78,96,115,149 'question':166,170 'quot':49 'relev':176 'resouc':182 'shell':135 'sinc':46 'status':22,42,83,101,120,156 'still':175 'syntax':26 'tabl':17,37,80,98,117,151 'thank':129 'use':144 'user':136 'wan':4 'wrong':128"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1705820891
    +visibility: "visible             "
    +apId: "https://lemmy.ml/post/10790028"
    +editedAt: DateTimeImmutable @1727023176 {#1858
      date: 2024-09-22 18:39:36.0 +02:00
    }
    +createdAt: DateTimeImmutable @1705734491 {#2388
      date: 2024-01-20 08:08:11.0 +01:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Not at my computer so I can’t double check, but I believe you can replace the outer double quotes with single quotes. I’d also remove the spaces before and after the equal sign for the alias. I don’t know about fish but I know bash doesn’t like when you add spaces there."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1705734994 {#4322
    date: 2024-01-20 08:16:34.0 +01:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@krash@lemmy.ml"
    "@krash@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4329 …}
  +nested: Doctrine\ORM\PersistentCollection {#4331 …}
  +votes: Doctrine\ORM\PersistentCollection {#4333 …}
  +reports: Doctrine\ORM\PersistentCollection {#4335 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4337 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4339 …}
  -id: 325083
  -bodyTs: "'add':54 'alia':38 'also':26 'bash':48 'believ':13 'check':10 'comput':4 'd':25 'doesn':49 'doubl':9,19 'equal':34 'fish':44 'know':42,47 'like':51 'outer':18 'quot':20,23 'remov':27 'replac':16 'sign':35 'singl':22 'space':29,55"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://programming.dev/comment/6631344"
  +editedAt: DateTimeImmutable @1727023219 {#4323
    date: 2024-09-22 18:40:19.0 +02:00
  }
  +createdAt: DateTimeImmutable @1705734994 {#4324
    date: 2024-01-20 08:16:34.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
41 DENIED edit
App\Entity\Magazine {#264
  +icon: Proxies\__CG__\App\Entity\Image {#245 …}
  +name: "linux@lemmy.ml"
  +title: "linux"
  +description: """
    From Wikipedia, the free encyclopedia\n
    \n
    Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
    \n
    Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
    \n
    ### Rules\n
    \n
    - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
    - No misinformation\n
    - No NSFW content\n
    - No hate speech, bigotry, etc\n
    \n
    ### Related Communities\n
    \n
    - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
    - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
    - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
    - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
    \n
    Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 1406
  +entryCommentCount: 28632
  +postCount: 6
  +postCommentCount: 214
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729583542 {#274
    date: 2024-10-22 09:52:22.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#236 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
  +entries: Doctrine\ORM\PersistentCollection {#179 …}
  +posts: Doctrine\ORM\PersistentCollection {#137 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
  +bans: Doctrine\ORM\PersistentCollection {#116 …}
  +reports: Doctrine\ORM\PersistentCollection {#102 …}
  +badges: Doctrine\ORM\PersistentCollection {#80 …}
  +logs: Doctrine\ORM\PersistentCollection {#70 …}
  +awards: Doctrine\ORM\PersistentCollection {#1360 …}
  +categories: Doctrine\ORM\PersistentCollection {#1792 …}
  -id: 73
  +apId: "linux@lemmy.ml"
  +apProfileId: "https://lemmy.ml/c/linux"
  +apPublicUrl: "https://lemmy.ml/c/linux"
  +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
  +apInboxUrl: "https://lemmy.ml/inbox"
  +apDomain: "lemmy.ml"
  +apPreferredUsername: "linux"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1729583596 {#268
    date: 2024-10-22 09:53:16.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1698929468 {#270
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details