Press v to select characters, or uppercase V to select whole lines
Move the cursor to the end of what you want to cut.
Press d to cut (or y to copy).
Move to where you would like to paste.
Press P to paste before the cursor, or p to paste after.
####################
F3 - View file
F4 - Edit file
F5 - Copy file / folder
F6 - Move file / folder
F7 - Create new folder
F8 - Delete file / folder (via recycle bin)
####################
Shift + F4 - Create file
Shift + F6 - Rename file / folder
Shift + Delete - Delete file / folder (without recycle bin)
####################
Alt + F1 - Change drive ( left side)
Alt + F2 - Change drive ( right side)
Alt + F11 - Display view and edit history
Alt + F12 - Display folder history
####################
Ctrl + O - Hide/show both panels ( show cmd )
Ctrl + \ - Go to the root folder
Ctrl + Enter - Insert file name to cmd
Open Regedit:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lenovo\System Update\Preferences\UserSettings\Scheduler
Set "Frequency" to "No"
Export cert from keystore
$ openssl pkcs12 -in keystore.p12 -out cert.pem -nodes
Show cert details
$ openssl x509 -in cert.pem -text -noout
Export public key from cert
$ openssl x509 -pubkey -noout -in cert.crt > pubkey.pem
Export private key from keystore in pem format
$ openssl pkcs12 -in keystore.p12 -nocerts -nodes -out key.pem
Convert key from pem to der format
$ openssl rsa -pubin -inform PEM -in pubkey.pem -outform DER -out pubkey.der
$ openssl rsa -pubin -inform PEM -in key.pem -outform DER -out key.der
Decrypt private key
$ openssl rsa -in key.pem -out private.key
Calculate Shake256 hash
$ cat public.key | openssl shake256
$ touch -a -m -t 202108180130.09 <file name>
show
$ netstat -rn
delete
$ sudo route delete default gw 192.168.88.1 eth1
send post request
$ curl -H "Content-Type: application/json" --data @body.json http://localhost:8080/ui/webapp/confExtract
$ tar -xvzf image.tar.gz
Create
$ tar -czvf image.tar.gz /path/to/dir
Show content
$ tar -ztvf image.tar.gz
Add padding to file
$ dd if=/dev/zero bs=1 count=8 >> public.pad.key
Replace A to B in file
$ cat input.file | sed 's/A/B/g' > output.file
Show contains
$ keytool -list -v -keystore keystore.jks
Convert keystore in JCEKS format to P12
$ keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.p12 -srcstoretype jceks -alias mycert
Import key/cert into jceks keystore from other
$ keytool -importkeystore -srckeystore source.jks -destkeystore keystore.jceks -srcstoretype jceks -alias mycert
Change password for key in keystore:
$ keytool -keypasswd -alias mycert -keystore keystore.jks
Delete alias from keystore:
$ keytool -delete -alias mycert -keystore keystore.jks
kubectl installation $ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl...