首页 > 代码库 > Command Line 2
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。