Linux
시간을 단축 시켜주는 리눅스 명령어?
하이오야이
2024. 10. 30. 13:06
- mkdir {} : 여러개의 디렉토리를 생성해주는 명령어
- mkdir -p {hello,world}/{1,2,3}
- cd - : 빠르게 이전에 위치했던 디렉토리로 이동
- 바로 이전의 디렉토리로 이동(cd .. 와 다름)
- touch with a range to create multiple files at once.
- touch log{1..10}.txt
- log1.txt, log2.txt ...
- touch log{1..10}.txt
- tail -f : 실시간으로 로그를 주적
- tail error_file.log | grep "error"
- history (num) : 최근 사용했던 명령어를 num 갯수만큼 출력
참고
5 Linux Command Tricks That Will Change Your Life as a Programmer
Boost your productivity with these powerful Linux commands for developers!
levelup.gitconnected.com