shell/基本脚本/反引号的使用.sh

6 lines
96 B
Bash

#!/bin/bash
#using the backtick character
testing=`date`
echo "The date and time are:$testing"