Tool Notes

Dec 23, 2024

There are development tools, which are useful and powerful, and their common commands in this chapter.

#

Idiolect

  • < and >
    It indicates where to fill in the specified information.

    sleep <second>
    syntax
    sleep 1
    example
  • ?
    The specified information may emerge zero or one time.

    docker pull <repository>:<tag>?
    syntax
    docker pull nginx
    docker pull nginx:latest
    example
  • *
    The specified information may emerge zero or several times.

    docker-compose up -d <service name>*
    syntax
    docker-compose up -d
    docker-compose up -d mongo
    docker-compose up -d mongo mongo-express
    example
  • |
    It indicates the union of different information, choosing one to fill in.

    docker run <image id|repository>
    syntax
    docker run 4ea8fc7babb5
    docker run mongo
    example