当前位置:网站首页>shell相关命令总结
shell相关命令总结
2022-07-26 21:38:00 【东边坡】
1. echo 指令,用于shell字符串的输出
- 原样输出字符串,不进行转义或取变量(用单引号):
- echo 'Toolchain path($CODE_BASE_PATH):' 输出:Toolchain path($CODE_BASE_PATH):
- 替换传递的变量值,双引号,$后面为变量名
- 如命令:

- 输出为:
![]()
2. 将文件变为可执行文件,
命令为: chmod x filename
3.关键词查找历史命令:ctrl+r
4. 显示历史命令时间:
文件#vi /etc/profile中添加环境配置 export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S "
5. 历史命令模糊查找:history | grep '.shm' 包含关键词 .shm 的所有命令
6. ls -lrt 显示目录下文件详情
7. irun仿真器添加波形文件
initial begin
$shm_open("waves.shm");
$shm_probe("AC");
End
打开波形:simvision waves.shm/
边栏推荐
- 软件测试技术之跨平台的移动端UI自动化测试(下)
- Regular expressions and bypass cases
- Altium Designer 22 修改选中元件的层属性
- 第15章 mysql用户管理
- matlab 短时自相关实现
- xshell7个人免费下载,使用
- 挖财钱堂和启牛学堂哪个更好一些?是安全的吗
- Let me show you the MySQL isolation level. What happens when two transactions operate on the same row of data at the same time?
- Difference between D and C
- matlab 激励模型 三角波频谱
猜你喜欢

matlab 画短时能量图

v-model语法糖的实现

SQL注入 Less26(过滤空格和注释符,使用不带空格的报错注入)

Unity operates on Explorer, opens explorer, selects files, and filters files

mysql推荐书

想让照片中的云飘起来?视频编辑服务一键动效3步就能实现

Want the clouds in the picture to float? Video editing services can be achieved in three steps with one click

光源控制器拨码开关使用说明

一篇让小百彻底搞懂性能调优

2018 arXiv preprint | MolGAN: An implicit generative model for small molecular graphs
随机推荐
Matlab draw short-term energy diagram
SQL注入 Less26(过滤空格和注释符,使用不带空格的报错注入)
C# 数据类型_摘自菜鸟教程
Triangular wave spectrum of MATLAB excitation model
JS delay execution window.onload
Nacos作为注册中心、配置中心入门使用篇-实现远程调用、动态获取配置文件、数据库配置信息
Excel-vba quick start (XI. Common string operations)
自己学习Cesium的笔记简介
正规方程法(Normal Equation)原理以及与梯度下降法的区别
判断numpy array数组的维数
[basics of C language] 17 preliminary study of linked list
Get network time by unity
Go --- identifiers and keywords in go language
yolov1
OPPO 自研大规模知识图谱及其在数智工程中的应用
matlab 短时自相关实现
JMeter custom log and log analysis
LeetCode 121:买卖股票的最佳时机
matlab 基音周期估计后处理
Altium Designer 22 修改选中元件的层属性