Giter Site home page Giter Site logo

server_lesson's Introduction

サーバーレッスン

Linuxプラクティス

ls (ディレクトリ名)

  • 指定したディレクトリ内のディレクトリやファイルを表示、指定しなかった場合は現在のディレクトリを対象に表示

pwd

  • 現在位置しているディレクトリ=ワーキングディレクトリを出力

cd

  • 移動

mkdir

  • ディレクトリ作成

touch

  • ファイル作成

コマンド && コマンド

  • 左辺の実行が成功した時、右辺を続けて実行

cp (①ファイルorディレクトリ名) (②ファイルorディレクトリ名)

  • ①を②にコピー②が元々存在するときは中身だけコピー

mv

  • ファイルやディレクトリを移動or名称変更(ルールがややこしいから要確認)

rm

  • ファイルの削除 -rを付けてディレクトリ名を指定するとディレクトリ毎削除可能

echo (文字列) > (ファイル名)

  • ファイルを作成し文字列を書き込む、元々ファイルが存在する場合は文字列が上書きされる

echo (文字列) >> (ファイル名)

  • 上記の、すでにファイルが存在していた場合は末尾に追記するver

cat (ファイル名)

  • ファイルの内容をターミナル上に出力

vi (ファイル名)

  • ファイルに対しターミナル上のエディタを起動、その場で編集ができる、使用するコマンド要確認

history

  • コマンドの実行履歴を表示

server_lesson's People

Contributors

usk0930 avatar

Watchers

 avatar

Forkers

daikke

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.