所有命令 (0)

sudo pip install --upgrade youtube_dl # 或pip3

linux命令:youtube-dl 'http://youtube.com/xxxx/xxx' 'http://youtube.com/xxxx/xxx' youtube-dl youtube-dl 'http://youtube.com/xxxx/xxx'rootopen.com
linux命令:youtube-dl 'http://youtube.com/xxxx/xxx' 'http://youtube.com/xxxx/xxx' youtube-dl youtube-dl 'http://youtube.com/xxxx/xxx'rootopen.com
oqxy 2019-03-11 15:48:10

linux命令:nmcli device wifi list list wifi device nmcli nmcli device wifi listrootopen.com
linux命令:nmcli device wifi list list wifi device nmcli nmcli device wifi listrootopen.com
vojg 2019-02-25 22:39:57

我们可以通过在括号之间列出并用逗号分隔来创建多个子文件夹,而不是键入单独的命令来创建各种子文件夹

linux命令:mkdir -p /path/{folder1,folder2,folder3,folder4} /path/{folder1,folder2,folder3,folder4} -p mkdir mkdir -p /path/{folder1,folder2,folder3,folder4}rootopen.com
linux命令:mkdir -p /path/{folder1,folder2,folder3,folder4} /path/{folder1,folder2,folder3,folder4} -p mkdir mkdir -p /path/{folder1,folder2,folder3,folder4}rootopen.com
vojg 2019-02-25 22:39:28

linux命令: mkdir -p /path/folder{1..4} /path/folder{1..4} -p mkdir mkdir -p /path/folder{1..4}rootopen.com
linux命令: mkdir -p /path/folder{1..4} /path/folder{1..4} -p mkdir mkdir -p /path/folder{1..4}rootopen.com
vojg 2019-02-25 22:38:45

{f%*.zip} strips off the extension from zip filenames

linux命令:for f in *.zip; do unzip -d "${f%*.zip}" "$f"; done done "$f"; "${f%*.zip}" -d unzip do *.zip; in f for for f in *.zip; do unzip -d "${f%*.zip}" "$f"; donerootopen.com
linux命令:for f in *.zip; do unzip -d "${f%*.zip}" "$f"; done done "$f"; "${f%*.zip}" -d unzip do *.zip; in f for for f in *.zip; do unzip -d "${f%*.zip}" "$f"; donerootopen.com
vojg 2019-02-25 22:38:07

linux命令: alias tree='pwd;find . -path ./node_modules -prune -o -print | sort | sed '\''1d;s/^\.//;s/\/\([^/]*\)$/|--\1/;s/\/[^/|]*/| /g'\''' /g'\''' '\''1d;s/^\.//;s/\/\([^/]*\)$/|--\1/;s/\/[^/|]*/| sed | sort | -print -o -prune ./node_modules -path . tree='pwd;find alias alias tree='pwd;find . -path ./node_modules -prune -o -print | sort | sed '\''1d;s/^\.//;s/\/\([^/]*\)$/|--\1/;s/\/[^/|]*/| /g'\'''rootopen.com
linux命令: alias tree='pwd;find . -path ./node_modules -prune -o -print | sort | sed '\''1d;s/^\.//;s/\/\([^/]*\)$/|--\1/;s/\/[^/|]*/| /g'\''' /g'\''' '\''1d;s/^\.//;s/\/\([^/]*\)$/|--\1/;s/\/[^/|]*/| sed | sort | -print -o -prune ./node_modules -path . tree='pwd;find alias alias tree='pwd;find . -path ./node_modules -prune -o -print | sort | sed '\''1d;s/^\.//;s/\/\([^/]*\)$/|--\1/;s/\/[^/|]*/| /g'\'''rootopen.com
vojg 2019-02-25 22:37:07

如果您需要添加另一个密钥并使用pem文件(在AWS EC2实例中很常见),则非常有用。 如果您在EC2实例中使用它,请记住禁用密码身份验证,因此您必须使用生成实例时生成的第一个密钥

