📄 ex-13-02_printf.sh
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -