shell/基本脚本/使用自定义变量.sh

10 lines
154 B
Bash

#!/bin/bash
#testing variables
days=10
guest="Katie"
echo "$guest logged in $days days age"
guest="Katie2"
days=5
echo "$guest logged in $days days age"