Besonderhede van voorbeeld: -6510339934006926976

Metadata

Author: WikiMatrix

Data

English[en]
For example, the following shell script repeats the echo hello loop until interrupted: while true do echo hello done The commands can be used to ignore the success or failure of a sequence of other commands, as in the example: make ... && false Setting a user's login shell to false, in /etc/passwd, effectively denies them access to an interactive shell, but their account may still be valid for other services, such as FTP.
Korean[ko]
이를테면, 다음의 셸 스크립트는 중단시킬 때까지 echo hello 루프를 반복한다: while true do echo hello done 이 명령들은 예시에서처럼 다른 일련의 명령들의 성공 또는 실패를 무시하는데 사용할 수 있다: make ... && false /etc/passwd에서 사용자의 로그인 셸을 false로 설정하면 상호작용 셸로의 접근을 효율적으로 거부할 수 있지만 FTP 등의 다른 서비스들에 대해서는 계정이 여전히 유효하다.

History

Your action: