diff options
author | Pranav Shikarpur <contact@snpranav.com> | 2020-09-19 16:25:57 -0400 |
---|---|---|
committer | Pranav Shikarpur <contact@snpranav.com> | 2020-09-19 16:25:57 -0400 |
commit | be55dd94a2a299fb85bc505ea9ed7bc39788bb8e (patch) | |
tree | c795a2e939e9a00226b1f6d321abbac46d7111eb | |
parent | 8642540c1bad18fc3cf942a6f3bb959bd9e35f1f (diff) |
Updated README and added instructions to the script
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | gtop-docker.sh | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -37,7 +37,7 @@ $ docker run --rm -it \ Run gtop in your terminal using the `gtop` command, but in a docker container by running the following lines. ```sh -$ sh -c "$(curl -fSsL https://raw.githubusercontent.com/snpranav/gtop/master/gtop-docker.sh)" +$ sh -c "$(curl -fSsL https://raw.githubusercontent.com/aksakalli/gtop/master/gtop-docker.sh)" $ gtop # Run gtop from your terminal whenever you want to open gtop. ``` diff --git a/gtop-docker.sh b/gtop-docker.sh index 9dcf2a7..a5824c4 100755 --- a/gtop-docker.sh +++ b/gtop-docker.sh @@ -1,5 +1,13 @@ #!/bin/sh +######################################### +# Run gtop in your terminal using the `gtop` command, but in a docker container by running the following lines. +# ```sh +# $ sh -c "$(curl -fSsL https://raw.githubusercontent.com/aksakalli/gtop/master/gtop-docker.sh)" + +# $ gtop # Run gtop from your terminal whenever you want to open gtop. +######################################### + sudo tee /usr/local/bin/gtop > /dev/null << EOF docker run --rm -it \ --name gtop-from-executable \ |