Skip to content

Instantly share code, notes, and snippets.

@zulhfreelancer
Last active November 8, 2021 15:07
Show Gist options
  • Select an option

  • Save zulhfreelancer/233a56046143bef507beb50747d3c380 to your computer and use it in GitHub Desktop.

Select an option

Save zulhfreelancer/233a56046143bef507beb50747d3c380 to your computer and use it in GitHub Desktop.

Revisions

  1. zulhfreelancer revised this gist Apr 17, 2018. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion delete-postmaster.pid.md
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,8 @@ OR

    ```
    $ \rm -f ~/Library/Application\ Support/Postgres/var-10/postmaster.pid
    ```
    ```

    Why `\rm` and not `rm`?

    [https://stackoverflow.com/q/15691977/1577357](https://stackoverflow.com/q/15691977/1577357)
  2. zulhfreelancer revised this gist Apr 17, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions delete-postmaster.pid.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    ```
    $ cd ~/Library/Application\ Support/Postgres/var-10
    $ rm -f postmaster.pid
    $ \rm -f postmaster.pid
    ```

    OR

    ```
    $ rm -f ~/Library/Application\ Support/Postgres/var-10/postmaster.pid
    $ \rm -f ~/Library/Application\ Support/Postgres/var-10/postmaster.pid
    ```
  3. zulhfreelancer revised this gist Apr 17, 2018. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions delete-postmaster.pid.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,10 @@
    ```
    $ cd ~/Library/Application\ Support/Postgres/var-10
    $ rm -f postmaster.pid
    ```

    OR

    ```
    $ rm -f ~/Library/Application\ Support/Postgres/var-10/postmaster.pid
    ```
  4. zulhfreelancer revised this gist Jan 29, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion delete-postmaster.pid.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    ```
    $ cd ~/Library/Application\ Support/Postgres/var-10
    rm -f postmaster.pid
    $ rm -f postmaster.pid
    ```
  5. zulhfreelancer created this gist Jan 29, 2018.
    4 changes: 4 additions & 0 deletions delete-postmaster.pid.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    ```
    $ cd ~/Library/Application\ Support/Postgres/var-10
    rm -f postmaster.pid
    ```