Description | Command |
---|---|
Start a new session with session name | screen -S <session_name> |
List running sessions / screens | screen -ls |
Attach to a running session | screen -x |
Attach to a running session with name | screen -r |
Searching on GitHub - Issues & PR's
Search Snippits
commenter:jaybutzler type:issue
Linux permissions are a set of flags associated with each file determines who can access that file, and how they can access it. These flags are called file permissions or modes, as in "mode of access." The command name chmod stands for "change mode." It restricts the way a file can be accessed.
user group others
r w x r w x r w x
4 2 1 4 2 0 4 0 1
4+2+1 = 7 (rwx) # user
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
#!/bin/bash | |
# | |
# Use openssl to fetch the certificate chain for a domain and add these | |
# certificates to the Ubuntu CA trust store. This is a fast and dirty | |
# method when using cloud services like ZScaler with SSL scanning, where | |
# the Cloud Enforcement Node certifcate changes frequently. | |
if [[ -z "$1" ]] ; then | |
echo Syntax error, please provide the fully qualified domain name | |
echo address: "update_chain google.com" |