Quantcast
Channel: OKWAVE 最新質問([技術者向] コンピューター/205)【本日】
Viewing all articles
Browse latest Browse all 38062

bashのcatの意味

$
0
0
bash勉強中の者です。 Mac起動時に.bashrcを読みこませる際に以下のコードを.bash_profileに書くと思います。 【.bash_profile】 --------------------------------- cat ~/.bash_profile if [ -f ~/.bashrc ] ; then . ~/.bashrc fi --------------------------------- この1行目のcat ~/.bash_profileの意味がよくわかりません。 cat自体はファイルの連結、または、ファイルの中身の展開という認識でいます。 この1行がなくても動きそうな気がしていますが、この行は必要なのでしょうか。 よろしくお願いいたします。

Viewing all articles
Browse latest Browse all 38062

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>