"Bash"의 두 판 사이의 차이
ph
18번째 줄: | 18번째 줄: | ||
[[single quotation in single qoute]] | [[single quotation in single qoute]] | ||
+ | |||
+ | <source lang='bash'> | ||
+ | $ # 'or' | ||
+ | $ if [ -z "$1" ] || [ -z "$2" ]; then | ||
+ | > echo "Usage: `basename $0` rslt_file target_folder" | ||
+ | > fi | ||
+ | </source> |
2014년 8월 7일 (목) 12:44 판
bash/manual
$ echo {d..h}
d e f g h
$ echo {d..Z}
d c b a _ ^ ] [ Z
### cp file1 file2와 같다
$ cat < file1 > file2
$ cut -d: -f1 < /etc/password | sort
### man nice
$ nice
single quotation in single qoute
$ # 'or'
$ if [ -z "$1" ] || [ -z "$2" ]; then
> echo "Usage: `basename $0` rslt_file target_folder"
> fi