LoginSignup
0
0

More than 3 years have passed since last update.

Linuxコマンド(順次更新)

Posted at

ssh

サーバーへ接続する。
sshは、通信を暗号化してリモートサーバーへ接続するプロトコル

scp

サーバーとファイルのやり取りを行う。
フルパスで指定する。
※ftpは通信経路が暗号化されていないため、現在はサーバー接続ではほとんど使われていない。
(個人のブログならやってもいいけど、基本的にはビジネスであれば使わないほうがいい)

grep

$ grep 検索正規表現 ファイル名

特定の文字が含まれている行を出力する。

パイプ(「|」)と使うことが多く、その方が大変便利。

$ ps aux | grep apache

と打つと、

apacheが動いているのか確認することができる。
ひとつひとつのプロセスを確認できる。
(詳しくは参考記事参照)

参考

「grep」の参考記事
https://webkaru.net/linux/commands-pipeline/

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