Linux Commands for Beginners-- Echo And Creating Variables
来源:互联网 发布:网络脆弱性扫描 编辑:程序博客网 时间:2024/05/21 08:56
In this part, I introduce the echo command as well as creating variables.
This tutorial is pretty easy,but very important to bash scripting which I will introduce in following tutorials.
1.COMMAND:
echo
DESCRIPTION:
display a line of text
SYNOPSIS:
echo string
Example:
piniheaven@fish:~/Documents$ echo"Hello,CSDN"
Hello,CSDN
2.Creating variable and calling variable
Example:
piniheaven@fish:~/Documents$ Hello="Hello,CSDN" #create variable
piniheaven@fish:~/Documents$ echo$Hello #call variable
Hello,CSDN
This tutorial is pretty easy,but very important to bash scripting which I will introduce in following tutorials.
1.COMMAND:
echo
DESCRIPTION:
display a line of text
SYNOPSIS:
echo string
Example:
piniheaven@fish:~/Documents$ echo"Hello,CSDN"
Hello,CSDN
2.Creating variable and calling variable
Example:
piniheaven@fish:~/Documents$ Hello="Hello,CSDN" #create variable
piniheaven@fish:~/Documents$ echo$Hello #call variable
Hello,CSDN
- Linux Commands for Beginners-- Echo And Creating Variables
- Linux Commands for Beginners--Creating Your First Scripting
- Linux Commands for Beginners--which and whatis commands
- Linux Commands for Beginners--Head and Tail Command
- Linux Commands For Beginners: SUDO
- Linux Commands for Beginners--The top Command
- Linux Commands for Beginners--The .bashrc File
- Linux Commands for Beginners--The Watch Command
- Linux Commands for Beginners--Finding Files
- Linux Commands for Beginners--Create Your Own Commands Via alias
- Linux Commands for Beginners--Viewing Resources--du,df,free commands
- Linux Commands for Beginners--Arithmetic in Bash--expr,let commands
- Linux Commands for Beginners---SSH for Remote Administration
- Linux Commands for Beginners-- FTP for Remote Administration
- Linux Commands for Beginners--Changing Ownership --chown command
- Linux Commands for Beginners-- Changing Permissions --chmod command
- Linux Commands for Beginners-- Regular Expressions--the grep command
- useful links for Unix and Linux beginners
- JSTL标签库学习笔记 四、核心标签库的循环标签
- JS控制阿拉伯数字转为中文大写
- 关于AIX小型机 Sybase ASE 12.5数据库的惊险瞬间
- collection接口之Arraylist,vector,Linkedlist
- Bundler
- Linux Commands for Beginners-- Echo And Creating Variables
- adpcm的压缩和解压缩实现
- memory_free--test
- find_new_reaper
- 2012-05-14 22:12 xheditor使用方法
- C#实现浏览文件后直接显示图片
- POJ1661——Help Jimmy(关于动态规划)
- 清理/tmp目录下文件
- mini2440 移植linux2.6.30.10 及yaffs2文件系统 2011-03-12 10:17:18