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
반응형
'CS > Linux' 카테고리의 다른 글
권한 시스템과 chmod (3) | 2024.09.27 |
---|---|
source ~/.bashrc 설명 (3) | 2024.09.26 |
#!/bin/bash vs #!/usr/bin/env bash (5) | 2024.09.22 |
useradd, userdel, usermod 등 명령어 설명 (4) | 2024.09.21 |
Linux 사용자 계정, sudo, su, su - 설명 (5) | 2024.09.21 |