Day - 4

리눅스 기본 명령어

ls (list directory contents) : Windows의 dir와 같은 역할, 해당 디렉토리에 있는 파일의 목록을 나열함

 

cd (change the current directory to dir) : 디렉토리를 이동

 

pwd (print name of current/working directory) : 현재 디렉토리의 전체 경로를 출력

 

rm (remove files or directories) : 파일이나 디렉토리를 삭제

 

cp (copy files and directories) : 파일이나 디렉토리 복사

 

touch (change file timestatmps) : 크기가 0인 새 파일 생성이나, 이미 존재하는 경우 수정 시간을 변경

 

mv (move (rename) files) : 파일이나 디렉토리 이름을 변경하거나 위치 이동시 사용

 

mkdir (make directories) : 새로운 디렉토리를 생성

 

rmdir (remove empty directories) : 디렉토리를 삭제, 단 비어있어야 함

 

cat (concatenate files and print on the standard output) : 텍스트로 작성된 파일을 화면에 출력

 

head (output the first part of files) : 텍스트로 작성된 파일의 앞 10행 출력

 

tail (output the last part of files)  : 텍스트로 작성된 파일의 마지막 10행 출력

 

more (file perusal filter for crt viewing) : 텍스트로 작성된 파일을 화면에 페이지 단위로 출력

 

less (opposite of more) : more 보다 기능이 더 확장된 명령어

 

file (determine file type) : Files이 어떤 종류의 파일인지를 표시

 

clear (clear the terminal screen) : 기존 명령창을 새 창으로 

'Rocky Linux' 카테고리의 다른 글

yum repository KAKAO mirror 설정  (0) 2024.07.03
DAY - 3  (0) 2024.01.31
DAY - 2  (1) 2024.01.31
DAY - 1  (0) 2024.01.31