CS/Linux

Linux 자주 사용하는 명령어 모음 (touch, echo, cat, grep, ls, tail, cut)

dragonhyeon 2024. 10. 23. 09:03
728x90
반응형
touch filepath
echo hello > sample.txt
echo hello >> sample.txt
cat sample.txt
cat sample1.txt sample2.txt
cat > sample.txt
cat >> sample.txt
grep keyword sample.txt
cat sample.txt | grep apple | grep delicious
ls -a | grep filename
tail -f sample.log | grep some_message
cut -d: -f1 /etc/passwd
728x90
반응형