Refer to https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding
man:
-L [bind_address:]port:remote_socket
Refer to https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding
man:
-L [bind_address:]port:remote_socket
Ubuntu | CentOS | |
---|---|---|
Search package that contains the file | dpkg -S <file> |
rpm -qf <file> |
List package files | dpkg -L <package> |
rpm -ql <package> |
Search packages with glob pattern | dpkg -l <pattern > |
rpm -qa <pattern> |
Show package info | dpkg -s <package> / dpkg -p <package> |
rpm -qi <package> |
git config --get core.ignorecase
, and set it by git config core.ignorecase false
.git grep -I '^M'
. It searches for a literal CR character in files.git show
more lines before and after the changed lines, use git show -U <NUM>
.git diff
a file/dir between two commits, use git diff [--]
. Either commit
can be omitted, in which case it's as if HEAD
is used for that omitted commit./etc/bash_completion.d/
Get the OS image file(RASPBIAN STRETCH LITE) from https://www.raspberrypi.org/downloads/raspbian/, and write it into a SD card as said by https://www.raspberrypi.org/documentation/installation/installing-images/README.md