オペレーティングシステムは、コンピュータのハードウェア管理、ファイル管理、データの入出力と管理、アプリケーションプログラムやユーティリティの実行、ユーザーとの対話などを効率的に行うための制御・処理プログラムの基本セットです。
bashrcの設定で、コマンドプロンプト上の色をかえたり、 表示内容をかえたり、あれこれするための覚書。 前提 bashで表示される内容をいろいろ変える方法。 「/etc/profile」とか「~/.bashrc」とかにPS1の環境変数を設定すると、 Telnetとかで表示されるシェルの色とか内容とかを色々とかえられます。 「/etc/profile」に設定すると基本的にbashを使う全ユーザに反映されます。 「~/.bashrc」に設定するとbashを使う各ユーザ毎に設定ができます。 そのサンプルを覚書として、φ(。。)メモ。 表示内容を変えてみる まずは、基本形。こんな感じで設定してみる。 例) export PS1="[\u@\h:\w]\$ " と、こんな感じのシェル表示になります。 表示) [root@KURO-BOX:/var/log]# PS1に設定した「\u」とか「\h」の
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く