sign in
|
add example
|
see also:
MikeJudge
examples
favorites
badges
[
new example
]
copy
6
0
tcpdump -i eth0 -n -s 16384 port 53 -XX
Dump all dns records
tcpdump
2 years, 4 months ago
MikeJudge
4 |
details
|
copy
0
0
find home -depth -print | bsdcpio -pdamuv /export2/
copy and keep permissions
cpio
find
2 years, 4 months ago
MikeJudge
4 |
details
|
copy
1
0
ssh -L3389:10.100.22.1:3389 jumpbox
ssh into host jumpbox, then bind port 3389 on 10.100.22.1 to 3389 on localhost ( let's you remote desktop into 10.100.22.1 )
ssh
2 years, 4 months ago
MikeJudge
4 |
details
|
copy
10
0
xmllint --format --recover myfile.xml
Make your xml file formatting proper
xml
xmllint
2 years, 4 months ago
MikeJudge
4 |
details
|
copy
3
2
Show debug ssl info on local server
openssl s_client -msg -debug -connect 127.0.0.1:443
dump debug ssl info
certs
ssl
openssl
1 year ago
MikeJudge
4 |
copy
16
1
Show the ssl certs
openssl s_client -showcerts -connect 127.0.0.1:443
Show the ssl certs for 127.0.0.1
openssl
certs
1 year ago
MikeJudge
4 |
copy
8
1
delete a branch from git
git branch -D mybranch
Delete a branch
git
branch
delete
7 months, 2 weeks ago
MikeJudge
4 |
copy
1
0
Save to a read only file in vi
:w !sudo tee %
when you forget to open the file as root
vi
vim
5 months, 2 weeks ago
MikeJudge
4 |
[
new config
]
[
ask question
]
First Responder