Command Line 2

Posted 阿难的机器学习计划

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Command Line 2相关的知识,希望对你有一定的参考价值。

1. Assign a string to a variable is the same as other language by using "=".
2. Use $ sign to access a variable.

  echo $FOOD  

3. Use export to create a environmental variable.

4. type python to enter the python shell. Use exit() to exit.

5. use $PATH to enter variable PATH.

6. Flags like the arguments of fucntion. us - to use flags. 

  ls -al #shows flag a and flag l

7. Longer flags like ingore need to use two dashes.

  ls --ignore=test.txt # we won‘t show the file named test.txt 

 

以上是关于Command Line 2的主要内容,如果未能解决你的问题,请参考以下文章

Command Line 2

运行 ‘XXXApiApplication‘ 出错: Command line is too long. Shorten command line for ShopApiApplication or

the command line tools

Learn Enough Command Line

Command Line 1

Command Line 4