⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shell_programming.sh

📁 my simple shell scipts just for fun :] From Russia with LOVE
💻 SH
字号:
##########################################  программирование на  shell BASH#  Суханов Таганрог 2008##########################################! /bin/bash -xcleardatewhereis bash  #finding bash  shell##################################  -lt ( < )#  -gt ( > )#  -le ( <= )#  -ge ( >= )#  -eq ( == )#  -ne ( != )##################------------------------------------------------------------------function SuhShellFunc {	local STR="Suhanoff  shell programming_local"        echo $STR}#------------------------------------------------------------------function SuhShellFuncParam {  printf '%s '  $1  printf '%s '  $2  printf '%s '  $3  printf '%s '   $4  printf '%s \n\v'  $5}#------------------------------------------------------------------#------------------------------------------------------------------#------------------------------------------------------------------#------------------------------------------------------------------STR="Suhanoff  shell programming"#OPTIONS="1 2"##select opt in $OPTIONS ; do#	if [ "$opt" = "1" ] ; then#		echo done#		exit#	elif [ "$opt" = "2" ] ; then#		echo Hello World#	else#		clear#		echo bad option#	fi#done#-----------------------------------------------------------------man bash > bash.txtman ssh > ssh.txtman dd > dd.txtman  monit  > monit.txtif [ "$STR" = "Suhanoff  shell programming" ] ; then        echo "РАВНО"else         echo "НЕ РАВНО"fifor i in `seq 1 10` ;do   echo "LOOP step: " $i done ##while [ 1 ] ; do  # Бесконечный  цикл#doneSuhShellFuncSuhShellFuncParam  Добрый  день мой  господинecho $STR#########################################

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -