JavaShuo
欄目
標籤
Shell特殊變量:Shell $0, $#, $*, [email protected], $?, $$和命令行參數
時間 2020-12-26
欄目
Unix
简体版
原文
原文鏈接
變量 含義 $0 當前腳本的文件名 $n 傳遞給腳本或函數的參數。n 是一個數字,表示第幾個參數。例如,第一個參數是$1,第二個參數是$2。 $# 傳遞給腳本或函數的參數個數。 $* 傳遞給腳本或函數的所有參數。 [email protected] 傳遞給腳本或函數的所有參數。被雙引號(" ")包含時,與 $* 稍有不同,下面將會講到。 $? 上個命令的退出狀態,或函數的返回值。 $$ 當前She
>>阅读原文<<
相關文章
1.
echo和Shell特殊變量:Shell $0, $#, $*, $@, $?, $$和命令行參數
2.
Shell特殊變量:Shell $0, $#, $*, $@, $?, $$和命令行參數
3.
Shell 特殊變量:Shell $0, $#, $*, $@, $?, $$和命令行參數
4.
linux bash Shell特殊變量:Shell $0, $#, $*, $@, $?, $$和命令行參數
5.
shell特殊變量$#,[email protected],$0,$1,$2的含義解釋:
6.
shell腳本中$#、$0、[email protected]等特殊變量的含義
7.
Shell特殊變量
8.
shell特殊變量
9.
Shell 特殊變量
10.
shell 特殊變量
更多相關文章...
•
Rust 輸出到命令行
-
RUST 教程
•
PHP 變量
-
PHP教程
•
Docker 清理命令
•
TiDB 在摩拜單車在線數據業務的應用和實踐
相關標籤/搜索
shell
特殊函數
特殊
命令行CMD
命令行
Linux命令行
一天一個shell命令
protected
3.shell
1.shell
Unix
Docker命令大全
PHP 7 新特性
PHP參考手冊
命令
數據傳輸
數據庫
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
CVPR 2020 論文大盤點-光流篇
2.
Photoshop教程_ps中怎麼載入圖案?PS圖案如何導入?
3.
org.pentaho.di.core.exception.KettleDatabaseException:Error occurred while trying to connect to the
4.
SonarQube Scanner execution execution Error --- Failed to upload report - 500: An error has occurred
5.
idea 導入源碼包
6.
python學習 day2——基礎學習
7.
3D將是頁遊市場新賽道?
8.
osg--交互
9.
OSG-交互
10.
Idea、spring boot 圖片(pgn顯示、jpg不顯示)解決方案
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
1.
echo和Shell特殊變量:Shell $0, $#, $*, $@, $?, $$和命令行參數
2.
Shell特殊變量:Shell $0, $#, $*, $@, $?, $$和命令行參數
3.
Shell 特殊變量:Shell $0, $#, $*, $@, $?, $$和命令行參數
4.
linux bash Shell特殊變量:Shell $0, $#, $*, $@, $?, $$和命令行參數
5.
shell特殊變量$#,[email protected],$0,$1,$2的含義解釋:
6.
shell腳本中$#、$0、[email protected]等特殊變量的含義
7.
Shell特殊變量
8.
shell特殊變量
9.
Shell 特殊變量
10.
shell 特殊變量
>>更多相關文章<<