t7.sh
来自「ALL LINUX LAB PROGRAM MIT MANIPAL 2008-0」· Shell 代码 · 共 28 行
SH
28 行
echo enetr a file1read flie1echo enter file2read file2ls -l $file1 > temp1ls -l $file2 > temp2f1=`cut -d" " -f1 temp1`f2=`cut -d" " -f1 temp2`echo $f1echo $f2if [ $f1 = $f2 ] then echo $file1 and $file2 are identical echo permiossion of $file1 is : $f1 echo permission of $file2 is : $f2else echo $file1 and $file2 are not identical echo permision of $file1 is : $f1 echo permission of $file2 is : $f2fi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?