Last active
March 3, 2021 11:29
-
-
Save micheletolve/a89b4ad63ddffb78fa9a03b4d9bb1f0e to your computer and use it in GitHub Desktop.
dotnet CLI alias
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/dotnet-outdated/dotnet-outdated | |
# This is a continuation of the original dotnet-outdated tool created by Jerrie Pelser. | |
# If you already have the original dotnet-outdated tool installed you need to | |
# run dotnet tool uninstall --global dotnet-outdated before installing this version. | |
# View dotnet tool installed | |
alias tool:l='dotnet tool list --global' | |
# Install tool by this command and pass a name of tool es. <dotnet-outdated-tool> | |
# # tool:i <tool-name> | |
alias tool:i='dotnet tool install --global' | |
# Update tool, this command run before use and pass a name of tool es. <dotnet-outdated-tool> | |
# tool:u <tool-name> | |
alias tool:u='dotnet tool update --global' | |
################ | |
# To mannually kill the kestrel server use this command to see the running process and it pid on the specified port | |
# pidlist :5001 | |
alias pidlist='lsof -iTCP -sTCP:LISTEN -P | grep' <:xxx> | |
# and kill them | |
# sudo kill -9 PID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment