当前位置:网站首页>(10) File contains
(10) File contains
2022-07-27 11:22:00 【Hungry Taibai Xingjun】
#!/bin/bash
echo " Include external scripts grammar : . filename # . and filename There's a space between perhaps source filename "
# example
echo " Create two shell Script :test1.sh、test2.sh"
echo " test1.sh The contents are as follows :"
:<< EOF
#!/bin/bash
url="www.xxxxxxxxxxx.com"
EOF
echo " test2.sh The contents are as follows :"
:<< eof
#!/bin/bash
. ./test1.sh
# source ./test1.sh
echo " Website : $url"
eof
echo " to test2.sh Add executable permissions and execute chmod +x test2.sh ./test2.sh"
# notes : Included files test1.sh No executable permissions are required .
边栏推荐
- Luogu p3052 [usaco12mar]cows in a skyscraper G
- 【着色器实现Shake随机摇动效果_Shader效果第十篇】
- Miscellaneous records of Finance
- 背包问题 AcWing 9. 分组背包问题
- 中国剩余定理 AcWing 204. 表达整数的奇怪方式
- Knapsack model acwing 423. Picking herbs
- XXX packages are looking for funding run 'NPM fund' for details solutions
- Yiwen counts NFT projects valued at more than US $100million
- ACM warm-up Exercise 1 in 2022 summer vacation (summary)
- 深析C语言的灵魂 -- 指针
猜你喜欢

Digital triangle model acwing 1018. Minimum toll

力扣——10. 正则表达式匹配

背包模型 AcWing 423. 采药

Where is the big data open source project, one-stop fully automated full life cycle operation and maintenance steward Chengying (background)?

PAT(乙级)2022年夏季考试

Redis high availability principle

Redis simple to use

Longest ascending subsequence model acwing 272. longest common ascending subsequence

Wenzhou University X kangaroo cloud: how to "know well" in the construction of higher talent education

How to build a data index system is the most effective. From 0 to 1, we will take you a quick start - 02 live review
随机推荐
Students, don't copy all my code, remember to change it, or we both want G
数字三角形模型 AcWing 1015. 摘花生
状态压缩DP AcWing 91. 最短Hamilton路径
NFT leaderboard -nft real offer latest address: NFT leaderboard.com
Learning notes uni app
8 find subsequences with a maximum length of K
"My" bug collection (Reprinted)
Game theory acwing 892. Step Nim game
When std:: bind meets this
深析C语言的灵魂 -- 指针
MySQL installation (RPM package)
最长上升子序列模型 AcWing 272. 最长公共上升子序列
Remember an experience of using canvas to make the banner streamer effect of Tencent cloud homepage
背包模型 AcWing 1024. 装箱问题
Force buckle - 10. Regular expression matching
Data assets are king. How to analyze the relationship between enterprise digital transformation and data asset management?
Knapsack problem acwing 9. grouping knapsack problem
Yonbuilder enables innovation, and the "golden keyboard Award" of the fourth UFIDA developer competition is open!
力扣——10. 正则表达式匹配
4 search insertion location