linux命令: ssh-keygen -y -f user-key.pem | ssh user@host -i already_on_remote_server_key.pem 'cat >> ~/.ssh/authorized_keys' ~/.ssh/authorized_keys' >> 'cat already_on_remote_server_key.pem -i user@host ssh | user-key.pem -f -y ssh-keygen ssh-keygen -y -f user-key.pem | ssh user@host -i already_on_remote_server_key.pem 'cat >> ~/.ssh/authorized_keys'rootopen.com
linux命令: ssh-keygen -y -f user-key.pem | ssh user@host -i already_on_remote_server_key.pem 'cat >> ~/.ssh/authorized_keys' ~/.ssh/authorized_keys' >> 'cat already_on_remote_server_key.pem -i user@host ssh | user-key.pem -f -y ssh-keygen ssh-keygen -y -f user-key.pem | ssh user@host -i already_on_remote_server_key.pem 'cat >> ~/.ssh/authorized_keys'rootopen.com
vojg 2019-02-25 22:36:25

此命令使用BouncyCastle作为安全提供程序将证书文件cert.pfx导入密钥库文件。 它使用 - OpenJDK Runtime Environment(Zulu 8.36.0.1-CA-linux64) - Java(TM)SE运行时环境(版本1.8.0_192-ea-b04) - OpenJDK运行时环境(版本9.0.4 + 11)验证 - OpenJDK运行时环境18.9(版本11.0.2 + 9)

linux命令: keytool -importcert -providerpath bcprov-jdk15on-1.60.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storetype BCPKCS12 -trustcacerts -alias <alias> -file <filename.cer> -keystore <filename> <filename> -keystore <filename.cer> -file <alias> -alias -trustcacerts BCPKCS12 -storetype org.bouncycastle.jce.provider.BouncyCastleProvider -provider bcprov-jdk15on-1.60.jar -providerpath -importcert keytool keytool -importcert -providerpath bcprov-jdk15on-1.60.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storetype BCPKCS12 -trustcacerts -alias <alias> -file <filename.cer> -keystore <filename>rootopen.com
linux命令: keytool -importcert -providerpath bcprov-jdk15on-1.60.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storetype BCPKCS12 -trustcacerts -alias <alias> -file <filename.cer> -keystore <filename> <filename> -keystore <filename.cer> -file <alias> -alias -trustcacerts BCPKCS12 -storetype org.bouncycastle.jce.provider.BouncyCastleProvider -provider bcprov-jdk15on-1.60.jar -providerpath -importcert keytool keytool -importcert -providerpath bcprov-jdk15on-1.60.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storetype BCPKCS12 -trustcacerts -alias <alias> -file <filename.cer> -keystore <filename>rootopen.com
vojg 2019-02-25 22:35:20

此命令使用BouncyCastle作为安全提供程序将密钥库文件cert.pfx导入密钥库文件。 - OpenJDK Runtime Environment(Zulu 8.36.0.1-CA-linux64) - Java(TM)SE运行时环境(版本1.8.0_192-ea-b04) - OpenJDK运行时环境(版本9.0.4 + 11)验证 - OpenJDK运行时环境18.9(版本11.0.2 + 9)

linux命令:keytool -importkeystore -providerpath bcprov.jar -provider BouncyCastleProvider -srckeystore <filename.pfx> -srcstoretype pkcs12 -srcalias <src-alias> -destkeystore <filename.ks> -deststoretype BCPKCS12 -destalias <dest-alias> <dest-alias> -destalias BCPKCS12 -deststoretype <filename.ks> -destkeystore <src-alias> -srcalias pkcs12 -srcstoretype <filename.pfx> -srckeystore BouncyCastleProvider -provider bcprov.jar -providerpath -importkeystore keytool keytool -importkeystore -providerpath bcprov.jar -provider BouncyCastleProvider -srckeystore <filename.pfx> -srcstoretype pkcs12 -srcalias <src-alias> -destkeystore <filename.ks> -deststoretype BCPKCS12 -destalias <dest-alias>rootopen.com
linux命令:keytool -importkeystore -providerpath bcprov.jar -provider BouncyCastleProvider -srckeystore <filename.pfx> -srcstoretype pkcs12 -srcalias <src-alias> -destkeystore <filename.ks> -deststoretype BCPKCS12 -destalias <dest-alias> <dest-alias> -destalias BCPKCS12 -deststoretype <filename.ks> -destkeystore <src-alias> -srcalias pkcs12 -srcstoretype <filename.pfx> -srckeystore BouncyCastleProvider -provider bcprov.jar -providerpath -importkeystore keytool keytool -importkeystore -providerpath bcprov.jar -provider BouncyCastleProvider -srckeystore <filename.pfx> -srcstoretype pkcs12 -srcalias <src-alias> -destkeystore <filename.ks> -deststoretype BCPKCS12 -destalias <dest-alias>rootopen.com
vojg 2019-02-25 22:33:42

