zoukankan
html css js c++ java
Linux下获取当前的目录,需执行以下命令: $(cd `dirname $0`;pwd)
Linux下获取当前的目录,需执行以下命令:
$
(
cd `dirname
$0`;
pwd)
其中,
dirname
$0,取得当前执行的脚本文件的父目录
cd `dirname
$0`,进入这个目录(切换当前工作目录)
pwd,显示当前工作目录(
cd执行后的)
在使用的过程中需注意此事项:
查看全文
相关阅读:
rpc
route
ROLLBACK
rmdir -删除空目录
rm
rlogin
REVOKE
resolver
RESET
repquota
原文地址:https://www.cnblogs.com/xuanbjut/p/14223742.html
最新文章
[AngularJS] Transforming raw JSON data to meaningful output in AngularJS
[RxJS] Toggle A Stream On And Off With RxJS
[RxJS] Error Handling in RxJS
[Node.js] Use "prestart" in scripts
[Node.js] Using ES6 and beyond with Node.js
[RxJS] Wrap up
[RxJS] Sharing Streams with Share
[RxJS] Basic DOM Rendering with Subscribe
[RxJS] Resubscribing to a Stream with Repeat
[RxJS] Refactoring CombineLatest to WithLatestFrom
热门文章
汉语-词语:财富
汉语-词语:心智
汉语-词语:知识
汉语-词汇-缘分:百科
汉语-词语:真理
汉语-词语:感性
汉语-词语:理性
汉语-词语:信任
汉语-词语:胆识
汉语-词语:远见
Copyright © 2011-2022 走看看