-
本課程腳本查看全部
-
本課程腳本查看全部
-
shell的自動加入文件頭2查看全部
-
shell的自動加入文件頭1查看全部
-
#!/bin/bash resettem=$(tput sgr0) declare -A ssharray i=0 numbers="" for script_file in $(ls -I "monitor_man.sh" ./) do echo -e "\e[1;35m" "The Script:" ${i} '==>' ${resettem} ${script_file} ssharray[$i]=${script_file} numbers="${numbers} ${i}" i=$[i+1] done while true do read -p "Please input a number [ ${numbers} ]:" execshell if [[ ! ${execshell} =~ ^[0-9]+ ]];then exit 0 fi ./${ssharray[$execshell]} done查看全部
-
設置2查看全部
-
vim設置查看全部
-
VIM編輯器設置 1、設置方式分類 臨時性的設置(末行模式設置) 永久性的設置(修改vimrc文件) 2、高亮模式設置: syntax on/off(末行模式下,臨時生效)末行模式“:/syntax”可以搜索到syntax所在位置 /etc/vimrc或家目錄下/home/jeson/.vimrc(添加syntax on/off,設置永久的,其中在用戶家目錄設置的只對該用戶保存永久設置)查看全部
-
自動加入文件頭查看全部
-
自動加如文件頭查看全部
-
#!/bin/bash resettem=$(tput sgr0) declare -A ssharray i=0 numbers="" for script_file in $(ls -I "monitor_man.sh" ./) do echo -e "\e[1;35m" "The Script:" ${i} '==>' ${resettem} ${script_file} ssharray[$i]=${script_file} numbers="${numbers} ${i}" i=$[i+1] done while true do read -p "Please input a number [ ${numbers} ]:" execshell if [[ ! ${execshell} =~ ^[0-9]+ ]];then exit 0 fi ./${ssharray[$execshell]} done查看全部
-
shell高亮顯示查看全部
-
自動加入文件頭查看全部
-
腳本場景查看全部
-
Shell中的關聯數組查看全部
舉報
0/150
提交
取消