qfedu-linux-advanced-level/day1/d19.sh

3 lines
59 B
Bash
Raw Permalink Normal View History

2023-08-14 15:53:04 +08:00
#!/bin/bash
[ -e $1 ] && ls -l $1 || echo "file not exist"