높고 넓은 파도

[Linux] 기초 명령어 본문

리눅스

[Linux] 기초 명령어

김파도_ 2024. 3. 15. 09:30
반응형

###지우기###

문자 지우기 : Delete or Ctrl + shift + /

단어 지우기 : Ctrl + shift + w

문장 지우기 : Ctrl + shift + u

명령의 구조 명령 [옵션] [인자…]
- 옵션 : 명령의 세부 기능 선택 가능
- 인자 : 명령으로 전달되는 , 주로 파일명이나 디렉토리명

###기초 명령어###

banner 기능 : 인자로 입력한 문자열을 글씨로 출력
형식 : banner 문자열
date 기능 : 날짜와 시각 출력

kimpado-MacBook:/ kimpado$ date
2024 3 11일 월요일 21 09 26 KST
clear 기능 : 화면을 지움
man 기능 : 명령의 사용법을 화면으로 출력
형식 : man 명령

kimpado-MacBook:/ kimpado$ man clear
NAME
       clear - clear the terminal screen


SYNOPSIS
       clear


DESCRIPTION
       clear clears your screen if this is possible, including its scrollback buffer (if the extended "E3"
       capability is defined).  clear looks in the environment for the terminal type and then in the
       terminfo database to determine how to clear the screen.


       clear ignores any command-line parameters that may be present.


SEE ALSO
       tput(1), terminfo(5)


       This describes ncurses version 5.7 (patch 20081102).


                                                                                                   clear(1)
(END)

- Space bar 키를 누르면 다음 페이지로 넘어감
- q 누르면 빠져나감
passwd 기능 : 사용자 계정의 비밀번호를 변경
형식 : passwd [인자]
- 인자는 로그인ID
- 시스템 관리자가 다른 사용자의 비밀번호를 바꿀 때 사용
728x90