bash将执行结果保存为变量
2015-05-29 09:54
218 查看
aa=$(perl -e 'print crypt("abcde", "12345");'|tail -1)
echo $aa
echo $aa
相关文章推荐
- shell中trap捕获信号
- shell脚本
- linxu中删除指定时间之前的文件shell脚本
- SHELL脚本if语句
- Bash 14-16
- Linux Shell脚本攻略(1.5)
- How to Create a First Shell Script
- Leetcode: Word Frequency (shell , awk)
- Hadoop1.2.1 启停的Shell 脚本分析
- shell学习之select循环
- Linux shell脚本加密
- shell从svn远程打包部署工程
- Leetcode: Transpose File (shell, awk)
- shell使用记录
- linux脚本编程(shell)浅介 (转载)
- adb shell am 命令启动不知类名情况下的 main activity
- shell 练习(for,while,until,local)
- shell 练习(function,case,for,select)
- linux-shell syntax error: unexpected end of file
- shell awk用法详解