在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
分享 shell_syntax
ghong6003 2018-3-6 23:00
1.头文件:#!/usr/bin/sh - 2.赋值: temp_file_a=`basename $file_a` 3.打印语句:echo "Creating latest link" 4.input 语句:read x || echo $x Note: 以〈〉打开一个文件作为输入输出使用 5. if 语句: if test "${temp_file:0:3}" = "LA." then temp_file_a=`basename $file_a` echo $tem ...
个人分类: Shell|645 次阅读|0 个评论
分享 run_pt.sh
ghong6003 2018-3-6 22:23
#!/bin/bash - ################################################## # This scripts is uesed to run PrimeTime, # You could get help by type "run_pt.bash -h" ################################################# # Function: Usage Usage () { echo "****************************************** ...
个人分类: Shell|586 次阅读|0 个评论
分享 open_PDF.sh
ghong6003 2018-3-6 22:19
#!/bin/bash - ################################################## # This scripts is uesed to open PDF file in Linux ################################################# # Function Usage Usage () { echo " : $0 file_name.pdf" 2 } # Function Open_PDF Open_PDF () { evince $1 } ...
个人分类: Shell|513 次阅读|0 个评论
分享 unlink_and_cp.sh
ghong6003 2018-3-6 22:15
#!/bin/bash - ################################################## # This scripts is uesed to unlink the file, # and copy the linked file to local dir. ################################################# # Function Usage Usage () { echo " : $0 file.link (for single file)" 2 echo " ...
个人分类: Shell|447 次阅读|0 个评论
关闭

站长推荐 上一条 /1 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-27 13:26 , Processed in 0.009081 second(s), 3 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部