首页 > 系统服务 > 详细

linux命令

时间:2020-05-01 18:54:38      阅读:70      评论:0      收藏:0      [点我收藏+]

创建新文件:touch test.sh

添加可执行权限:chmod +x test.sh

编辑文件:gedit test.sh

输出命令:echo "hello world"

正常退出:exit 0

给命令起别名:alias hello="echo ‘hello world‘"

撤销别名:unalias hello

取命令执行结果:echo "the current directory is $(pwd)" | echo "the current directory is `pwd`"

 

linux命令

原文:https://www.cnblogs.com/abuduri/p/12814183.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!