此命令使用BouncyCastle作为安全提供程序列出密钥库中所有证书的指纹

linux命令:keytool -list -providerpath bcprov-jdk15on-1.60.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storetype BCPKCS12 -storepass <passphrase> -keystore <filename> <filename> -keystore <passphrase> -storepass BCPKCS12 -storetype org.bouncycastle.jce.provider.BouncyCastleProvider -provider bcprov-jdk15on-1.60.jar -providerpath -list keytool keytool -list -providerpath bcprov-jdk15on-1.60.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storetype BCPKCS12 -storepass <passphrase> -keystore <filename>rootopen.com
linux命令:keytool -list -providerpath bcprov-jdk15on-1.60.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storetype BCPKCS12 -storepass <passphrase> -keystore <filename> <filename> -keystore <passphrase> -storepass BCPKCS12 -storetype org.bouncycastle.jce.provider.BouncyCastleProvider -provider bcprov-jdk15on-1.60.jar -providerpath -list keytool keytool -list -providerpath bcprov-jdk15on-1.60.jar -provider org.bouncycastle.jce.provider.BouncyCastleProvider -storetype BCPKCS12 -storepass <passphrase> -keystore <filename>rootopen.com
vojg 2019-02-25 22:29:49

certificate.crt必须先存在!

linux命令:openssl x509 -x509toreq -in certificate.crt -out CSR.csr -signkey privateKey.key privateKey.key -signkey CSR.csr -out certificate.crt -in -x509toreq x509 openssl openssl x509 -x509toreq -in certificate.crt -out CSR.csr -signkey privateKey.keyrootopen.com
linux命令:openssl x509 -x509toreq -in certificate.crt -out CSR.csr -signkey privateKey.key privateKey.key -signkey CSR.csr -out certificate.crt -in -x509toreq x509 openssl openssl x509 -x509toreq -in certificate.crt -out CSR.csr -signkey privateKey.keyrootopen.com
evwa 2019-02-12 21:27:59

linux命令:openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key privateKey.key -keyout -nodes rsa:2048 -newkey -new CSR.csr -out req openssl openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.keyrootopen.com
linux命令:openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key privateKey.key -keyout -nodes rsa:2048 -newkey -new CSR.csr -out req openssl openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.keyrootopen.com
evwa 2019-02-12 21:26:42

linux命令:openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt certificate.crt -out privateKey.key -keyout rsa:2048 -newkey 365 -days -nodes -sha256 -x509 req openssl openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crtrootopen.com
linux命令:openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt certificate.crt -out privateKey.key -keyout rsa:2048 -newkey 365 -days -nodes -sha256 -x509 req openssl openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crtrootopen.com
evwa 2019-02-12 21:26:13

CSR.csr之前必须存在

linux命令: openssl req -out CSR.csr -key privateKey.key -new -new privateKey.key -key CSR.csr -out req openssl openssl req -out CSR.csr -key privateKey.key -newrootopen.com
linux命令: openssl req -out CSR.csr -key privateKey.key -new -new privateKey.key -key CSR.csr -out req openssl openssl req -out CSR.csr -key privateKey.key -newrootopen.com
evwa 2019-02-12 21:25:53

linux命令: nmap -p0-65535 192.168.1.254 -T5 -T5 192.168.1.254 -p0-65535 nmap nmap -p0-65535 192.168.1.254 -T5rootopen.com
linux命令: nmap -p0-65535 192.168.1.254 -T5 -T5 192.168.1.254 -p0-65535 nmap nmap -p0-65535 192.168.1.254 -T5rootopen.com
evwa 2019-02-12 21:24:59

