List of important shortcuts for pycharm
Ctrl + B Navigate to the definition to the term under the cursor
Ctrl + Alt + left arrow Navigate back to last location in code
| #!/bin/bash | |
| # Check sudo. | |
| # If credentials not already cached, ask for password and cache credentials. | |
| # If already cached, increase sudo timeout by 5 min | |
| sudo -v && exit 1 'Sudo access needed to execute this script' | |
| # First update | |
| echo "Updating apt list ...." |