LoginSignup
0
0

Linuxコマンド備忘録

Last updated at Posted at 2024-05-09

はじめに

仕事使用したコマンドの備忘録

1.sed編

・イコール(=)の数値を変更

sed -ri -e "s/~(test = ).*/\1 6556/g"

2.疎通確認編(nping)

for i in {20..23};do nping -c 1 --tcp -p ${i} <サーバ名> ;done

3.proxyサーバ(squid)を経由したsftp

sftp -o "ProxyCommand nc --proxy-type http --proxy <プロキシホスト>:<ポート> %h %p" <sftpユーザ>@<sftpサーバ>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0