프로그래밍/Shell Programming
cut, past, grep, sort, sed 명령어 예제
dp.
2011. 7. 12. 16:14
df | grep "^/dev" | cut -d " " -f 1.3
tail -5 /etc/passwd | cut -d ":" -f 1,3-5
past -s -d "\t" exam1 exam2
sort -t : -k3 -n /etc/passwd