2016-12-14 5 views
-4

私は非常に新しいBashの世界です。私は、外部プログラムplugginに出くわしたプロジェクトで働いていますし、彼らは私が何-lおよび-cのためにここに立っているを理解することはできませんよ、このBashスクリプティングの理解

のようなコマンドを持っています。また、2つのディレクトリの場所があります。これを手伝ってください。ページman bashから

+1

ターミナルから 'man bash'を実行すると、' bash'のマニュアルページが表示されます。最初のパスはPythonインタプリタへのパス、2番目のパスはファイルへのパスです。 "bashの新しいコピーを起動してから、' python test.py'を実行してください。https://linux.die.net/man/1/bash –

+0

また、このようなコマンドラインを考えずに使用しないでください。ユーザー名とパスワードがbash履歴に残っている可能性があるためです。 – Gribouillis

答えて

1

-l  Make bash act as if it had been invoked as a login shell (see INVOCATION below). 
-c  If the -c option is present, then commands are read from the first non-option argument com‐ 
      mand_string. If there are arguments after the command_string, they are assigned to the positional 
      parameters, starting with $0. 

は基本的に-c引数後のものはbashのコードであり、それが実行されます。

関連する問題