linux命令:cat foo.zip | jar xv xv jar | foo.zip cat cat foo.zip | jar xvrootopen.com
linux命令:cat foo.zip | jar xv xv jar | foo.zip cat cat foo.zip | jar xvrootopen.com
evwa 2019-02-12 21:24:40

linux命令:echo -e ${PATH//:/\\n} ${PATH//:/\\n} -e echo echo -e ${PATH//:/\\n}rootopen.com
linux命令:echo -e ${PATH//:/\\n} ${PATH//:/\\n} -e echo echo -e ${PATH//:/\\n}rootopen.com
evwa 2019-02-12 21:24:04

相对于像“../../other”这样的脚本而言,这个命令不是复杂而脆弱的路径,而是检索文件存储库头的完整路径。 在目录名称中使用空格安全。 在符号链接目录中工作。 细分: cd "$(dirname "${BASH_SOURCE[0]}")" 暂时更改此扩展中的目录。 双引号“$(dirname”和“)”使用不带引号的$ {BASH_SOURCE [0]}允许路径中的空格。 git rev-parse --show-toplevel 获取当前工作目录的存储库头的完整路径,该路径暂时由“cd”更改

linux命令: $(cd "$(dirname "${BASH_SOURCE[0]}")" && git rev-parse --show-toplevel) --show-toplevel) rev-parse git && "${BASH_SOURCE[0]}")" "$(dirname $(cd $(cd "$(dirname "${BASH_SOURCE[0]}")" && git rev-parse --show-toplevel)rootopen.com
linux命令: $(cd "$(dirname "${BASH_SOURCE[0]}")" && git rev-parse --show-toplevel) --show-toplevel) rev-parse git && "${BASH_SOURCE[0]}")" "$(dirname $(cd $(cd "$(dirname "${BASH_SOURCE[0]}")" && git rev-parse --show-toplevel)rootopen.com
evwa 2019-02-12 21:23:06

linux命令: lynx -listonly -nonumbers -dump https://djmag.com/top100djs|sed '1d'|cut -d- -f5,6,7|sed -n '180,$p'|nl --number-format=rn --number-width=3|sed 's/-/ /g'|sed -e 's/.*/\L&/' -e 's/\<./\u&/g' 's/\<./\u&/g' -e 's/.*/\L&/' -e /g'|sed 's/-/ --number-width=3|sed --number-format=rn '180,$p'|nl -n -f5,6,7|sed -d- '1d'|cut https://djmag.com/top100djs|sed -dump -nonumbers -listonly lynx lynx -listonly -nonumbers -dump https://djmag.com/top100djs|sed '1d'|cut -d- -f5,6,7|sed -n '180,$p'|nl --number-format=rn --number-width=3|sed 's/-/ /g'|sed -e 's/.*/\L&/' -e 's/\<./\u&/g'rootopen.com
linux命令: lynx -listonly -nonumbers -dump https://djmag.com/top100djs|sed '1d'|cut -d- -f5,6,7|sed -n '180,$p'|nl --number-format=rn --number-width=3|sed 's/-/ /g'|sed -e 's/.*/\L&/' -e 's/\<./\u&/g' 's/\<./\u&/g' -e 's/.*/\L&/' -e /g'|sed 's/-/ --number-width=3|sed --number-format=rn '180,$p'|nl -n -f5,6,7|sed -d- '1d'|cut https://djmag.com/top100djs|sed -dump -nonumbers -listonly lynx lynx -listonly -nonumbers -dump https://djmag.com/top100djs|sed '1d'|cut -d- -f5,6,7|sed -n '180,$p'|nl --number-format=rn --number-width=3|sed 's/-/ /g'|sed -e 's/.*/\L&/' -e 's/\<./\u&/g'rootopen.com
evwa 2019-02-12 21:22:17

这将从桌面抓取图像,从x = 100的左上角开始,y = 200,宽度和高度为1024*768。

linux命令:ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4 output.mp4 :0.0+100,200 -i x11grab -f 25 -framerate 1024x768 -video_size ffmpeg ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4rootopen.com
linux命令:ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4 output.mp4 :0.0+100,200 -i x11grab -f 25 -framerate 1024x768 -video_size ffmpeg ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200 output.mp4rootopen.com
evwa 2019-02-12 21:21:18
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令