ex-13-02_printf.sh
来自「Berkely的学生写的」· Shell 代码 · 共 20 行
SH
20 行
#!/bin/sh# Chapter 13 - Using printf# This example demonstrates the use of the printf command/bin/echo "File Name\tType"for i in *;do /bin/echo "$i\t\c" if [ -d $i ]; then echo "directory" elif [ -h $i ]; then echo "symbolic link" elif [ -f $i ]; then echo "file" else echo "unknown" fidone
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?