WorksheetsDAY4 QUIZ
Total questions: 5
Worksheet time: 3mins
Name
Class
Date
1.
useradd command의 default user option이 왼쪽과 같을 경우, 아래의 명령어 실행시 test1 유저의 기본 로긴 Shell은?
useradd -m -d /home/test1 -c "test user" test1
a)
/usr/bin/csh
b)
/bin/sh
c)
/bin/bash
d)
/bin/ksh
2.
/etc/passwd 파일을 수정시 vi 또는 vim editor를 사용하지 않고 내용을 안전하게
변경하는 명령어는?
a)
vipw
b)
vigr
c)
vipass
d)
vi /etc/passwd
3.
다음 중 명령어 수행시 결과가 동일한 명령어는? (2개 선택)
a)
chmod 777 test.txt
b)
chmod 755 test.txt
c)
chmod u=rx,g=rwx,o=x test.txt
d)
chmod u=rwx,g=rwx,o=rwx test.txt
4.
서버의 umask가 0022일 경우, 새로운 디렉토리 생성시 퍼미션은?
a)
644
b)
755
c)
533
d)
777
5.
파일 시스템 용량이 부족하여 다른 파일 시스템에 원본을 옮기고
링크를 통해서 파일 Mapping을 하고 싶을때 사용하는 링크 방식은?
a)
hard link
b)
soft link
(symbolic link)
c)
happy link
d)
move link
100 %
